/* Quality Management Services - site styles.
   Brand blue #00378C is sampled from the QMS logo (same value as the Lean kit). */
:root {
  --blue: #00378C;
  --blue-dark: #00286A;
  --ink: #1F2430;
  --muted: #5B6472;
  --rule: #D6DCE6;
  --tint: #EEF3FB;
  --stripe: #F7F9FD;
  --white: #FFFFFF;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 99; }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 22px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.site-header { border-bottom: 3px solid var(--blue); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; padding: 8px 12px; border-radius: 3px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--tint); }
.nav a.btn { color: #fff; background: var(--blue); }
.nav a.btn:hover { background: var(--blue-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 2px solid var(--blue); color: var(--blue); font-weight: 700;
  padding: 6px 12px; border-radius: 3px; font-size: 15px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700;
  padding: 13px 24px; border-radius: 3px; border: 2px solid var(--blue); cursor: pointer; font-size: 16px; line-height: 1.2; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--tint); color: var(--blue-dark); }
.btn.light { background: #fff; color: var(--blue); border-color: #fff; }
.btn.light:hover { background: var(--tint); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- type ---------- */
h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 14px; }
h1 { font-size: 44px; letter-spacing: -0.6px; }
h2 { font-size: 32px; letter-spacing: -0.3px; }
h3 { font-size: 21px; color: var(--blue); }
p { margin: 0 0 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.lead { font-size: 20px; color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
.tint { background: var(--tint); }
.stripe { background: var(--stripe); }
.dark { background: var(--blue); color: #fff; }
.dark h2, .dark h3, .dark p { color: #fff; }
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.hero img { border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 40, 106, 0.18); }
.page-head { padding: 48px 0 40px; background: var(--tint); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: 40px; }

.cred-strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 18px 0; background: #fff; }
.cred-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.cred-strip li { font-weight: 700; color: var(--blue); font-size: 15px; }
.cred-strip li:before { content: "\2713"; margin-right: 7px; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--blue); border-radius: 4px; padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 700; text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.top { align-items: start; }

ul.check { list-style: none; padding: 0; margin: 0 0 14px; }
ul.check li { padding-left: 28px; position: relative; margin-bottom: 8px; }
ul.check li:before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 800; }
.dark ul.check li:before { color: #fff; }

.callout { background: #fff; border-left: 5px solid var(--blue); padding: 20px 24px; border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 54px; }
.steps li:before { content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ---------- services ---------- */
.service { padding: 40px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 100px; }
.service:last-child { border-bottom: 0; }
.service .split { align-items: start; }

/* ---------- products ---------- */
.product { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.product img { border: 1px solid var(--rule); border-radius: 3px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.price { font-size: 34px; font-weight: 800; color: var(--blue); margin: 6px 0 4px; }
.soon { border: 2px dashed var(--rule); border-radius: 4px; padding: 22px; background: #fff; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  background: var(--tint); color: var(--blue); padding: 3px 8px; border-radius: 2px; margin-bottom: 10px; }

/* ---------- forms ---------- */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: 15px; margin: 0 0 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #AEB7C5;
  border-radius: 3px; background: #fff; color: var(--ink); margin-bottom: 16px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0,55,140,0.25); border-color: var(--blue); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 28px; box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.guide-box { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.guide-box img { border: 1px solid var(--rule); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.guide-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: start; }
.guide-form input { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D5DAE3; padding: 48px 0 24px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 3px; margin-bottom: 14px; }
.footer-logo img { height: 40px; width: auto; }
.legal { border-top: 1px solid #3A4150; margin-top: 32px; padding-top: 18px; font-size: 13px; color: #A9B1BF; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  h1 { font-size: 34px; } h2 { font-size: 27px; } .page-head h1 { font-size: 32px; }
  .hero .wrap, .split, .product, .guide-box { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column;
    align-items: stretch; padding: 10px 22px 18px; border-bottom: 3px solid var(--blue); }
  .nav.open { display: flex; }
  .site-header .wrap { position: relative; }
  .guide-box img { max-width: 220px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 44px 0; }
  .g2, .g3, .g4, form .row, .guide-form { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; gap: 16px; font-size: 13px; }
  .brand img { height: 42px; }
}
