/* National Security Industries — site stylesheet */

:root {
  --navy: #164469;
  --navy-dark: #0d2a42;
  --navy-deep: #0a2236;
  --blue: #2e6c95;
  --sky: #2396d7;
  --sky-soft: #e8f4fb;
  --text: #1a3348;
  --muted: #4a6578;
  --line: #d5e2ec;
  --bg: #f4f7fa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(13, 42, 66, 0.12);
  --shadow-lg: 0 24px 50px rgba(13, 42, 66, 0.18);
  --radius: 12px;
  --header-h: 76px;
  --font: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --display: Montserrat, "Segoe UI", sans-serif;
  --readable: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  --space: 1;
  --fs: 1;
  --focus: 3px solid #f5c518;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(100% * var(--fs));
}

html.a11y-no-motion,
html.a11y-no-motion * {
  scroll-behavior: auto !important;
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: calc(1.6 * var(--space));
  letter-spacing: 0.01em;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--navy); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10050;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
}

.skip-link:focus { top: 0; color: #fff; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-link img {
  height: 46px;
  width: auto;
}

.logo-word {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.logo-word span {
  display: block;
  font-weight: 600;
  font-size: 0.62rem;
  color: var(--blue);
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

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

.primary-nav a {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  padding: 10px 11px;
  border-radius: 6px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--sky-soft);
  color: var(--navy);
}

.call-chip {
  margin-left: 8px;
  background: var(--blue) !important;
  color: #fff !important;
  padding: 10px 14px !important;
}

.call-chip:hover { background: var(--navy) !important; }

.nav-backdrop {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy-dark) url("../images/home/nsi-guarding-entrance-ii.jpg") center/cover no-repeat;
}

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

.hero-media iframe,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-media iframe,
.hero-media video {
  transform: scale(1.12);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 34, 54, 0.88) 0%, rgba(10, 34, 54, 0.55) 52%, rgba(10, 34, 54, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 34, 54, 0.2), rgba(10, 34, 54, 0.55));
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 88px 0 72px;
}

.hero-copy {
  text-align: left;
}

.hero-copy .shield {
  width: 132px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-cities {
  display: inline-block;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding: 8px 0;
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero p {
  margin: 0 0 24px;
  font-size: 1.08rem;
  max-width: 36rem;
  color: #e9f2f8;
}

.hero-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.18);
}

.hero-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 13px 22px;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--navy);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Service dropdown bar */
.service-bar {
  position: relative;
  z-index: 800;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 42, 66, 0.2);
}

.service-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.service-bar-label {
  margin: 0;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-trigger {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
}

.service-trigger:hover,
.service-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.14);
}

.chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.service-trigger[aria-expanded="true"] .chevron {
  transform: rotate(-135deg);
  margin-top: 6px;
}

.service-panel {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% - 1px);
  width: min(var(--max), calc(100% - 32px));
  background: #fff;
  color: var(--text);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 0;
}

.service-panel.open { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.service-group h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 2px solid var(--sky-soft);
  padding-bottom: 8px;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  max-height: 340px;
  overflow: auto;
}

.service-list button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
}

.service-list button:hover,
.service-list button:focus-visible {
  background: var(--sky-soft);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-tight { padding: 48px 0; }

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 800;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48rem;
}

.center { text-align: center; }
.center .lead { margin-inline: auto; }

.about-grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.about-copy p { margin: 0 0 14px; }
.kicker {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 6px;
}

.about-photos {
  display: grid;
  gap: 12px;
}

.about-photos img,
.card-media img,
.industry-card img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.about-photos img { height: 170px; }

.banner {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 280px;
  margin-bottom: 28px;
}

.team-card,
.why-card,
.feature-card,
.industry-card,
.quote-card,
.location-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-card {
  padding: 22px;
  margin: 22px 0 28px;
}

.team-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: var(--display);
}

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

.why-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.why-card .pad,
.feature-card,
.quote-card,
.location-card { padding: 18px; }

.feature-card h3,
.why-card h3,
.industry-card h3,
.location-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.05rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  cursor: pointer;
  color: var(--text);
  font: inherit;
}

.service-item:last-child { border-bottom: 0; }

.service-item:hover { color: var(--blue); }

.check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--sky);
}

.industries { display: grid; gap: 22px; }

.industry-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.industry-card:nth-child(even) .industry-copy { order: 2; }

.industry-card img {
  height: 100%;
  min-height: 220px;
  border-radius: 0;
}

.industry-copy { padding: 28px; }

.quotes {
  margin-top: 8px;
  grid-template-columns: repeat(2, 1fr);
}

.quote-card {
  background: var(--navy);
  color: #fff;
  border: 0;
}

.quote-card p { margin: 0 0 16px; font-size: 1.02rem; }
.quote-card cite {
  font-style: normal;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fd4f0;
}

.locations { display: grid; gap: 14px; }

.location-card button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  padding: 0;
}

.location-card .map {
  display: none;
  margin-top: 14px;
  border-radius: 8px;
  overflow: hidden;
}

.location-card.open .map { display: block; }

.location-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.location-card p { margin: 0; color: var(--muted); }

@media (max-width: 800px) {
  .why-grid,
  .service-cards { grid-template-columns: 1fr; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-grid iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }

.contact-form-wrap { padding: 32px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group { margin-bottom: 12px; }

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: var(--focus);
  border-color: var(--sky);
}

.form-status {
  min-height: 1.4em;
  font-weight: 600;
  margin-top: 10px;
}

.form-status.ok { color: #0d7a45; }
.form-status.err { color: #b42318; }

.hp { position: absolute; left: -9999px; }

.site-footer {
  background: var(--navy-dark);
  color: #d5e6f2;
  padding: 36px 0 110px;
  text-align: center;
}

.site-footer img {
  margin: 0 auto 16px;
  max-width: min(420px, 90%);
}

.site-footer p { margin: 4px 0; font-size: 0.92rem; }
.site-footer a { color: #fff; }

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 18px;
}

.breadcrumbs a { color: var(--muted); }

.area-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}

.area-chips li {
  background: var(--sky-soft);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-list details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--display);
}

.faq-list details p { margin: 10px 0 0; }

.sister-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin: 0 0 16px !important;
}

.sister-nav a {
  color: #9fd4f0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-family: var(--display);
  text-decoration: none;
}

.sister-nav a:hover { color: #fff; }

/* Dialog */
.dialog-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 36, 0.72);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dialog-overlay.open { display: flex; }

.dialog-box {
  background: #fff;
  width: min(640px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 0 0 20px;
}

.dialog-box img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.dialog-body { padding: 20px 22px 0; }

.dialog-box h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.dialog-box audio { width: 100%; margin: 8px 0 16px; }

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.dialog-actions .btn-light {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}

.dialog-actions .btn-light:hover {
  background: var(--navy);
  color: #fff;
}

/* Cookie bar */
.cookie-bar {
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 3000;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  width: min(920px, calc(100% - 32px));
}

.cookie-bar.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-bar p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.cookie-bar strong { color: var(--navy); }

/* Accessibility widget */
.a11y-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 3100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 42, 66, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.a11y-fab:hover { background: var(--blue); }

.a11y-panel {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 3100;
  width: min(340px, calc(100vw - 24px));
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.a11y-panel.open { display: block; }

.a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--navy);
  color: #fff;
}

.a11y-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.a11y-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.a11y-list { padding: 8px; }

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 11px 10px;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  text-align: left;
}

.a11y-row:hover { background: var(--sky-soft); }

.a11y-row span { font-weight: 600; }

.switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #c9d6e0;
  position: relative;
  flex-shrink: 0;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
}

.a11y-row[aria-pressed="true"] .switch {
  background: var(--blue);
}

.a11y-row[aria-pressed="true"] .switch::after {
  transform: translateX(18px);
}

.a11y-reset {
  margin: 4px 8px 12px;
  width: calc(100% - 16px);
  background: var(--sky-soft);
  color: var(--navy);
}

/* Accessibility modes */
html.a11y-contrast {
  --navy: #000;
  --navy-dark: #000;
  --blue: #ffff00;
  --sky: #ffff00;
  --text: #fff;
  --muted: #fff;
  --bg: #000;
  --white: #000;
  --line: #ffff00;
  --sky-soft: #222;
  --focus: 3px solid #00ffff;
}

html.a11y-contrast body,
html.a11y-contrast .site-header,
html.a11y-contrast .team-card,
html.a11y-contrast .why-card,
html.a11y-contrast .feature-card,
html.a11y-contrast .industry-card,
html.a11y-contrast .location-card,
html.a11y-contrast .contact-grid,
html.a11y-contrast .dialog-box,
html.a11y-contrast .cookie-bar,
html.a11y-contrast .a11y-panel,
html.a11y-contrast .service-panel {
  background: #000 !important;
  color: #fff !important;
  border-color: #ffff00 !important;
}

html.a11y-contrast a,
html.a11y-contrast h1,
html.a11y-contrast h2,
html.a11y-contrast h3,
html.a11y-contrast .btn {
  color: #ffff00 !important;
}

html.a11y-contrast .btn {
  background: #000 !important;
  border-color: #ffff00 !important;
}

html.a11y-gray { filter: grayscale(1); }

html.a11y-links a {
  background: #fff3bf;
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

html.a11y-underline a { text-decoration: underline; }

html.a11y-font,
html.a11y-font body,
html.a11y-font button,
html.a11y-font input,
html.a11y-font textarea {
  font-family: var(--readable) !important;
}

html.a11y-space {
  --space: 1.35;
  letter-spacing: 0.04em;
  word-spacing: 0.12em;
}

html.a11y-cursor,
html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M8 4 L8 38 L16 30 L22 44 L28 41 L22 27 L32 27 Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 4 4, auto !important;
}

/* Mobile */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .nav-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 36, 0.45);
    z-index: 920;
  }

  .primary-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 88vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 84px 18px 24px;
    gap: 4px;
    z-index: 930;
    box-shadow: var(--shadow-lg);
  }

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

  .primary-nav a {
    font-size: 0.9rem;
    padding: 12px 10px;
  }

  .call-chip { margin-left: 0; text-align: center; }

  .hero-inner,
  .about-grid,
  .split,
  .contact-grid,
  .form-row,
  .industry-card,
  .service-panel.open {
    grid-template-columns: 1fr;
  }

  .industry-card:nth-child(even) .industry-copy { order: 0; }

  .hero {
    min-height: auto;
    background-image: url("../images/home/nsi-guarding-entrance.jpg");
  }

  .hero-media { display: none; }

  .hero-inner { padding: 56px 0 48px; text-align: center; }
  .hero-copy { text-align: center; }
  .hero-copy .shield { margin-inline: auto; }
  .hero p { margin-inline: auto; }
  .btn-row { justify-content: center; }
  .hero-photo { display: none; }

  .service-bar-inner { flex-direction: column; align-items: stretch; padding: 12px 0; }
  .cookie-bar.show { flex-direction: column; align-items: stretch; text-align: left; }
  .contact-grid iframe { min-height: 280px; }
}

@media (max-width: 640px) {
  .logo-word { display: none; }
  .section { padding: 52px 0; }
  .why-grid,
  .service-cards,
  .quotes,
  .service-panel.open { grid-template-columns: 1fr; }
  .a11y-fab { width: 52px; height: 52px; right: 12px; bottom: 12px; }
}

body.has-cookie .a11y-fab { bottom: 110px; }
body.has-cookie .a11y-panel { bottom: 178px; }

@media (max-width: 640px) {
  body.has-cookie .a11y-fab { bottom: 150px; }
  body.has-cookie .a11y-panel { bottom: 214px; }
}
