:root {
  --blue: #1f3f96;
  --blue-dark: #102047;
  --green: #07843f;
  --orange: #f2a128;
  --ink: #172033;
  --muted: #5f6878;
  --line: #dce2ec;
  --surface: #ffffff;
  --soft: #f4f7fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: min(220px, 38vw);
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.nav a {
  padding: 10px 0;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  padding: 60px clamp(20px, 6vw, 84px) 64px;
  overflow: hidden;
  color: #fff;
}

.page-hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 6vw, 84px) 64px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 32, 71, 0.94), rgba(16, 32, 71, 0.68), rgba(7, 132, 63, 0.18)),
    url("assets/fire-alarm-inspection-hero.png") center / cover no-repeat;
}

.page-hero > div {
  max-width: 850px;
}

.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 32, 71, 0.92), rgba(16, 32, 71, 0.58), rgba(7, 132, 63, 0.26)),
    url("assets/business-technology-hero.jpeg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.lead {
  margin-top: 24px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
}

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

.cred-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.cred-strip div {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  color: var(--blue-dark);
  font-weight: 900;
  border-right: 1px solid var(--line);
}

.cred-strip div:last-child {
  border-right: 0;
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 84px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
}

.section h2,
.contact h2 {
  max-width: 780px;
  color: var(--blue-dark);
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}

.section p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(16, 32, 71, 0.16);
}

.service-band,
.promise {
  background: var(--soft);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  min-height: 250px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-grid h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 1.3rem;
  line-height: 1.18;
}

.service-grid p,
.promise-grid p {
  margin: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.promise-grid p {
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 800;
}

.fire-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-grid h3 {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 1.45rem;
  line-height: 1.15;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 84px);
  color: #fff;
  background: var(--blue-dark);
}

.contact h2,
.contact p {
  color: #fff;
}

.contact .button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-cta {
    justify-self: start;
  }

  .hero {
    min-height: 600px;
    padding-top: 80px;
  }

  .cred-strip,
  .service-grid,
  .promise-grid,
  .detail-grid,
  .fire-cta,
  .split,
  .split.reverse,
  .contact {
    grid-template-columns: 1fr;
  }

  .cred-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cred-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 3rem;
  }

  .button,
  .header-cta {
    width: 100%;
  }
}
