/* ==========================================================================
   True Force Security — Design System
   Brand colours sampled directly from the company crest.
   ========================================================================== */

:root {
  /* Brand palette — drawn from the logo */
  --maroon-900: #3B0A11;
  --maroon-700: #7E0D19;
  --maroon-600: #96141F;
  --maroon-500: #AF2B38;
  --maroon-100: #F6E7E7;

  --charcoal: #201C1D;
  --slate: #58514F;
  --paper: #FAF8F6;
  --paper-dim: #F1ECE8;
  --line: #E4DDD7;
  --gold: #A8863D;
  --white: #FFFFFF;

  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;

  --container: 1180px;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(59, 10, 17, 0.08);
}

/* -------------------------------------------------- reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0 0 0.5em; color: var(--maroon-900); }
p { margin: 0 0 1em; max-width: 62ch; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

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

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

/* -------------------------------------------------- type scale */
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); letter-spacing: 0.2px; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  color: var(--maroon-600);
  border-left: 3px solid var(--maroon-600);
  padding-left: 10px;
  margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--slate); max-width: 58ch; }

/* -------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--maroon-700); color: var(--white); }
.btn-primary:hover { background: var(--maroon-600); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline { border-color: var(--maroon-700); color: var(--maroon-700); }
.btn-outline:hover { background: var(--maroon-700); color: var(--white); }

/* -------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 42px; width: auto; }
.main-nav ul { display: flex; gap: 30px; align-items: center; }
.main-nav a { font-family: var(--font-display); font-size: 1.05rem; color: var(--charcoal); }
.main-nav a:hover { color: var(--maroon-700); }
.main-nav .btn-primary { padding: 10px 20px; font-size: 0.98rem; }
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--charcoal); margin: 5px 0; }
.top-strip {
  background: var(--maroon-900); color: var(--white); font-size: 0.9rem;
}
.top-strip .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.top-strip a { color: var(--white); }
.top-strip-phones { display: flex; gap: 26px; }
.top-strip-phones a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(59, 10, 17, 0.12); padding: 22px 24px 28px; max-height: calc(100vh - 76px); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-toggle { display: block; }
  .top-strip .container { height: auto; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
  .top-strip-note { display: none; }
  .top-strip-phones { width: 100%; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; font-size: 0.85rem; }
}

/* -------------------------------------------------- hero + radar graphic */
.hero {
  background: var(--maroon-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
  min-height: 520px;
}
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.78); }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--white); }
.hero-stats div span { font-size: 0.92rem; color: rgba(255,255,255,0.65); }

.radar-wrap { display: flex; align-items: center; justify-content: center; }
.radar { width: min(360px, 90%); aspect-ratio: 1; position: relative; }
.radar svg { width: 100%; height: 100%; }
.radar-sweep { transform-origin: 150px 150px; animation: sweep 4.5s linear infinite; }
@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; text-align: left; }
  .radar { width: 220px; margin-top: 10px; }
}

/* -------------------------------------------------- trust bar */
.trust-bar { background: var(--paper-dim); border-bottom: 1px solid var(--line); }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 28px 40px; padding-top: 20px; padding-bottom: 20px; align-items: center; justify-content: space-between; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1rem; color: var(--maroon-900); }
.trust-item svg { flex-shrink: 0; }

/* -------------------------------------------------- sections */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper-dim); }
.section-dark { background: var(--maroon-900); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* -------------------------------------------------- service cards */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card {
  background: var(--white);
  padding: 34px 30px;
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 22px 22px 0;
  border-color: transparent var(--paper-dim) transparent transparent;
  transition: border-color 0.15s ease;
}
.service-card:hover::before { border-color: transparent var(--maroon-100) transparent transparent; }
.service-icon { margin-bottom: 18px; color: var(--maroon-700); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.98rem; color: var(--slate); margin-bottom: 14px; }
.service-card .card-link { font-family: var(--font-display); font-size: 0.98rem; color: var(--maroon-700); }

@media (max-width: 900px) {
  .grid-services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-services { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- location cards / directory */
.grid-locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.location-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 26px;
  border-left: 3px solid var(--maroon-700);
}
.location-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.location-card p { font-size: 0.95rem; color: var(--slate); margin-bottom: 12px; }
@media (max-width: 900px) { .grid-locations { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-locations { grid-template-columns: 1fr; } }

.directory-region { margin-bottom: 36px; }
.directory-region h3 { color: var(--maroon-700); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.directory-list { display: flex; flex-wrap: wrap; gap: 10px 0; }
.directory-list span { font-size: 0.98rem; color: var(--slate); position: relative; padding: 0 14px; }
.directory-list span:not(:last-child)::after { content: "·"; position: absolute; right: 0; color: var(--line); }
.directory-list a { color: var(--maroon-700); }
.directory-list a:hover { text-decoration: underline; }

/* -------------------------------------------------- steps / process (genuine sequence) */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  background: var(--maroon-700);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* -------------------------------------------------- testimonial / quote */
.quote-block { border-left: 3px solid var(--gold); padding-left: 24px; font-family: var(--font-display); font-size: 1.3rem; color: var(--maroon-900); max-width: 62ch; }
.quote-block cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.95rem; color: var(--slate); margin-top: 12px; }

/* -------------------------------------------------- placeholder callouts (dev notes, not shown as errors to visitors) */
.fill-in {
  border: 1.5px dashed var(--gold);
  background: #FCF7EC;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.92em;
  color: #7A5B15;
}

/* -------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--font-display); font-size: 0.98rem; margin-bottom: 6px; color: var(--maroon-900); }
input, select, textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
textarea { resize: vertical; min-height: 120px; }
.popia-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.popia-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--maroon-700);
}
.popia-consent label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--slate);
  margin-bottom: 0;
  cursor: pointer;
}
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}
.form-status.success {
  background-color: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #1B5E20;
}
.form-status.error {
  background-color: #FFEBEE;
  border: 1px solid #FFCDD2;
  color: #B71C1C;
}
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------- CTA banner */
.cta-banner { background: var(--maroon-700); color: var(--white); text-align: center; }
.cta-banner h2 { color: var(--white); }
.cta-banner .lede { color: rgba(255,255,255,0.85); margin-left: auto; margin-right: auto; }
.cta-banner .hero-actions { justify-content: center; }

/* -------------------------------------------------- footer */
.site-footer { background: var(--maroon-900); color: rgba(255,255,255,0.75); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .brand img { height: 40px; margin-bottom: 14px; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; font-size: 0.88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------- breadcrumb */
.breadcrumb { font-size: 0.9rem; color: var(--slate); padding: 18px 0; }
.breadcrumb a { color: var(--maroon-700); }

/* -------------------------------------------------- page hero (inner pages) */
.page-hero { background: var(--maroon-900); color: var(--white); padding: 56px 0 64px; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .lede { color: rgba(255,255,255,0.78); }

/* -------------------------------------------------- misc */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 34px; } }
.badge-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; border: 1px solid var(--line); padding: 8px 14px; border-radius: 20px; color: var(--maroon-900); }
.badge svg { color: var(--gold); }

/* -------------------------------------------------- contact details */
.footer-contact .branch { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; margin: 18px 0 8px; }
.footer-contact .branch:first-child { margin-top: 0; }
.footer-contact a { display: block; }
.footer-contact .who { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .branch-grid { grid-template-columns: 1fr; } }
.location-card .caption { font-size: 0.85rem; color: var(--slate); margin: 0 0 14px; }
.contact-people li { margin-bottom: 14px; }
.contact-people li:last-child { margin-bottom: 0; }
.contact-people .who { display: block; font-size: 0.9rem; color: var(--slate); }
.contact-people a { font-family: var(--font-display); font-size: 1.4rem; color: var(--maroon-700); }
.contact-people a:hover { text-decoration: underline; }

/* eyebrow labels on dark backgrounds */
.hero .eyebrow, .page-hero .eyebrow { color: var(--white); border-left-color: rgba(255,255,255,0.55); }

/* -------------------------------------------------- photo & leadership showcases */
.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(59, 10, 17, 0.12);
  border: 1px solid var(--line);
  background: var(--white);
}
.photo-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.photo-frame figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--slate);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--maroon-700);
  padding: 26px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
@media (max-width: 520px) {
  .team-card { flex-direction: column; align-items: center; text-align: center; }
}
.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--maroon-100);
  background: var(--paper-dim);
}
.team-info h3 { margin: 0 0 4px; font-size: 1.25rem; }
.team-role { font-family: var(--font-display); color: var(--gold); font-size: 0.95rem; font-weight: 600; margin-bottom: 10px; letter-spacing: 0.3px; }
.team-info p { font-size: 0.92rem; color: var(--slate); margin: 0; line-height: 1.5; }

.service-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(59, 10, 17, 0.1);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  max-height: 320px;
  width: 100%;
  background: var(--paper-dim);
}
.service-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 22px 24px;
  margin-bottom: 22px;
}
.office-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.office-card p { margin-bottom: 6px; font-size: 0.95rem; color: var(--slate); }
.office-card strong { color: var(--maroon-900); }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 28px 30px;
  box-shadow: 0 2px 10px rgba(59, 10, 17, 0.05);
}
.testimonial-card blockquote {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.35;
  color: var(--maroon-900);
}
.testimonial-card cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-style: normal;
  color: var(--slate);
}

/* -------------------------------------------------- floating whatsapp quick chat */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
.whatsapp-float svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: currentColor;
}
@media (max-width: 600px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}


