/* ============================================================
   Security Guards, K9 Units & Private Escorts — security-guards.html
   Uses the site's tokens (--orange = brand lime, --card-bg, --border, …).
   Every photo slot is an <img> with a fixed aspect-ratio + object-fit:cover,
   so replacing a placeholder with any real photo just works (see
   security-images.md for the file names and sizes).
============================================================ */
.sg-hero {
  position: relative; overflow: hidden; padding: 150px 0 56px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(143,199,38,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(143,199,38,.08), transparent 60%),
    var(--black, #080808);
}
.sg-hero::before { /* faint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.sg-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.sg-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--orange, #8fc726); border: 1px solid rgba(143,199,38,.4); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px;
}
.sg-hero h1 {
  font-family: var(--font-display, inherit); font-weight: 900; line-height: 1.06; letter-spacing: -1px;
  font-size: clamp(32px, 5.2vw, 56px); color: var(--white, #fff); margin: 0 0 16px;
}
.sg-hero h1 span { color: var(--orange, #8fc726); }
.sg-lead { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; color: var(--light, #ccc); max-width: 560px; margin: 0 0 20px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.sg-chips li {
  font-size: 12px; font-weight: 600; color: var(--white, #fff); background: rgba(255,255,255,.06);
  border: 1px solid var(--border, rgba(255,255,255,.1)); border-radius: 999px; padding: 7px 13px;
}
.sg-chips li::before { content: "✓"; color: var(--orange, #8fc726); font-weight: 800; margin-right: 7px; }
.sg-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.sg-hero__art { position: relative; }
.sg-hero__art > img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px;
  border: 1px solid rgba(143,199,38,.35); box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.sg-float {
  position: absolute; display: flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 12px;
  background: rgba(10,10,10,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12); font-size: 12px; font-weight: 700; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.sg-float svg { width: 18px; height: 18px; color: var(--orange, #8fc726); flex-shrink: 0; }
.sg-float--a { left: -18px; top: 12%; }
.sg-float--b { right: -14px; top: 46%; }
.sg-float--c { left: 8%; bottom: -14px; }

/* --- shared bits --- */
.sg-section { padding: 56px 0; }
.sg-head { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.sg-head .section-title { font-size: clamp(22px, 3.4vw, 34px); }
.sg-head p { color: var(--light, #ccc); font-size: 15px; line-height: 1.65; margin: 10px 0 0; }
.sg-ph { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 16px; border: 1px solid var(--border, rgba(255,255,255,.1)); background: #111; }
.sg-ph--43 { aspect-ratio: 4 / 3; }

/* --- the three services --- */
.sg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sg-card {
  display: flex; flex-direction: column; background: var(--card-bg, #1a1a1a); border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease;
}
.sg-card:hover { transform: translateY(-4px); border-color: rgba(143,199,38,.5); }
.sg-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.sg-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sg-card h3 { font-family: var(--font-display, inherit); font-size: 20px; font-weight: 800; color: #fff; margin: 0; }
.sg-card p { font-size: 13px; line-height: 1.6; color: var(--grey, #999); margin: 0; }
.sg-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.sg-card li { font-size: 12.5px; color: var(--light, #ccc); display: flex; gap: 8px; }
.sg-card li::before { content: "✓"; color: var(--orange, #8fc726); font-weight: 800; }
.sg-card__more { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 700; color: var(--orange, #8fc726); }

/* --- split sections (photo + copy) --- */
.sg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.sg-split--flip .sg-split__media { order: 2; }
.sg-split h2 { font-family: var(--font-display, inherit); font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; color: #fff; line-height: 1.12; letter-spacing: -.5px; margin: 6px 0 12px; }
.sg-split h2 span { color: var(--orange, #8fc726); }
.sg-split p.sg-p { font-size: 15px; line-height: 1.7; color: var(--light, #ccc); margin: 0 0 14px; }

.sg-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.sg-feat { display: flex; gap: 11px; background: var(--card-bg, #1a1a1a); border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 12px; padding: 13px; }
.sg-feat svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--orange, #8fc726); margin-top: 1px; }
.sg-feat h4 { font-size: 13.5px; font-weight: 700; color: #fff; margin: 0 0 2px; }
.sg-feat p { font-size: 12px; line-height: 1.5; color: var(--grey, #999); margin: 0; }
.sg-note { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--orange, #8fc726); background: rgba(143,199,38,.07); border-radius: 0 10px 10px 0; font-size: 13px; line-height: 1.6; color: var(--light, #ccc); }

/* --- integration + industries --- */
.sg-int { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sg-int a {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; text-align: center; text-decoration: none;
  background: var(--card-bg, #1a1a1a); border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 12px; color: #fff;
  font-size: 13px; font-weight: 700; transition: border-color .2s ease, transform .2s ease;
}
.sg-int a:hover { border-color: rgba(143,199,38,.5); transform: translateY(-3px); }
.sg-int a small { font-size: 11px; font-weight: 400; color: var(--grey, #999); }
.sg-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 820px; margin: 0 auto; }
.sg-tags span { font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--border, rgba(255,255,255,.1)); border-radius: 999px; padding: 8px 15px; }

/* --- steps --- */
.sg-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: sg; }
.sg-step { position: relative; background: var(--card-bg, #1a1a1a); border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 14px; padding: 18px 16px; }
.sg-step::before {
  counter-increment: sg; content: counter(sg); display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--orange, #8fc726); color: #0b0b0b; font-weight: 900; font-size: 14px; margin-bottom: 10px;
}
.sg-step h3 { font-size: 15px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.sg-step p { font-size: 12.5px; line-height: 1.55; color: var(--grey, #999); margin: 0; }

/* --- FAQ --- */
.sg-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.sg-faq details { background: var(--card-bg, #1a1a1a); border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 12px; padding: 0 16px; }
.sg-faq summary { cursor: pointer; list-style: none; padding: 15px 0; font-weight: 700; font-size: 15px; color: #fff; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.sg-faq summary::-webkit-details-marker { display: none; }
.sg-faq summary::after { content: "+"; color: var(--orange, #8fc726); font-size: 22px; line-height: 1; flex-shrink: 0; }
.sg-faq details[open] summary::after { content: "–"; }
.sg-faq details p { margin: 0 0 15px; font-size: 14px; line-height: 1.7; color: var(--light, #ccc); }
.sg-faq summary:focus-visible { outline: 3px solid var(--orange, #8fc726); outline-offset: 2px; border-radius: 6px; }

.sg-ctas--center { justify-content: center; }

/* --- responsive --- */
@media (max-width: 960px) {
  .sg-hero { padding-top: 130px; }
  .sg-hero__grid, .sg-split { grid-template-columns: 1fr; gap: 28px; }
  .sg-split--flip .sg-split__media { order: 0; }
  .sg-hero__art { max-width: 420px; margin: 0 auto; }
  .sg-float--a { left: -6px; } .sg-float--b { right: -6px; }
  .sg-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .sg-int { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .sg-feats { grid-template-columns: 1fr; }
  .sg-steps { grid-template-columns: 1fr; }
  .sg-section { padding: 40px 0; }
  .sg-hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) { .sg-card, .sg-int a { transition: none; } }

/* ============================================================
   Landing pages (security-guards-nairobi.html and siblings)
============================================================ */
.sg-hero--lp .sg-hero__art > img { aspect-ratio: 4 / 3; }
.sg-hero--lp .sg-hero__art { max-width: 520px; margin-left: auto; }
.sg-crumbs { font-size: 12px; color: var(--grey, #999); margin: 0 0 14px; }
.sg-crumbs a { color: var(--light, #ccc); text-decoration: none; }
.sg-crumbs a:hover { color: var(--orange, #8fc726); }
.sg-crumbs span { margin: 0 6px; opacity: .6; }
.sg-prose { max-width: 800px; margin: 0 auto; }
.sg-prose h2 { font-family: var(--font-display, inherit); font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: #fff; line-height: 1.15; margin: 4px 0 14px; }
.sg-prose h2 span { color: var(--orange, #8fc726); }
.sg-prose p { font-size: 15px; line-height: 1.75; color: var(--light, #ccc); margin: 0 0 14px; }
.sg-prose a { color: var(--orange, #8fc726); text-decoration: underline; }
.sg-checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.sg-checks li { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--light, #ccc); }
.sg-checks li::before { content: "✓"; color: var(--orange, #8fc726); font-weight: 900; flex-shrink: 0; }
.sg-checks strong { color: #fff; }
.sg-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sg-guides a {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; text-decoration: none; color: #fff;
  background: var(--card-bg, #1a1a1a); border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.sg-guides a:hover { border-color: rgba(143,199,38,.5); transform: translateY(-3px); }
.sg-guides h3 { font-size: 16px; font-weight: 800; margin: 0; }
.sg-guides p { font-size: 12.5px; line-height: 1.55; color: var(--grey, #999); margin: 0; }
.sg-guides span { margin-top: auto; padding-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--orange, #8fc726); }
@media (max-width: 960px) {
  .sg-hero--lp .sg-hero__art { margin: 0 auto; }
  .sg-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .sg-guides { grid-template-columns: 1fr; } }
.sg-feats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.sg-guides--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .sg-feats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sg-guides--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sg-feats--3, .sg-guides--4 { grid-template-columns: 1fr; } }
/* landing pages: clear the fixed ticker + nav + service quick bar (desktop) so the breadcrumb is visible */
.sg-hero--lp { padding-top: 205px; }
@media (max-width: 960px) { .sg-hero--lp { padding-top: 140px; } }
@media (max-width: 560px) { .sg-hero--lp { padding-top: 128px; } }
/* portrait photo (uniform) */
.sg-ph--portrait { aspect-ratio: 2 / 3; max-width: 380px; margin: 0 auto; }
