:root {
  --ink: #172033;
  --muted: #627085;
  --line: #dfe5ea;
  --paper: #ffffff;
  --soft: #f5f8f7;
  --navy: #102947;
  --teal: #0f7b72;
  --gold: #c7862d;
  --blue: #1d72b8;
  --shadow: 0 18px 44px rgba(18, 35, 54, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 229, 234, 0.78);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 196px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  padding: 10px 13px;
  color: #314158;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 4px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--teal);
  background: #edf7f5;
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #071525;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 21, 37, 0.94), rgba(7, 21, 37, 0.76) 46%, rgba(7, 21, 37, 0.16)),
    linear-gradient(0deg, rgba(7, 21, 37, 0.74), transparent 42%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(88px, 12vw, 148px) 0 clamp(52px, 8vw, 86px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-band h2 {
  max-width: 820px;
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.75rem);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #dbe8f3;
  font-size: clamp(1.04rem, 2vw, 1.26rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 750;
  text-decoration: none;
  border-radius: 4px;
}

.button.primary {
  color: #071525;
  background: #fff;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 36px));
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

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

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 1rem;
}

.trust-strip span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 116px) 0;
}

#solutions,
#about,
#why,
#contact {
  scroll-margin-top: 92px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-copy h2,
.contact-band h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.section-heading p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.solution {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution img {
  width: 100%;
  aspect-ratio: 1.52;
  object-fit: cover;
}

.solution-cctv img {
  object-position: 44% 60%;
}

.solution div {
  padding: 24px;
}

.solution-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-weight: 850;
}

.solution h3,
.why-item h3,
.about-panel h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.25;
}

.solution p,
.why-item p,
.about-panel dd,
.about-copy p,
.contact-band p {
  margin: 0;
  color: var(--muted);
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: start;
  padding: clamp(72px, 10vw, 116px) max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, #f5f8f7 0 63%, #eaf1f0 63% 100%);
}

.about-copy p {
  max-width: 760px;
  margin-top: 18px;
}

.about-panel {
  padding: 30px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-panel h3,
.about-panel dt {
  color: #fff;
}

.about-panel dl,
.about-panel dd {
  margin: 0;
}

.about-panel div {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.about-panel dt {
  margin-bottom: 5px;
  font-weight: 800;
}

.about-panel dd {
  color: #c7d4df;
}

.why {
  padding-bottom: clamp(52px, 8vw, 86px);
}

.why .section-heading {
  display: block;
  max-width: 800px;
}

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

.why-item {
  min-height: 178px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.why-item:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.why-item:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 7vw, 84px);
  align-items: center;
  padding: clamp(62px, 9vw, 96px) max(18px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 41, 71, 0.96), rgba(16, 41, 71, 0.86)),
    url("/assets/img/security-work.jpeg") center / cover;
}

.contact-band p {
  max-width: 620px;
  margin-top: 16px;
  color: #d4e1ea;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 26px;
  color: var(--ink);
  font-style: normal;
  background: #fff;
  border-radius: 8px;
}

.contact-card strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.18rem;
}

.contact-card a {
  color: var(--teal);
  font-weight: 750;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.site-footer {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 38px 18px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 150px;
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.copyright {
  font-size: 0.9rem;
}

.not-found {
  min-height: 80vh;
}

.not-found h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.06;
}

.not-found p {
  max-width: 620px;
  color: var(--muted);
}

.not-found-button {
  margin-top: 18px;
  color: #fff;
  background: var(--navy);
}

@media (max-width: 900px) {
  .about-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .solution {
    display: grid;
    grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
  }

  .solution img {
    height: 100%;
    aspect-ratio: auto;
  }

  .about-band {
    background: var(--soft);
  }

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

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 156px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 690px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(7, 21, 37, 0.96), rgba(7, 21, 37, 0.75)),
      linear-gradient(0deg, rgba(7, 21, 37, 0.8), transparent 44%);
  }

  .hero-media img {
    object-position: 62% center;
  }

  .trust-strip {
    margin-top: 0;
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

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

  .solution img {
    aspect-ratio: 1.52;
  }
}

@media (max-width: 460px) {
  .hero-inner,
  .section,
  .trust-strip {
    width: min(100% - 28px, var(--max));
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

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

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

  .about-panel,
  .contact-card,
  .why-item,
  .solution div {
    padding: 22px;
  }
}
