/* EMPW Minerals — clean LKAB-inspired layout, export-oriented (blue theme) */
:root{
  --bg:#ffffff;
  --panel:#f6f8fc;
  --card:#ffffff;
  --text:#101828;
  --muted:#475467;
  --line:rgba(16,24,40,.12);

  --blue:#0B3D91;        /* primary */
  --blue2:#1F6FEB;       /* accent */
  --blueSoft:#EEF4FF;    /* soft background */

  --shadow: 0 14px 36px rgba(16,24,40,.10);
  --radius:18px;
  --max:1120px;
}

:root[data-theme="dark"]{
  --bg:#0b1020;
  --panel:#111a2e;
  --card:#0f172a;
  --text:#f4f6fb;
  --muted:#a9b0c2;
  --line:rgba(255,255,255,.10);

  --blue:#3b82f6;
  --blue2:#60a5fa;
  --blueSoft:#0b1b36;

  --shadow: 0 14px 36px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding: 0 18px}
.page{padding: 20px 0 54px}

.site-header{
  position:sticky; top:0; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  border-bottom:1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
}

.brand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px}
.brand-logo{width:34px; height:34px; border-radius:10px; box-shadow: var(--shadow); object-fit:cover}
.brand-text{font-size:16px}

.nav{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.nav a{opacity:.9; padding:8px 10px; border-radius:999px}
.nav a:hover{opacity:1; background: color-mix(in srgb, var(--panel) 80%, transparent)}
.nav a.active{opacity:1; background: color-mix(in srgb, var(--panel) 90%, transparent)}
.nav-cta{
  background: var(--blue);
  color:#fff !important;
  opacity:1 !important;
}
.nav-cta:hover{background: color-mix(in srgb, var(--blue) 86%, #000)}

.toggle{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--line);
  background:var(--panel);
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
}
.toggle-dot{
  width:18px;height:18px;border-radius:999px;
  border:1px solid var(--line);
  background: color-mix(in srgb, var(--blue2) 60%, transparent);
}
.toggle-label{font-size:13px; color:var(--muted)}

.hero{
  border-bottom:1px solid var(--line);
  padding: 44px 0;
  background: radial-gradient(1200px 420px at 20% 10%, color-mix(in srgb, var(--blueSoft) 80%, transparent), transparent);
}
.hero-inner{display:grid; grid-template-columns: 1.25fr .75fr; gap:18px; align-items:stretch}
.kicker{display:inline-block; font-weight:700; font-size:12px; color:var(--blue); background: color-mix(in srgb, var(--blueSoft) 86%, transparent); padding:6px 10px; border-radius:999px; border:1px solid var(--line); margin-bottom:10px}
h1{font-size: clamp(30px, 4vw, 48px); margin:0 0 10px}
.lead{max-width: 820px; color:var(--muted); font-size: 18px; margin:0 0 16px}

.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--text);
  box-shadow: var(--shadow);
}
.btn.primary{
  background:var(--blue);
  color:#fff;
  border-color: transparent;
}
.btn.white{
  background:#fff;
  color:#0b1020;
  border-color: transparent;
}
.btn.outline-white{
  background: transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:none;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}

.hero-metrics{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:20px}
.metric{background:var(--card); border:1px solid var(--line); border-radius: var(--radius); padding:14px; box-shadow: var(--shadow)}
.metric-value{font-weight:900}
.metric-label{color:var(--muted); font-size:12px}

.hero-panel{display:flex}
.panel-card{background:var(--card); border:1px solid var(--line); border-radius: var(--radius); padding:18px; box-shadow: var(--shadow); width:100%}
.panel-card h3{margin:0 0 10px}
.link{font-weight:800; color:var(--blue); text-decoration: underline; text-underline-offset: 6px}

.section{padding: 36px 0}
.section-soft{background: var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section-blue{background: var(--blue); color:#fff}

.section-head{margin-bottom:16px}
.section-head h2, .section-head h1{margin:0 0 8px}
.section-head p{margin:0; color:var(--muted)}
.section-blue .section-head p{color: rgba(255,255,255,.85)}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}
.grid5{display:grid; grid-template-columns: repeat(5, 1fr); gap:12px}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.card h3{margin:0 0 8px}
.muted{color:var(--muted)}
.bullets{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.tag-row{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}

.tiles{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.tile{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile:hover{transform: translateY(-2px)}
.tile-title{font-weight:900; margin-bottom:6px}
.tile-text{color:var(--muted)}
.tile-cta{margin-top:12px; font-weight:900; color:var(--blue)}

.icon-card{
  display:flex; gap:12px; align-items:center;
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
}
.icon-dot{
  width:14px; height:14px; border-radius:999px;
  background: var(--blue2);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--blueSoft) 70%, transparent);
}

.center-row{display:flex; justify-content:center; margin-top:16px}

.cta-band{
  display:flex; justify-content:space-between; gap:18px; align-items:center;
  padding: 26px 0;
}
.cta-title{margin:0 0 8px}
.cta-text{margin:0; color: rgba(255,255,255,.88); max-width: 760px}
.cta-actions{display:flex; gap:12px; flex-wrap:wrap}

.filters{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap:12px;
  margin: 18px 0;
}
.filter label{display:block; font-size:12px; color:var(--muted); margin-bottom:6px}
.filter input, .filter select{
  width:100%;
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--text);
}

.product-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.product-card h3{margin:0 0 6px}
.product-card p{margin:0 0 10px; color:var(--muted)}
.card-actions{display:flex; gap:10px; margin-top:14px; align-items:center}

.form label{display:block; font-size:12px; color:var(--muted); margin-bottom:10px}
.form input, .form textarea{
  width:100%;
  margin-top:6px;
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--text);
}
.sep{border:none; border-top:1px solid var(--line); margin:14px 0}
.contact-block{display:grid; gap:8px}
.fineprint{margin:10px 0 0; color:var(--muted); font-size:12px}

.footer{
  border-top:1px solid var(--line);
  padding: 20px 0;
}
.footer-grid{display:grid; grid-template-columns: 1.25fr .75fr 1fr; gap:14px; align-items:start}
.footer-brand{display:flex; gap:12px; align-items:flex-start}
.footer-logo{width:44px; height:44px; border-radius:12px; box-shadow: var(--shadow); object-fit:cover}
.footer-name{font-weight:900}
.footer-title{font-weight:900; margin-bottom:8px}
.footer-links{display:grid; gap:8px}
.footer-links a{color:var(--muted)}
.footer-links a:hover{color:var(--text)}
.footer-bottom{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--muted); margin-top:14px}

@media (max-width: 980px){
  .hero-inner{grid-template-columns: 1fr}
  .grid5{grid-template-columns: 1fr 1fr}
  .tiles{grid-template-columns: 1fr}
  .product-grid{grid-template-columns: 1fr 1fr}
  .footer-grid{grid-template-columns: 1fr}
  .cta-band{flex-direction:column; align-items:flex-start}
}
@media (max-width: 680px){
  .grid2, .grid3{grid-template-columns: 1fr}
  .product-grid{grid-template-columns: 1fr}
  .filters{grid-template-columns: 1fr}
  .hero-metrics{grid-template-columns: 1fr}
}
