:root {
  --blue: #1b5cb8;
  --blue-2: #3b82f6;
  --navy: #0c2340;
  --navy-2: #123056;
  --ink: #1c2430;
  --muted: #5b6573;
  --line: #d7dee8;
  --paper: #ffffff;
  --page: #f4f7fb;
  --ok: #2f6b4f;
  --warn: #8a5a12;
  --danger: #9b2c2c;
  --white: #fff;
  --shadow: 0 8px 24px rgba(12, 35, 64, .08);
  --radius: 10px;
  --max: 1180px;
  --copper: var(--blue);
  --copper-2: var(--blue-2);
  --steel: var(--blue);
  --sand: var(--page);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Source Sans 3", "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  background: var(--white);
  color: var(--ink);
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(12, 35, 64, .04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 46px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .name { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .4px; }
.brand-word .name .hx { color: var(--blue); }
.brand-word .name .connect { color: #2c3038; }
.brand-word .tag { margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); }
.nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a { color: #3a4656; font-size: 14px; font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav-cta { background: var(--blue); color: #fff !important; padding: 8px 14px; border-radius: 6px; font-weight: 700; }
.nav-cta:hover { background: var(--navy); color: #fff !important; }
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
  color: var(--ink);
  padding: 36px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: center;
}
.hero h1 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: -.4px;
}
.hero .tagline {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 14px;
}
.hero p.lead { font-size: 18px; max-width: 46ch; color: #44515f; margin: 0; }
.hero-photo { display: block; width: 100%; height: 340px; object-fit: cover; object-position: 70% 50%; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn, button.btn, input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; border-radius: 6px; padding: 11px 16px;
  font-weight: 700; font-family: inherit; font-size: 14px;
}
.btn-copper { background: var(--blue); color: #fff; }
.btn-copper:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #08182d; color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.grid-3, .grid-2, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.section { padding: 56px 0; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card h3 { margin-top: 0; font-family: Montserrat, sans-serif; font-size: 20px; }
.kicker { color: var(--blue); font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; font-size: 12px; }
.stat { font-family: Montserrat, sans-serif; font-size: 36px; color: var(--navy); margin: 0; }
.band {
  background: var(--navy);
  color: #fff;
  padding: 36px 0;
}
.band h2, .band .kicker { color: #9ec4f2; }
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.icon-item { display: flex; gap: 12px; align-items: flex-start; }
.icon-bubble {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid #4d7ab0; display: flex; align-items: center; justify-content: center;
  color: #7eb0ea;
}
.icon-item p { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .3px; line-height: 1.35; text-transform: uppercase; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-item { text-align: left; }
.value-item h3 { margin: 8px 0 6px; font-size: 15px; letter-spacing: .4px; text-transform: uppercase; }
.value-item p { margin: 0; color: var(--muted); font-size: 14px; }
.site-footer { background: var(--navy); color: #c5d0d8; padding: 36px 0 18px; margin-top: 0; }
.site-footer a { color: #e8eef3; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-cta { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-cta strong { color: #fff; font-family: Montserrat, sans-serif; }
.muted { color: var(--muted); }
.flash { padding: 12px 14px; border-radius: 8px; margin: 16px 0; }
.flash-ok { background: #e7f4ec; color: var(--ok); border: 1px solid #b7d8c4; }
.flash-err { background: #fbeaea; color: var(--danger); border: 1px solid #e3b6b6; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; font: inherit; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
.readonly {
  background: #eef2f6; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; color: #3a4148;
}
.field { margin-bottom: 14px; }
.help { font-size: 12px; color: var(--muted); margin-top: 4px; }
.fieldset {
  border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin: 0 0 18px; background: #fff;
}
legend {
  font-family: Montserrat, sans-serif; font-size: 16px; padding: 0 8px; color: var(--navy); font-weight: 700;
}
.check-row { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.check-row label { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
th { background: #eef3f9; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: #3a4656; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-open { background: #e4eef6; color: var(--blue); }
.badge-quotes { background: #e7eef8; color: var(--navy); }
.badge-awarded { background: #e7f4ec; color: var(--ok); }
.badge-closed { background: #eee; color: #555; }
.page-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin: 24px 0; flex-wrap: wrap; }
.page-head h1, h1 { margin: 0; font-family: Montserrat, sans-serif; font-size: 32px; color: var(--navy); }
.errors { background: #fbeaea; color: var(--danger); padding: 12px; border-radius: 8px; }
.auth-card { max-width: 520px; margin: 40px auto; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photos img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.lock-note { background: #eef5ff; border: 1px dashed var(--blue); padding: 16px; border-radius: 8px; }
.split { display: grid; grid-template-columns: 1.5fr .9fr; gap: 20px; }
.price { font-family: Montserrat, sans-serif; font-size: 42px; margin: 8px 0; color: var(--navy); }
.price span { font-size: 16px; color: var(--muted); }
.product-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { background: #e8eef6; color: var(--navy); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.thread { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.thread-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.msg { border-radius: 8px; padding: 10px 12px; margin: 8px 0; max-width: 90%; }
.msg-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.msg-body { white-space: pre-wrap; }
.msg-supplier { background: #eef5ff; border: 1px solid #d3e2f5; }
.msg-customer { background: #f4f7fb; border: 1px solid var(--line); margin-left: auto; }
.msg-admin { background: #fff6ea; border: 1px solid #e6d3b3; }
.msg-form { margin-top: 12px; }
.msg-form textarea { min-height: 80px; }
.nav button.btn-ghost { color: #3a4656; border-color: var(--line); }
@media (max-width: 880px) {
  .split, .footer-grid, .hero-grid, .icon-grid, .value-grid { grid-template-columns: 1fr; }
  .hero-photo { height: 220px; }
  .header-inner { flex-wrap: wrap; padding: 8px 0; }
}
