:root {
  --navy: #0B2545;
  --navy-light: #13345f;
  --orange: #FF6A13;
  --orange-dark: #E8590C;
  --bg: #F5F6F8;
  --white: #FFFFFF;
  --text: #1B1F24;
  --text-muted: #4B5563;
  --border: #E2E5EA;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(11,37,69,0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.logo-link img { height: 48px; width: auto; display: block; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

nav.main-nav a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--orange);
}

.nav-right { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(11,37,69,0.93) 0%, rgba(20,58,102,0.90) 100%),
    url("assets/images/hero-safety-team.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 88px 24px 96px;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 20px;
}

.hero p.lead {
  font-size: 18px;
  color: #D7DEE9;
  max-width: 560px;
  margin: 0 0 32px;
}

.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px;
}

.hero-stats .stat { margin-bottom: 20px; }
.hero-stats .stat:last-child { margin-bottom: 0; }
.hero-stats .stat .num { font-size: 28px; font-weight: 800; color: var(--orange); }
.hero-stats .stat .label { font-size: 14px; color: #C9D2E0; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 24px;
}
.page-hero h1 { margin: 0 0 12px; font-size: 34px; }
.page-hero p { color: #D7DEE9; max-width: 720px; margin: 0; font-size: 17px; }

/* Sections */
section { padding: 72px 24px; }
section.alt { background: var(--bg); }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 30px; margin: 0 0 14px; color: var(--navy); }
.section-head p { color: var(--text-muted); font-size: 17px; margin: 0; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 10px;
}

/* Card grids */
.grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: rgba(255,106,19,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--orange-dark);
}

.card h3 { margin: 0 0 10px; font-size: 19px; color: var(--navy); }
.card p { margin: 0 0 14px; color: var(--text-muted); font-size: 15px; }
.card a.learn { font-weight: 700; color: var(--orange-dark); font-size: 14px; }

/* Steps */
.steps {
  max-width: 900px;
  margin: 0 auto;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.step h3 { margin: 4px 0 8px; color: var(--navy); font-size: 18px; }
.step p { margin: 0; color: var(--text-muted); }

/* Service detail blocks */
.service-block {
  max-width: 1160px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block h2 { color: var(--navy); font-size: 24px; margin: 0 0 14px; }
.service-block .meta {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.service-block .meta h4 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange-dark);
}
.service-block .meta p { margin: 0 0 18px; font-size: 15px; color: var(--text-muted); }
.service-block .meta p:last-child { margin-bottom: 0; }

/* Pricing */
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--orange); position: relative; }
.price-card.featured::before {
  content: "MOST REQUESTED";
  position: absolute;
  top: -13px; left: 24px;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
}
.price-card h3 { color: var(--navy); font-size: 20px; margin: 4px 0 6px; }
.price-card .price { font-size: 15px; color: var(--orange-dark); font-weight: 700; margin-bottom: 16px; }
.price-card ul { padding-left: 18px; margin: 0 0 24px; color: var(--text-muted); font-size: 14.5px; }
.price-card ul li { margin-bottom: 8px; }
.price-card .btn { margin-top: auto; text-align: center; }

/* Professional profile card */
.pro-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}
.pro-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 3px solid var(--bg);
}
.pro-card h3 { margin: 0 0 2px; color: var(--navy); font-size: 21px; }
.pro-card .role { color: var(--orange-dark); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.pro-card .creds { color: var(--text-muted); font-size: 13.5px; margin-bottom: 14px; }
.pro-card p { color: var(--text-muted); font-size: 15px; margin: 0 0 10px; }
.pro-card .linkedin-link { font-weight: 700; font-size: 14px; color: var(--navy); }

.avatar-initials {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: 1px;
  border: 3px solid var(--bg);
}

@media (max-width: 600px) {
  .pro-card { flex-direction: column; align-items: center; text-align: center; }
}

/* FAQ */
.faq-item { max-width: 820px; margin: 0 auto 18px; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; }
.faq-item h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; }
.faq-item p { margin: 0; color: var(--text-muted); }

/* Industries */
.industry-card { text-align: left; padding: 0 0 30px; overflow: hidden; }
.industry-card ul { padding-left: 18px; margin: 12px 0 0; color: var(--text-muted); font-size: 14.5px; }
.industry-card ul li { margin-bottom: 6px; }
.industry-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}
.industry-card h3, .industry-card p, .industry-card ul { padding-left: 30px; padding-right: 30px; }

/* Section photo (about / case study) */
.section-photo {
  width: 100%;
  max-width: 720px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto 36px;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { font-size: 28px; margin: 0 0 14px; }
.cta-band p { color: #D7DEE9; max-width: 560px; margin: 0 auto 28px; }

/* Forms */
form.lead-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
}
textarea { resize: vertical; min-height: 120px; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-grid label { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); font-size: 14.5px; }
.checkbox-grid input { width: auto; }

/* Footer */
footer.site-footer {
  background: #0A1E3A;
  color: #B9C4D6;
  padding: 56px 24px 28px;
}
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; font-size: 14.5px; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1160px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #7E8CA3;
  flex-wrap: wrap;
  gap: 10px;
}

/* Collapse to the hamburger menu earlier so the nav never crowds the logo and CTA button */
@media (max-width: 1080px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  body.nav-open nav.main-nav {
    display: block;
    position: absolute;
    top: 73px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  body.nav-open nav.main-nav ul { flex-direction: column; padding: 16px 24px; gap: 16px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
}
