/* ============================================================
   Sabercat Safety — Global Styles
   Palette: deep slate + safety amber accent
   ============================================================ */

:root {
  --navy: #0f1b2d;
  --navy-2: #16273f;
  --slate: #1f2d44;
  --amber: #f5a623;
  --amber-dark: #d8890c;
  --ink: #16202e;
  --muted: #5d6b7d;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 27, 45, 0.14);
  --max: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  line-height: 1.18;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.22rem; }

p { color: var(--muted); }

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

.section { padding: 86px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 14px;
}

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.06rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 8px 20px rgba(245, 166, 35, 0.32); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-outline { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--amber); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--white); font-size: 1.18rem; letter-spacing: -0.02em; }
.brand .logo { width: 38px; height: 38px; display: block; }
.brand span small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; color: var(--amber); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.10); }
.nav-links a.active { color: var(--amber); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(245, 166, 35, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--slate) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 500px at 75% 0%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 96px 24px 104px; max-width: 720px; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--amber); }
.hero-lead { color: rgba(255, 255, 255, 0.82); font-size: 1.16rem; margin: 22px 0 34px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 46px; flex-wrap: wrap; }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge strong { font-size: 1.7rem; color: var(--amber); font-weight: 800; }
.hero-badge span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.72); }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(245, 166, 35, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--slate) 100%);
  color: var(--white);
  padding: 76px 0 64px;
}
.page-banner h1 { color: var(--white); }
.page-banner p { color: rgba(255, 255, 255, 0.8); margin-top: 12px; max-width: 620px; font-size: 1.05rem; }
.crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.crumbs a:hover { color: var(--amber); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.14);
  color: var(--amber-dark);
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.96rem; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.stat-panel {
  background: linear-gradient(160deg, var(--navy), var(--slate));
  border-radius: 18px;
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.stat-panel h3 { color: var(--white); margin-bottom: 22px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-row .num { font-size: 2.1rem; font-weight: 800; color: var(--amber); }
.stat-row span { font-size: 0.88rem; color: rgba(255,255,255,0.74); }

.check-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); font-weight: 500; }
.check-list li::before {
  content: "✓";
  flex: none;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.16);
  color: var(--amber-dark);
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 3px;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 16px; }
.step .step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--amber);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 120%, rgba(245, 166, 35, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--slate));
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 540px; margin: 14px auto 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item .icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(245, 166, 35, 0.14);
  color: var(--amber-dark);
}
.info-item h4 { color: var(--navy); margin-bottom: 2px; font-size: 1rem; }
.info-item p, .info-item a { color: var(--muted); font-size: 0.96rem; }
.info-item a:hover { color: var(--amber-dark); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  background: rgba(34, 160, 94, 0.1);
  border: 1px solid rgba(34, 160, 94, 0.35);
  color: #1c7a48;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.form-error {
  display: none;
  background: rgba(200, 45, 45, 0.08);
  border: 1px solid rgba(200, 45, 45, 0.35);
  color: #b02a2a;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.form-error a { text-decoration: underline; }

/* ---------- Values / About ---------- */
.value { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.value .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(15, 27, 45, 0.06); color: var(--navy); margin-bottom: 16px;
}
.value h3 { margin-bottom: 6px; font-size: 1.08rem; }
.value p { font-size: 0.94rem; }

.lead-text { font-size: 1.12rem; color: var(--slate); }

/* ---------- Logo strip ---------- */
.coverage {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px;
}
.pill {
  font-size: 0.85rem; font-weight: 600; color: var(--slate);
  background: var(--white); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 30px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand span small { color: var(--amber); }
.footer-about { font-size: 0.94rem; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 24px 22px;
    gap: 4px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
