/* =========================================================
   ORR Electrical & Security — 2026 stylesheet
   Palette: golden yellow + charcoal (from brand logo)
   ========================================================= */

:root {
  --gold:        #F9D616;   /* ORR brand yellow */
  --gold-deep:   #E2BC00;
  --ink:         #1A1411;   /* ORR brand near-black */
  --ink-2:       #221C18;
  --ink-3:       #2C2521;
  --paper:       #FBF9F4;
  --paper-2:     #F2EEE5;
  --text:        #1A1715;
  --text-soft:   #5C554E;
  --line:        rgba(26,23,21,.10);
  --line-dark:   rgba(255,255,255,.10);

  --radius:      20px;
  --radius-sm:   12px;
  --shadow:      0 18px 50px -20px rgba(26,23,21,.35);
  --shadow-gold: 0 16px 40px -14px rgba(249,214,22,.55);

  --container:   1180px;
  --font-head:   'PT Sans', system-ui, sans-serif;
  --font-body:   'PT Sans', system-ui, sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);

  /* on-brand electrical circuit-trace motif (wires + nodes) */
  --circuit-gold: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%3E%3Cg%20fill='none'%20stroke='%23F9D616'%20stroke-width='1.2'%3E%3Cpath%20d='M0%2024%20H36%20V72%20H84%20V120'/%3E%3Cpath%20d='M120%2016%20H82%20V48%20H30%20V0'/%3E%3Cpath%20d='M58%20120%20V92%20H120'/%3E%3Cpath%20d='M0%2096%20H22'/%3E%3C/g%3E%3Cg%20fill='%23F9D616'%3E%3Ccircle%20cx='36'%20cy='72'%20r='2.6'/%3E%3Ccircle%20cx='84'%20cy='72'%20r='2.6'/%3E%3Ccircle%20cx='82'%20cy='48'%20r='2.6'/%3E%3Ccircle%20cx='30'%20cy='48'%20r='2.6'/%3E%3Ccircle%20cx='58'%20cy='92'%20r='2.6'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.hl { color: var(--gold); }

/* ---------------- Buttons ---------------- */
.btn {
  --pad-y: 12px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn--lg { --pad-y: 16px; --pad-x: 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn--solid:hover { transform: translateY(-3px); background: var(--gold-deep); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { transform: translateY(-3px); background: rgba(249,214,22,.12); }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s, color .3s;
  padding: 18px 0;
  color: #fff;            /* light text over the dark hero */
}
.nav.is-stuck {
  background: rgba(251,249,244,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(0,0,0,.4);
  padding: 10px 0;
  color: var(--ink);     /* dark text once the bar sticks on light */
}
.nav__inner { display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__logo {
  height: 40px; width: auto; display: block;
  transition: filter .3s var(--ease);
}
/* logo art is white for the dark hero; invert to dark once the nav sticks on light */
.nav.is-stuck .brand__logo { filter: invert(1); }
.brand__mark {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gold); color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.brand__text small { font-size: .58rem; letter-spacing: .22em; color: var(--text-soft); font-weight: 600; }

.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; }
.nav__links a { position: relative; padding: 4px 0; font-size: .95rem; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; gap: 10px; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 26px; height: 2.5px; background: currentColor; border-radius: 2px; transition: .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% -10%, #2c2723 0%, var(--ink) 45%, #131110 100%);
  color: var(--paper);
  padding: 168px 0 110px;
}
.hero::after { /* fine film grain for a premium finish */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__glow {
  position: absolute; top: -28%; right: -6%; width: 42vw; height: 42vw; max-width: 540px; max-height: 540px;
  background: radial-gradient(circle, rgba(249,214,22,.26), transparent 66%);
  filter: blur(14px); pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; opacity: .4; pointer-events: none;
  background-image: var(--circuit-gold);
  background-size: 250px 250px;
  mask-image: radial-gradient(130% 95% at 82% 8%, #000, transparent 68%);
  -webkit-mask-image: radial-gradient(130% 95% at 82% 8%, #000, transparent 68%);
}

.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .88rem; letter-spacing: .04em;
  color: var(--gold); background: rgba(249,214,22,.12); border: 1px solid rgba(249,214,22,.3);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 24px;
}
.hero__title { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 700; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(251,249,244,.82); max-width: 640px; margin: 24px 0 34px; }
.hero__lead strong { color: var(--paper); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 44px; color: rgba(251,249,244,.78); font-size: .95rem; }

/* ---------------- Stats ---------------- */
.stats {
  background: linear-gradient(180deg, #131110, var(--ink-2));
  color: var(--paper); padding: 6px 0 44px;
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold); }
.stat__suffix { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem,3vw,2rem); color: var(--gold); }
.stat p { margin-top: 6px; font-size: .9rem; color: rgba(251,249,244,.7); }

/* ---------------- Sections ---------------- */
.section { padding: 96px 0; }
.section--dark {
  position: relative; color: var(--paper); isolation: isolate;
  background: linear-gradient(165deg, #15120f, #1a1715 55%, #120f0d);
}
.section--dark::before { /* faint electrical wiring traces, top-right */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .07;
  background-image: var(--circuit-gold); background-size: 230px 230px;
  -webkit-mask-image: radial-gradient(120% 100% at 100% 0%, #000, transparent 72%);
  mask-image: radial-gradient(120% 100% at 100% 0%, #000, transparent 72%);
}
.section--dark > .container { position: relative; z-index: 1; }
.section--muted { background: linear-gradient(180deg, var(--paper-2), #ece7dc); }
.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
.section__sub { color: var(--text-soft); margin-top: 14px; font-size: 1.08rem; }
.section--dark .section__sub { color: rgba(251,249,244,.78); }

.kicker { font-family: var(--font-head); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--gold-deep); margin-bottom: 12px; }
.kicker--gold { color: var(--gold); }

/* ---------------- Bento services ---------------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card--lg { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #fff, var(--paper-2)); }
.card--wide { grid-column: span 2; }
.card__icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: rgba(249,214,22,.16); margin-bottom: 18px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--text-soft); }

/* ---------------- Security feature ---------------- */
.security { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.security__copy h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; margin: 6px 0 18px; }
.security__copy .btn { margin-top: 26px; }
.security__list { list-style: none; display: grid; gap: 16px; }
.sec-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  padding: 22px; border-radius: var(--radius); transition: transform .3s var(--ease), background .3s;
}
.sec-item:hover { transform: translateX(6px); background: rgba(249,214,22,.08); }
.sec-item__ico { font-size: 1.6rem; width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--gold); }
.sec-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.sec-item p { color: rgba(251,249,244,.74); font-size: .96rem; }
.sec-item a { color: var(--gold); font-weight: 600; white-space: nowrap; }
.sec-item a:hover { text-decoration: underline; }

/* ---------------- Why grid ---------------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { padding: 28px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.why__item:hover { transform: translateY(-6px); }
.why__item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why__item h3::before { content: "✓"; color: var(--gold-deep); font-weight: 700; margin-right: 8px; }
.why__item p { color: var(--text-soft); font-size: .96rem; }

/* ---------------- Steps ---------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__n { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: .95rem; }

/* ---------------- Reviews ---------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.review blockquote { font-size: 1.05rem; }
.review figcaption { margin-top: 16px; color: var(--text-soft); font-weight: 600; font-size: .92rem; }

/* ---------------- Contact ---------------- */
.contact { background: linear-gradient(160deg, var(--paper-2), var(--paper)); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__copy h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; margin: 6px 0 14px; }
.contact__details { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.contact__details li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact__details span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(249,214,22,.18); }

.quote-form { background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; background: var(--paper); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(249,214,22,.2);
}
.field textarea { resize: vertical; }
.quote-form__note { margin-top: 14px; font-weight: 600; font-size: .94rem; min-height: 1.2em; }
.quote-form__note.is-ok { color: #1f8a4c; }
.quote-form__note.is-err { color: #c0392b; }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: rgba(251,249,244,.78); padding: 60px 0 30px; }
.footer .brand__text strong { color: var(--paper); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { height: 84px; width: auto; display: block; }
.footer__brand p { margin-top: 14px; max-width: 320px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; align-content: start; }
.footer__nav a:hover { color: var(--gold); }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; font-size: .85rem; color: rgba(251,249,244,.55); }
.footer__bar a { color: var(--gold); }
.footer__bar a:hover { text-decoration: underline; }

/* ---------------- Floating CTA ---------------- */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  background: var(--gold); color: var(--ink); font-family: var(--font-head); font-weight: 700;
  padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow-gold);
  transform: translateY(120px); transition: transform .4s var(--ease);
}
.float-cta.is-visible { transform: translateY(0); }
.float-cta:hover { background: var(--gold-deep); }

/* ---------------- Live CCTV demo ---------------- */
.cctv { max-width: 980px; margin: 0 auto; position: relative; }

/* camera selector tabs */
.cctv__tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.ctab {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .76rem; letter-spacing: .03em;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.12); transition: background .2s, color .2s, transform .15s;
}
.ctab:hover { background: rgba(249,214,22,.14); color: #fff; }
.ctab.is-on { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }

.cctv__bezel {
  position: relative;
  background: linear-gradient(180deg, #0c0c0f, #000);
  padding: 14px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 34px 90px -34px rgba(0,0,0,.95), inset 0 0 0 2px rgba(255,255,255,.03);
}

/* snapshot flash + toast */
.cctv__flash {
  position: absolute; inset: 14px; border-radius: 8px; background: #fff;
  opacity: 0; pointer-events: none; z-index: 8;
}
.cctv__flash.fire { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
.cctv__toast {
  position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%) translateY(8px);
  background: #111; color: #fff; border: 1px solid rgba(255,255,255,.2);
  padding: 10px 16px; border-radius: 999px; z-index: 9;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.cctv__toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* back-to-grid button */
.cctv__back {
  position: absolute; top: 22px; right: 22px; z-index: 7; cursor: pointer;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem;
  padding: 7px 12px; border-radius: 8px; color: #fff;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.25);
}
.cctv__back:hover { background: #000; }

/* clickable feed states */
.feed { cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s; }
.feed:hover { outline-color: rgba(249,214,22,.6); }
.feed:focus-visible { outline-color: var(--gold); }
.feed::before { /* hover hint */
  content: "⤢ VIEW"; position: absolute; z-index: 5; inset: 0; margin: auto;
  width: max-content; height: max-content; padding: 6px 12px; border-radius: 6px;
  background: rgba(0,0,0,.55); color: #fff; font-family: ui-monospace, monospace;
  font-size: .7rem; letter-spacing: .1em; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.feed:hover::before { opacity: 1; }

/* focus (single-camera) mode */
.cctv__grid.is-focused { grid-template-columns: 1fr; }
.cctv__grid.is-focused .feed { display: none; cursor: default; }
.cctv__grid.is-focused .feed.is-active { display: block; }
.cctv__grid.is-focused .feed:hover { outline-color: transparent; }
.cctv__grid.is-focused .feed::before { display: none; }

/* NVR control button */
.cbtn {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .76rem; cursor: pointer;
  padding: 7px 12px; border-radius: 8px; color: var(--ink); background: var(--gold);
  border: 0; font-weight: 600; transition: background .2s, transform .15s;
}
.cbtn:hover { background: var(--gold-deep); transform: translateY(-1px); }
.cctv__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: #000; border-radius: 8px; overflow: hidden;
}

.feed {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #05060a;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.feed::after { /* vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 70px rgba(0,0,0,.65);
}

/* --- scenes --- */
.feed__scene { position: absolute; inset: 0; }
.scene--entrance { background: linear-gradient(180deg, #25324a 0 58%, #161c27 58% 100%); }
.scene--entrance::before { /* doorway */
  content: ""; position: absolute; left: 50%; top: 12%; transform: translateX(-50%);
  width: 26%; height: 54%; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #3c4d68, #1d2533);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.07);
}
.scene--drive { background: linear-gradient(180deg, #202a3c 0 50%, #2b2b30 50% 100%); }
.scene--drive::before { /* road */
  content: ""; position: absolute; inset: 50% 0 0 0;
  background: repeating-linear-gradient(90deg, #2b2b30 0 38px, #34343b 38px 42px);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}
.scene--yard { background: radial-gradient(130% 90% at 50% 130%, #163a22, #04130a 70%); }
.scene--aisle {
  background:
    linear-gradient(180deg, #121824 0 42%, #0a0d13 100%),
    repeating-linear-gradient(90deg, transparent 0 44%, rgba(255,255,255,.05) 44% 56%, transparent 56% 100%);
}
.scene--aisle::before { /* perspective floor */
  content: ""; position: absolute; inset: 52% 0 0 0; opacity: .35;
  background-image: linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 12% 100%;
  transform: perspective(120px) rotateX(58deg); transform-origin: top;
}

/* --- moving subjects --- */
.mover { position: absolute; will-change: transform; }
.mover--walk {
  width: 5.5%; height: 30%; bottom: 12%; left: -12%; border-radius: 42% 42% 28% 28%;
  background: #0b0e15; box-shadow: 0 4px 8px rgba(0,0,0,.5);
  animation: walk 12s linear infinite;
}
.mover--walk::before { /* head */
  content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 65%; aspect-ratio: 1; border-radius: 50%; background: #0b0e15;
}
@keyframes walk { from { transform: translateX(0); } to { transform: translateX(2100%); } }

.mover--car {
  width: 22%; height: 15%; bottom: 15%; left: -30%; border-radius: 7px 11px 4px 4px;
  background: linear-gradient(180deg, #3b414d, #1b1f27);
  animation: drive 9s linear infinite;
}
.mover--car::before { /* headlight glow */
  content: ""; position: absolute; right: -28%; top: 25%; width: 45%; height: 50%;
  background: radial-gradient(circle, rgba(255,238,170,.55), transparent 70%);
}
@keyframes drive { from { transform: translateX(0); } to { transform: translateX(620%); } }

.mover--prowl {
  width: 7%; aspect-ratio: 1; border-radius: 50%; bottom: 26%; left: 18%;
  background: rgba(175,255,195,.55); filter: blur(1px);
  box-shadow: 0 0 12px rgba(120,255,150,.55);
  animation: prowl 15s ease-in-out infinite;
}
@keyframes prowl {
  0% { transform: translate(0,0); } 25% { transform: translate(170%,-45%); }
  50% { transform: translate(420%,15%); } 75% { transform: translate(610%,-35%); }
  100% { transform: translate(0,0); }
}

.mover--light {
  top: 0; bottom: 0; width: 30%; left: -30%;
  background: linear-gradient(90deg, transparent, rgba(180,200,255,.13), transparent);
  animation: sweep 7s ease-in-out infinite;
}
@keyframes sweep { 0%,100% { transform: translateX(0); } 50% { transform: translateX(440%); } }

/* --- night vision tint --- */
.feed--night .feed__scene { filter: saturate(1.6) hue-rotate(-10deg) brightness(.9); }
.feed--night .feed__noise { opacity: .18; }

/* --- overlays: CRT lines, grain, scan bar --- */
.feed__lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .55; mix-blend-mode: multiply;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px);
}
.feed__noise {
  position: absolute; inset: -50%; pointer-events: none; opacity: .1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .5s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 25% { transform: translate(-4%,3%); }
  50% { transform: translate(3%,-2%); } 75% { transform: translate(-2%,-3%); } 100% { transform: translate(2%,2%); }
}
.feed__scan {
  position: absolute; left: 0; right: 0; top: -22%; height: 18%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.07), transparent);
  animation: scan 6s linear infinite;
}
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(720%); } }

/* --- per-feed HUD overlay --- */
.feed__hud {
  position: absolute; inset: 0; pointer-events: none;
  font-size: clamp(.5rem, 1.45vw, .72rem); letter-spacing: .04em;
  color: rgba(255,255,255,.88); text-shadow: 0 1px 2px rgba(0,0,0,.9);
}
.hud { position: absolute; padding: 6px 9px; }
.hud--tl { top: 0; left: 0; }
.hud--tr { top: 0; right: 0; }
.hud--bl { bottom: 0; left: 0; display: flex; align-items: center; gap: 5px; }
.hud--br { bottom: 0; right: 0; color: rgba(255,255,255,.6); }
.rec {
  width: 7px; height: 7px; border-radius: 50%; background: #ff3b30;
  box-shadow: 0 0 7px #ff3b30; animation: blink 1.4s steps(1) infinite;
}
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: .15; } }

/* --- NVR status bar --- */
.cctv__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding: 11px 15px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; color: rgba(255,255,255,.7);
}
.cctv__logo { font-family: var(--font-head); font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.cctv__logo span { color: rgba(255,255,255,.55); font-weight: 600; margin-left: 4px; }
.cctv__online { display: flex; align-items: center; gap: 7px; }
.cctv__online i { width: 8px; height: 8px; border-radius: 50%; background: #3ad07a; box-shadow: 0 0 8px #3ad07a; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@media (max-width: 560px) {
  .cctv__bar { font-size: .68rem; padding: 9px 11px; gap: 8px; }
}

/* ---------------- Signage trust badge ---------------- */
.signage {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center;
  margin-top: 60px;
}
.signage__img {
  width: 100%; height: auto; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 34px 80px -32px rgba(0,0,0,.85);
}
.signage__copy h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.signage__copy p { color: rgba(251,249,244,.78); margin-bottom: 22px; max-width: 46ch; }
@media (max-width: 760px) {
  .signage { grid-template-columns: 1fr; gap: 26px; margin-top: 44px; }
}

/* ---------------- First-visit security-alert CTA ---------------- */
.alert-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.alert-modal[hidden] { display: none; }
.alert-modal__backdrop {
  position: fixed; inset: 0; background: rgba(8,6,5,.8);
  opacity: 0; transition: opacity .3s var(--ease);
}
.alert-modal.is-open .alert-modal__backdrop { opacity: 1; }
.alert-modal__card {
  position: relative; width: min(520px, 100%); overflow: hidden;
  background: linear-gradient(180deg, #201a16, #15110f);
  color: var(--paper); border: 1px solid rgba(249,214,22,.35);
  border-radius: 18px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9);
  transform: translateY(20px) scale(.96); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.alert-modal.is-open .alert-modal__card { transform: none; opacity: 1; }
.alert-modal__stripe { height: 12px; background: repeating-linear-gradient(45deg, var(--gold) 0 14px, #15110f 14px 28px); }
.alert-modal__x {
  position: absolute; top: 20px; right: 16px; z-index: 2; cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 1.3rem; line-height: 1; transition: background .2s;
}
.alert-modal__x:hover { background: rgba(255,255,255,.16); }
.alert-modal__body { padding: 30px 30px 26px; }
.alert-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700;
  font-size: .74rem; letter-spacing: .18em; color: var(--gold);
  background: rgba(249,214,22,.1); border: 1px solid rgba(249,214,22,.3);
  padding: 6px 12px; border-radius: 999px;
}
.alert-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; animation: alertpulse 1.6s ease-out infinite; }
@keyframes alertpulse {
  0% { box-shadow: 0 0 0 0 rgba(255,59,48,.55); }
  70% { box-shadow: 0 0 0 9px rgba(255,59,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); }
}
.alert-modal__body h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; line-height: 1.12; }
.alert-modal__body p { color: rgba(251,249,244,.82); margin: 12px 0 22px; }
.alert-modal__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.alert-modal__fine { font-size: .82rem; color: rgba(251,249,244,.6) !important; margin: 18px 0 0 !important; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- Skip link ---------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------------- SVG icons in cards/security ---------------- */
.card__icon { color: var(--ink); }
.card__icon svg, .sec-item__ico svg { width: 26px; height: 26px; }
.sec-item__ico { color: var(--ink); }

/* ---------------- Accreditation / trust strip ---------------- */
.accreds { padding: 50px 0; }
.accreds__lead {
  text-align: center; font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 26px;
}
.accreds__row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.accred {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  box-shadow: 0 10px 26px -18px rgba(26,23,21,.4);
}
.accred svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }

/* ---------------- FAQ accordion ---------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 20px 24px; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--gold-deep); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; }
.faq__a p { color: var(--text-soft); }
.faq__a a { color: var(--gold-deep); font-weight: 600; }

/* ---------------- Pause CCTV animation when off-screen ---------------- */
.cctv-section.is-paused .feed__scene *,
.cctv-section.is-paused .feed__noise,
.cctv-section.is-paused .feed__scan,
.cctv-section.is-paused .rec,
.cctv-section.is-paused .cctv__online i { animation-play-state: paused; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(20,16,15,.98);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 24px 24px; box-shadow: var(--shadow);
  }
  .nav.is-open .nav__links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--lg { grid-row: auto; }
  .card--wide { grid-column: span 2; }
  .security { grid-template-columns: 1fr; gap: 36px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .hero { padding: 140px 0 80px; }
  .bento, .why__grid, .steps { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
