:root {
  color-scheme: light;
  --ink: #111318;
  --ink-soft: #2b3038;
  --muted: #667085;
  --paper: #ffffff;
  --paper-soft: #f5f6f8;
  --line: #d9dee7;
  --brand-red: #c81927;
  --brand-red-dark: #97111c;
  --brand-black: #0a0c10;
  --steel: #475569;
  --gold: #c79539;
  --shadow: 0 20px 60px rgba(11, 16, 24, 0.18);
  --max-width: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-180%);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 12, 16, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 12, 16, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.nav {
  min-height: var(--header-height);
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--paper);
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  font-weight: 850;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100svh - 34px);
  padding: calc(var(--header-height) + 70px) 20px 34px;
  display: grid;
  align-items: end;
  overflow: clip;
  color: var(--paper);
  background: var(--brand-black);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/red-black-security-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 8, 11, 0.92) 0%, rgba(10, 12, 16, 0.72) 34%, rgba(10, 12, 16, 0.18) 68%, rgba(10, 12, 16, 0.3) 100%),
    linear-gradient(0deg, rgba(6, 8, 11, 0.95) 0%, rgba(6, 8, 11, 0.16) 36%, rgba(6, 8, 11, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-bottom: 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand-red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb0b8;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--brand-red);
  color: var(--paper);
  box-shadow: 0 12px 24px rgba(200, 25, 39, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-red-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.18);
}

.button-light {
  background: var(--paper);
  color: var(--brand-black);
}

.hero-proof {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(12px);
}

.hero-proof div {
  min-width: 0;
  padding: 18px 20px;
}

.hero-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--paper);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-proof span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.section,
.section-band {
  scroll-margin-top: var(--header-height);
}

.section {
  padding: 96px 20px;
  background: var(--paper);
}

.section-band {
  padding: 78px 20px;
  background: var(--paper-soft);
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(280px, 1fr);
  gap: 44px;
  align-items: center;
}

.logo-showcase {
  width: min(100%, 310px);
  margin: 0;
  justify-self: start;
}

.logo-showcase img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(10, 12, 16, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(10, 12, 16, 0.22);
}

.intro h2,
.section-heading h2,
.why h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro p:not(.section-kicker),
.why-copy p,
.contact p,
.process-steps p,
.service-card p,
.feature-item p {
  color: var(--muted);
}

.intro-copy p:not(.section-kicker) {
  margin: 28px 0 0;
  font-size: 1.12rem;
}

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

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

.service-card {
  min-height: 274px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 26px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.05);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff0f1;
  color: var(--brand-red);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.feature-item h3,
.process-steps h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.18;
}

.service-card p {
  margin: 12px 0 0;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 58px;
  align-items: start;
}

.why-copy p {
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.feature-item > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--brand-black);
  color: var(--paper);
  font-weight: 900;
  font-size: 0.86rem;
}

.feature-item p {
  margin: 8px 0 0;
}

.process-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-steps article {
  position: relative;
  min-height: 220px;
  border-top: 3px solid var(--brand-red);
  padding: 24px 18px 0 0;
}

.process-steps span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand-red);
  font-weight: 900;
}

.process-steps p {
  margin: 10px 0 0;
}

.cta-strip {
  background: linear-gradient(90deg, var(--brand-black), #1b1d22 58%, var(--brand-red-dark));
  color: var(--paper);
  padding: 28px 20px;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-strip strong {
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.08;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.82fr);
  gap: 64px;
  align-items: start;
}

.contact p {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-points div {
  border-left: 4px solid var(--gold);
  padding-left: 16px;
}

.contact-points strong,
.contact-points span {
  display: block;
}

.contact-points strong {
  color: var(--ink);
}

.contact-points span {
  margin-top: 4px;
  color: var(--muted);
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  margin-top: 4px;
  color: var(--brand-red);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-email:hover,
.contact-email:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  text-decoration: underline;
}

.quote-form {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 26px;
  box-shadow: 0 22px 46px rgba(16, 24, 40, 0.09);
}

.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.quote-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.quote-form textarea {
  min-height: 120px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(200, 25, 39, 0.12);
}

.quote-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  min-height: 42px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note.is-success {
  color: #166534;
}

.form-note.is-error {
  color: #b42318;
}

.footer {
  background: var(--brand-black);
  color: rgba(255, 255, 255, 0.76);
  padding: 28px 20px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
  text-align: right;
}

.footer-contact {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.footer-contact a {
  color: var(--paper);
  font-weight: 800;
}

.footer .brand-logo {
  width: 64px;
  height: 64px;
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .nav {
    width: min(100% - 28px, var(--max-width));
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(10, 12, 16, 0.96);
    padding: 10px;
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px;
  }

  .hero {
    min-height: calc(100svh - 24px);
    padding: calc(var(--header-height) + 42px) 16px 24px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 8, 11, 0.95), rgba(10, 12, 16, 0.72)),
      linear-gradient(0deg, rgba(6, 8, 11, 0.96), rgba(6, 8, 11, 0.2) 58%);
  }

  .hero-content {
    padding-bottom: 24px;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section,
  .section-band {
    padding: 64px 16px;
  }

  .intro-grid,
  .service-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .logo-showcase {
    width: min(100%, 250px);
  }

  .service-card,
  .feature-item,
  .quote-form {
    padding: 22px;
  }

  .process-steps article {
    min-height: auto;
  }

  .cta-strip-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 420px) {
  .brand span:last-child {
    max-width: 150px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
