/* ==========================================================================
   Njomba Fast Response Security Ltd — Design system
   Brand: black (authority) · bright gold (premium) · white
   Tagline: "Your Safety, Our Priority"
   ========================================================================== */

:root {
  --ink-900: #0b0b0c;
  --ink-800: #141416;
  --ink-700: #1d1d20;
  --ink-600: #27272c;
  --gold-500: #f4b500;
  --gold-400: #ffc933;
  --gold-600: #c08a00;
  --ink: #16171b;
  --muted: #5d636e;
  --line: #e6e8ec;
  --paper: #f6f7f8;
  --white: #ffffff;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold-500); color: var(--ink-900); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-400); background: rgba(255, 255, 255, 0.06); }
.btn--navy { background: var(--ink-800); color: var(--white); }
.btn--navy:hover { background: var(--ink-600); }
.btn--nav { padding: 10px 22px; font-size: 0.95rem; }
.btn--block { width: 100%; text-align: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold-400); text-decoration: none; font-weight: 600; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
/* Real logo sits on a white chip so the white-background artwork reads on the dark bar */
.nav__logo {
  height: 46px;
  width: auto;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.nav__brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}
.nav__brand-text span { color: var(--gold-400); display: block; font-size: 0.72rem; letter-spacing: 0.22em; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav__links a:not(.btn):hover { color: var(--gold-400); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--white); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-900);
}
.hero__media {
  position: absolute;
  inset: 0;
  background: url("../img/Hero.jpeg") center/cover no-repeat;
}
.hero__media::after {
  /* dark scrim — heavier on the left where the headline sits, lighter over the vehicle */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 9, 0.94) 0%, rgba(8, 8, 9, 0.78) 34%, rgba(8, 8, 9, 0.30) 66%, rgba(8, 8, 9, 0.55) 100%),
    linear-gradient(0deg, rgba(8, 8, 9, 0.75) 0%, transparent 45%);
}
.hero__inner { position: relative; z-index: 1; padding: 120px 24px; }
.hero__kicker {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.hero__sub {
  max-width: 540px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
}
.hero__cta { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold-400), transparent);
  animation: drop 2s ease infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Values strip ---------- */
.values { background: var(--ink-800); border-top: 3px solid var(--gold-500); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.values__item {
  padding: 26px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.values__item:first-child { border-left: 0; }
.values__item span { color: var(--gold-400); }

/* ---------- Stats band ---------- */
.stats { background: var(--gold-500); padding: 44px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num, .stat__plus {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--ink-900);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-800);
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--dark { background: var(--ink-900); color: var(--white); }
.section__kicker {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.section--dark .section__kicker { color: var(--gold-400); }
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.section--dark .section__title { color: var(--white); }

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-500);
}
.card--featured {
  background: var(--ink-800);
  border-color: var(--ink-700);
  color: rgba(255, 255, 255, 0.82);
}
.card--featured h3 { color: var(--white); }
.card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--gold-600);
}
.card--featured .card__icon { color: var(--gold-400); }
.card__icon svg { width: 100%; height: 100%; }
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.card p { font-size: 0.95rem; color: inherit; }
.card:not(.card--featured) p { color: var(--muted); }

/* ---------- Industries ---------- */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tile {
  --scrim: linear-gradient(to top, rgba(8, 8, 9, 0.92) 0%, rgba(8, 8, 9, 0.45) 55%, rgba(8, 8, 9, 0.60) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 210px;
  padding: 22px;
  border-radius: var(--radius);
  background-color: var(--ink-800);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tile--mining      { background-image: var(--scrim), url("../img/industries/mining.jpg"); }
.tile--banking     { background-image: var(--scrim), url("../img/industries/banking.jpg"); }
.tile--diplomatic  { background-image: var(--scrim), url("../img/industries/diplomatic.jpg"); }
.tile--residential { background-image: var(--scrim), url("../img/industries/residential.jpg"); }
.tile--retail      { background-image: var(--scrim), url("../img/industries/retail.jpg"); }
.tile--agriculture { background-image: var(--scrim), url("../img/industries/agriculture.jpg"); }
.tile--logistics   { background-image: var(--scrim), url("../img/industries/logistics.jpg"); }
.tile--hospitality { background-image: var(--scrim), url("../img/industries/hospitality.jpg"); }
.tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 3px;
  background: var(--gold-500);
  transition: width 0.3s ease;
}
.tile:hover { transform: translateY(-4px); border-color: var(--gold-500); }
.tile:hover::before { width: 100%; }
.tile span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
}

/* ---------- Why us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.why__media { position: relative; }
.why__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  width: 100%;
  box-shadow: var(--shadow);
}
.why__badge {
  position: absolute;
  right: -14px;
  bottom: 24px;
  background: var(--gold-500);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  line-height: 1.1;
  font-size: 0.95rem;
}
.why__badge strong { display: block; font-size: 1.5rem; }
.why__lead { font-size: 1.12rem; color: var(--ink); margin-bottom: 28px; }
.why__list { list-style: none; }
.why__list li {
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--muted);
  font-size: 0.97rem;
}
.why__list li strong { color: var(--ink); }
.why__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--gold-500);
  clip-path: polygon(50% 0, 100% 18%, 100% 60%, 50% 100%, 0 60%, 0 18%);
}
.why__content .btn { margin-top: 32px; }

/* ---------- Operations (video + fleet) ---------- */
.ops__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
/* single remaining item — centre it at a sensible width */
.ops__grid--single {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
}
.ops__grid--single .ops__media--photo { aspect-ratio: 16 / 9; }
.ops__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}
.ops__media video, .ops__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ops__media--video { aspect-ratio: 16 / 10; }
.ops__media--photo { aspect-ratio: 16 / 10; }
.ops__media--photo img { object-position: center 35%; }
.ops__caption {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.ops__caption span { color: var(--gold-400); }

/* ---------- Quote ---------- */
.quote {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 90px 0;
  text-align: center;
}
.quotes__kicker {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-size: 0.92rem;
  margin-bottom: 36px;
}
.quotes { overflow: hidden; max-width: 860px; margin: 0 auto; }
.quotes__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.quotes__slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
  text-align: center;
}
.quotes__slide p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  color: var(--ink-800);
  margin: 0 auto;
  max-width: 760px;
}
.quotes__slide cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.quotes__dots { display: flex; gap: 10px; justify-content: center; margin-top: 38px; }
.quotes__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 26, 0.2);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
.quotes__dot:hover { background: rgba(20, 22, 26, 0.45); }
.quotes__dot.is-active { background: var(--gold-500); width: 26px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .quotes__track { transition: none; } }

/* ---------- Careers ---------- */
.careers { background: var(--ink-800); padding: 70px 0; border-top: 3px solid var(--gold-500); }
.careers__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.careers h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  max-width: 640px;
}
.careers p { color: rgba(255, 255, 255, 0.7); margin-top: 10px; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact__lead { color: rgba(255, 255, 255, 0.75); max-width: 440px; margin-bottom: 36px; }
.contact__details { list-style: none; }
.contact__details li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 2px;
}
.contact__details strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--gold-400);
}
.contact__details a, .contact__details span { color: var(--white); text-decoration: none; font-size: 1.05rem; }
.contact__form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__form label {
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(244, 181, 0, 0.2);
}
.form__note { font-size: 0.78rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: rgba(255, 255, 255, 0.65); padding: 70px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
}
.footer__logo {
  height: 64px;
  width: auto;
  background: var(--white);
  padding: 6px 10px;
  border-radius: 10px;
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 14px;
}
.footer__tag { font-size: 0.9rem; margin-top: 6px; max-width: 260px; }
.footer__tag--gold { color: var(--gold-400); font-weight: 600; margin-top: 10px; letter-spacing: 0.04em; }
.footer h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: var(--gold-400);
  margin-bottom: 16px;
}
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer nav a:hover { color: var(--white); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* ---------- Scroll reveal (only hides content when JS is running) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .contact__grid, .ops__grid { grid-template-columns: 1fr; gap: 48px; }
  .ops__grid { gap: 22px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .values__item:nth-child(3) { border-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why__badge { right: 16px; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    padding: 12px 24px 24px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav__links .btn { margin-top: 16px; }
  .section { padding: 72px 0; }
  .form__row { grid-template-columns: 1fr; }
  .hero__inner { padding: 90px 24px; }
  .nav__brand-text { display: none; }
}
