:root {
  --ink: #172033;
  --muted: #5f6c7d;
  --navy: #10233f;
  --navy-2: #18375f;
  --red: #c63d32;
  --amber: #e7b755;
  --green: #2f7d68;
  --paper: #f7f4ef;
  --mist: #eef3f5;
  --white: #ffffff;
  --line: #d8e0e6;
  --shadow: 0 18px 45px rgba(16, 35, 63, 0.14);
  --radius: 8px;
  --shell: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.sr-only {
  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 {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 35, 63, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: var(--shell);
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.15;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 4px;
}

.brand span {
  max-width: 210px;
}

.brand strong {
  display: block;
  font-weight: 500;
  color: #dce7f1;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: #e8eef5;
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.nav-toggle__bar::before {
  transform: translateY(-7px);
}

.nav-toggle__bar::after {
  transform: translateY(5px);
}

.hero,
.page-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  color: var(--white);
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(8, 18, 33, 0.88), rgba(8, 18, 33, 0.56), rgba(8, 18, 33, 0.22));
}

.hero-home {
  background-image: url("images/HeroBanner2.jpeg");
}

.page-hero {
  min-height: 420px;
}

.page-hero--about {
  background-image: url("images/guards.jpg");
}

.page-hero--contact {
  background-image: url("images/security.jpg");
}

.hero__content,
.page-hero .section-shell {
  max-width: 760px;
  margin-left: max(16px, calc((100vw - 1120px) / 2));
}

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

.hero .eyebrow,
.page-hero .eyebrow,
.contact-band .eyebrow,
.cta-section .eyebrow,
.site-footer .eyebrow {
  color: var(--amber);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.hero__lead,
.page-hero p {
  max-width: 680px;
  margin: 20px 0 0;
  color: #eef5fb;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  text-align: center;
}

.button--primary {
  background: var(--red);
  color: var(--white);
}

.button--primary:hover {
  background: #a92f28;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.trust-strip {
  background: var(--navy);
  color: var(--white);
  padding: 22px 0;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-strip__grid div {
  border-left: 3px solid var(--amber);
  padding-left: 16px;
}

.trust-strip strong {
  display: block;
  font-size: 1.4rem;
}

.trust-strip span {
  color: #c7d5e3;
  font-size: 0.92rem;
}

.section {
  padding: 88px 0;
}

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

.section--split {
  background: var(--paper);
}

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

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card p {
  margin: 12px 0 18px;
  color: var(--muted);
}

.service-card a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.service-card a:hover {
  text-decoration: underline;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.split-layout--reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
}

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

.check-list li::before {
  position: absolute;
  top: 0.5em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 3px solid var(--green);
  border-left: 3px solid var(--green);
  content: "";
  transform: rotate(-45deg);
}

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

.feature-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(198, 61, 50, 0.12);
  color: var(--red);
  font-weight: 800;
}

.feature-grid p {
  color: var(--muted);
}

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

.credential-list p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.logo-row img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.testimonial-frame {
  position: relative;
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.testimonial-slide {
  display: none;
  padding: 42px;
}

.testimonial-slide.is-active {
  display: block;
}

.testimonial-slide p {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.35;
}

.testimonial-slide span {
  color: var(--amber);
  font-weight: 800;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.icon-button {
  min-width: 76px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-weight: 700;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
}

.carousel-dots button.is-active {
  background: var(--amber);
}

.contact-band,
.cta-section {
  background: var(--navy);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.contact-layout p {
  color: #d5e1eb;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-links a,
.contact-links span {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.contact-links a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form--light {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: inherit;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 12px 14px;
}

.contact-form--light input,
.contact-form--light select,
.contact-form--light textarea {
  border-color: var(--line);
  background: #fbfcfd;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--amber);
  font-weight: 700;
}

.contact-form--light .form-status {
  color: var(--red);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-page {
  background: var(--paper);
}

.contact-panel {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.contact-links--large {
  gap: 14px;
  margin-top: 24px;
}

.hours-box {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-box p {
  margin-bottom: 0;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 35, 63, 0.08);
}

.service-detail img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-detail p {
  margin: 10px 0 0;
  color: var(--muted);
}

.clients-section {
  background: var(--mist);
}

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

.client-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.client-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.client-grid h3 {
  padding: 16px;
  font-size: 1rem;
}

.cta-section {
  padding: 56px 0;
}

.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-section h2 {
  color: var(--white);
}

.site-footer {
  background: #0a1628;
  color: var(--white);
  padding: 48px 0 22px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(160px, 0.5fr) minmax(220px, 0.7fr);
  gap: 32px;
}

.brand--footer img {
  width: 48px;
  height: 48px;
}

.site-footer p,
.site-footer a {
  color: #cbd7e3;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a {
  display: table;
  margin-bottom: 8px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.copyright {
  width: var(--shell);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 76px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .page-hero {
    min-height: 560px;
  }

  .page-hero {
    min-height: 360px;
  }

  .trust-strip__grid,
  .feature-grid,
  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--three,
  .split-layout,
  .contact-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .split-layout--reverse .split-media {
    order: initial;
  }

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

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 24px, 1120px);
  }

  .brand span {
    max-width: 160px;
    font-size: 0.92rem;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .hero,
  .page-hero {
    min-height: 520px;
  }

  .hero__content,
  .page-hero .section-shell {
    margin-inline: auto;
  }

  .hero::before,
  .page-hero::before {
    background: rgba(8, 18, 33, 0.78);
  }

  .button-row,
  .cta-section__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .trust-strip__grid,
  .feature-grid,
  .credential-list,
  .logo-row,
  .form-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .split-media img {
    min-height: 280px;
  }

  .testimonial-slide {
    padding: 28px;
  }

  .carousel-controls {
    justify-content: space-between;
  }

  .contact-form,
  .contact-panel {
    padding: 22px;
  }

  .map-frame iframe {
    height: 360px;
  }
}
