/* ==========================================================================
   369 Safety — shared stylesheet
   Palette: Navy (trust/authority) + Safety Orange (industry, alert, action)
   Replace the CSS variables below to update brand colors sitewide.
   ========================================================================== */

:root {
  --navy-900: #0b2340;
  --navy-800: #0f2e54;
  --navy-700: #16406f;
  --navy-100: #e8eef5;
  --orange-600: #e35205;
  --orange-500: #f2691a;
  --orange-100: #fdece0;
  --gray-900: #1b1f24;
  --gray-700: #4a5460;
  --gray-500: #7c8794;
  --gray-200: #e4e8ec;
  --gray-100: #f4f6f8;
  --white: #ffffff;
  --success: #1e7d3c;
  --max-width: 1180px;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(11, 35, 64, 0.08);
  --shadow-md: 0 6px 24px rgba(11, 35, 64, 0.12);
  --font-body: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--orange-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--gray-700); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange-600);
  margin-bottom: 10px;
}

.section {
  padding: 72px 0;
}

.section--muted {
  background: var(--gray-100);
}

.section--navy {
  background: var(--navy-900);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy p {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--orange-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--orange-500);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn--outline-navy {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn--outline-navy:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn--block {
  width: 100%;
  text-align: center;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-900);
  text-decoration: none;
}

.nav__brand:hover {
  text-decoration: none;
}

.nav__brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav__brand .mark span {
  color: var(--orange-500);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav__links a:hover {
  color: var(--orange-600);
  text-decoration: none;
}

.nav__links a.is-active {
  color: var(--orange-600);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy-900);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(242, 105, 26, 0.35) 0%, rgba(242, 105, 26, 0) 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--navy-100);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--gray-900);
  box-shadow: var(--shadow-md);
}

.hero-card h3 {
  margin-bottom: 20px;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--gray-700);
}

.hero-card li:last-child {
  border-bottom: none;
}

.hero-card li .check {
  color: var(--success);
  font-weight: 800;
}

/* ---------- Page header (sub-pages) ---------- */

.page-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 64px 0 56px;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--navy-100);
  max-width: 640px;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--navy-100);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--navy-100);
  text-decoration: underline;
}

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 10px;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--gray-700);
  font-size: 0.92rem;
}

.card ul li {
  margin-bottom: 6px;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Stats / rate strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat h3 {
  font-size: 2.1rem;
  color: var(--orange-500);
  margin-bottom: 6px;
}

.stat p {
  color: var(--navy-100);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Process / steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ---------- Callout / CTA ---------- */

.callout {
  background: var(--orange-100);
  border: 1px solid rgba(227, 82, 5, 0.25);
  border-radius: var(--radius);
  padding: 32px;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
  margin: 0;
}

.cta-band p {
  color: var(--navy-100);
  margin-top: 6px;
}

/* ---------- Notice / placeholder banner ---------- */

.notice {
  background: #fff8e6;
  border: 1px solid #f2c94c;
  color: #7a5c00;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.notice strong {
  color: #5c4400;
}

/* ---------- Forms ---------- */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--gray-900);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(242, 105, 26, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- Contact info blocks ---------- */

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}

.info-list .label {
  font-weight: 700;
  color: var(--navy-900);
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: var(--navy-100);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: var(--navy-100);
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--orange-500);
}

.footer-brand p {
  color: var(--navy-100);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid--3, .grid--4, .grid--2 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav__links,
  .nav__cta .btn {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .site-header.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
