/* ============================================================
   SLEUTH SECURITY LIMITED — Shared Stylesheet
   Palette: Tactical Black / Deep Navy / Foil Gold / Steel Blue
   Type: Rajdhani (display, military), Barlow Condensed (body)
   ============================================================ */

:root {
  --navy: #0A0F1E;
  --navy-deep: #060A16;
  --black: #040608;
  --gold: #C9A84C;
  --gold-soft: #B89248;
  --gold-light: #EBD8A0;
  --gold-foil-1: #F4E4B0;
  --gold-foil-2: #C9A84C;
  --gold-foil-3: #8B6914;
  --steel: #1B3A6B;
  --steel-mid: #102145;
  --white: #F4F6FB;
  --grey: #6E7C99;
  --grey-dim: #4A5670;
  --border: rgba(201,168,76,0.18);
  --border-strong: rgba(201,168,76,0.35);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* fine grain texture overlay for richness */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* foil gold gradient text */
.foil {
  background: linear-gradient(115deg, var(--gold-foil-3) 0%, var(--gold-foil-1) 28%, var(--gold-foil-2) 50%, var(--gold-foil-1) 72%, var(--gold-foil-3) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foilShift 9s ease-in-out infinite;
}
@keyframes foilShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

/* diamond ornament */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  margin: 0 auto 2.5rem;
}
.ornament::before, .ornament::after {
  content: '';
  width: 70px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.ornament::after { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.ornament span {
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 76px;
  background: rgba(4,6,8,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--gold);
  background: rgba(201,168,76,0.05);
  letter-spacing: 0.05em;
}
.nav-logo-icon::before, .nav-logo-icon::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border: 1px solid var(--gold-light);
}
.nav-logo-icon::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.nav-logo-icon::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.nav-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white);
}
.nav-logo-text span { color: var(--gold); font-weight: 700; }
.nav-links {
  display: flex; gap: 2.4rem; list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 11px 26px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 24px rgba(201,168,76,0.35);
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 1.5px; background: var(--gold); transition: 0.3s; }

.mobile-nav {
  display: none;
  position: fixed; top: 76px; left: 0; right: 0; z-index: 99;
  background: rgba(4,6,8,0.98);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5vw;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }

/* ── GOLD DIVIDER ── */
.gold-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 50%, transparent);
  position: relative;
}
.gold-divider::before {
  content: '';
  position: absolute; top: -3px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 6px; height: 6px;
  border: 1px solid var(--gold);
  background: var(--black);
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-foil-3));
  background-size: 200% 200%;
  color: var(--black);
  border: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-position 0.5s, box-shadow 0.3s, transform 0.2s;
}
.btn-primary:hover {
  background-position: 100% 100%;
  box-shadow: 0 8px 32px rgba(201,168,76,0.28);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(244,246,251,0.22);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201,168,76,0.04); }

/* ── SECTIONS ── */
section { padding: 130px 5vw; position: relative; }

.section-header { margin-bottom: 4.5rem; text-align: center; }
.section-header h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
}
.section-header p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.98rem;
  font-weight: 300;
  color: rgba(244,246,251,0.5);
  max-width: 580px;
  margin: 1.2rem auto 0;
  line-height: 1.85;
}

/* corner-bracket panel: military insignia meets luxury frame */
.bracket-panel {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(16,33,69,0.16);
  padding: 2.4rem;
}
.bracket-panel::before, .bracket-panel::after,
.bracket-panel .br-tr, .bracket-panel .br-bl {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
}
.bracket-panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.bracket-panel::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO (index)
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 5vw 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 35%, rgba(27,58,107,0.35) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--black) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridShift 24s linear infinite;
}
@keyframes gridShift { from { background-position: 0 0; } to { background-position: 64px 64px; } }

.hero-scan {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(201,168,76,0.035) 48%, rgba(201,168,76,0.1) 50%, rgba(201,168,76,0.035) 52%, transparent 100%);
  animation: scan 7s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(4,6,8,0.92) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-eyebrow { margin-bottom: 2.2rem; }

.hero-title {
  font-size: clamp(2.8rem, 6.6vw, 5.6rem);
  font-weight: 700;
  line-height: 1.04;
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  color: var(--grey);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}

.hero-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(244,246,251,0.6);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 3rem;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-stats {
  position: absolute; bottom: 64px; right: 5vw; z-index: 2;
  display: flex; gap: 3.2rem;
}
.hero-stat { text-align: right; border-right: 1px solid var(--border); padding-right: 2rem; }
.hero-stat:last-child { border-right: none; padding-right: 0; }
.hero-stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.64rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--grey);
  margin-top: 6px;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border);
  padding: 9px 18px;
  margin-bottom: 1.8rem;
}
.about-badge-dot { width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.about-badge span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold-light);
}
.about-grid h2 { margin-bottom: 1.6rem; }
.about-body {
  font-family: 'Barlow', sans-serif;
  font-size: 0.97rem;
  color: rgba(244,246,251,0.55);
  line-height: 1.95;
  margin-bottom: 1.4rem;
}
.about-right { display: flex; flex-direction: column; gap: 1.6rem; }

.founder-card { padding: 2.6rem; }
.founder-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.06em;
}
.founder-title {
  font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.founder-bio {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: rgba(244,246,251,0.5);
  line-height: 1.9;
}

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.pillar {
  background: var(--navy-deep);
  padding: 1.8rem 1.2rem;
  text-align: center;
}
.pillar-icon { font-size: 1.5rem; margin-bottom: 0.7rem; display: block; opacity: 0.85; }
.pillar-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light);
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--black); }

.services-tabs {
  display: flex; gap: 0; justify-content: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}
.tab-btn {
  background: none; border: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey);
  padding: 16px 32px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.25s, border-color 0.25s;
}
.tab-btn.active, .tab-btn:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
}
.service-card {
  background: var(--navy-deep);
  padding: 2.6rem;
  position: relative;
  transition: background 0.35s;
}
.service-card:hover { background: rgba(27,58,107,0.32); }
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 2.6rem; right: 2.6rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 50px; height: 50px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
  color: var(--gold-light);
}
.service-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.18rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.service-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.89rem;
  color: rgba(244,246,251,0.48);
  line-height: 1.85;
}
.service-tag {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--border-strong);
  padding: 4px 12px;
}

/* ============================================================
   GUARDS
   ============================================================ */
#guards { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }

.guards-hero {
  padding: 3.2rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.guards-hero h3 { font-size: 1.9rem; font-weight: 700; margin-bottom: 0.7rem; }
.guards-hero p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  color: rgba(244,246,251,0.5);
  max-width: 480px;
  line-height: 1.9;
}
.guards-rank-row { display: flex; gap: 1px; background: var(--border); }
.guards-rank-badge {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.6rem 2.2rem;
  min-width: 130px;
  text-align: center;
  background: var(--navy-deep);
}
.guards-rank-badge .rank-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.guards-rank-badge .rank-label {
  font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--grey);
  margin-top: 6px;
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
}
.rank-card {
  background: var(--black);
  padding: 2.2rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.rank-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light);
}
.rank-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.86rem;
  color: rgba(244,246,251,0.46);
  line-height: 1.85;
}
.rank-badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.rank-chip {
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--border-strong);
  padding: 3px 10px;
}

/* ============================================================
   PATROL
   ============================================================ */
#patrol { background: var(--black); }

.patrol-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4.5rem;
  align-items: start;
}
.patrol-types { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.patrol-type {
  background: var(--navy-deep);
  padding: 1.9rem 2.1rem;
  cursor: pointer;
  transition: background 0.25s;
  position: relative;
}
.patrol-type.active, .patrol-type:hover { background: rgba(27,58,107,0.4); }
.patrol-type.active::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
}
.patrol-type-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.patrol-type-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  color: rgba(244,246,251,0.45);
  line-height: 1.7;
}
.patrol-detail { padding: 3rem; }
.patrol-detail h3 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.patrol-detail p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.93rem;
  color: rgba(244,246,251,0.55);
  line-height: 1.95;
  margin-bottom: 1.8rem;
}
.patrol-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.patrol-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.89rem;
  color: rgba(244,246,251,0.6);
  line-height: 1.6;
}
.patrol-features li::before {
  content: '';
  width: 6px; height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ============================================================
   ADVANTAGE
   ============================================================ */
#advantage { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.adv-card { background: var(--black); padding: 2.8rem; position: relative; }
.adv-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
  margin-bottom: 1.6rem;
}
.adv-icon { font-size: 1.7rem; margin-bottom: 1.1rem; opacity: 0.85; }
.adv-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.adv-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.87rem;
  color: rgba(244,246,251,0.46);
  line-height: 1.9;
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
#careers-hero {
  position: relative;
  padding: 180px 5vw 100px;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(27,58,107,0.3) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--black) 100%);
  overflow: hidden;
  text-align: center;
}
#careers-hero .hero-grid { opacity: 0.6; }
.careers-hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.careers-hero-content h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 700; line-height: 1.08;
  margin: 1.4rem 0 1.6rem;
}
.careers-hero-content p {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem; font-weight: 300;
  color: rgba(244,246,251,0.55);
  max-width: 560px; margin: 0 auto 2.4rem;
  line-height: 1.9;
}
.careers-hero-stats {
  display: flex; justify-content: center; gap: 1px;
  background: var(--border);
  max-width: 700px; margin: 3.5rem auto 0;
}
.careers-hero-stats .hs {
  flex: 1; background: var(--navy-deep); padding: 1.8rem 1rem; text-align: center;
}
.careers-hero-stats .hs .num {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 2rem; color: var(--gold-light); line-height: 1;
}
.careers-hero-stats .hs .lbl {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey); margin-top: 6px;
}

#open-positions { background: var(--black); }

.positions-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.position-card {
  background: var(--navy-deep);
  padding: 2.4rem 2.8rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
  transition: background 0.3s;
}
.position-card:hover { background: rgba(27,58,107,0.28); }
.position-main .position-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.position-main .position-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.86rem;
  color: rgba(244,246,251,0.45);
  line-height: 1.7;
  max-width: 480px;
}
.position-meta { display: flex; flex-direction: column; gap: 6px; }
.position-meta-label {
  font-size: 0.6rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-soft);
}
.position-meta-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.92rem; font-weight: 500;
  color: var(--white); letter-spacing: 0.04em;
}
.position-apply {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 12px 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  text-decoration: none;
}
.position-apply:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

.position-requirements {
  grid-column: 1 / -1;
  display: none;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  margin-top: 0.6rem;
}
.position-card.expanded .position-requirements { display: block; }
.position-requirements ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 2rem;
}
.position-requirements ul li {
  font-family: 'Barlow', sans-serif;
  font-size: 0.86rem;
  color: rgba(244,246,251,0.55);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.6;
}
.position-requirements ul li::before {
  content: '';
  width: 6px; height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0; margin-top: 6px;
}
.position-toggle {
  background: none; border: none;
  color: var(--gold-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer;
  padding: 0; margin-top: 1.2rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.position-toggle:hover { color: var(--gold-light); }
.position-toggle .arrow { transition: transform 0.25s; display: inline-block; }
.position-card.expanded .position-toggle .arrow { transform: rotate(180deg); }

/* ============================================================
   WHY JOIN (careers)
   ============================================================ */
#why-join { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }

/* ============================================================
   APPLICATION FORM (careers + contact shared)
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2.2rem; }
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold-light);
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.64rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold-soft);
  margin-bottom: 5px;
}
.contact-item-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.02rem; font-weight: 500;
  color: var(--white); letter-spacing: 0.02em;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.66rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--grey);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(16,33,69,0.25);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.94rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  resize: vertical;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(27,58,107,0.3);
}
.form-group select option { background: var(--navy); }
.form-group textarea { min-height: 120px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--black); border-top: 1px solid var(--border); padding: 70px 5vw 32px; }
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand .nav-logo { margin-bottom: 1.2rem; }
.footer-brand p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  color: rgba(244,246,251,0.32);
  line-height: 1.9;
  margin-top: 1.2rem;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 0.68rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold-soft);
  margin-bottom: 1.4rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  color: rgba(244,246,251,0.38);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy {
  font-family: 'Barlow', sans-serif;
  font-size: 0.74rem;
  color: rgba(244,246,251,0.2);
  letter-spacing: 0.08em;
}
.footer-cert {
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-soft);
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .position-card { grid-template-columns: 1fr 1fr; }
  .position-apply { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-grid, .patrol-layout, .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-stats { position: relative; bottom: auto; right: auto; margin-top: 3.5rem; justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .position-card { grid-template-columns: 1fr; gap: 1rem; }
  .position-apply { justify-self: start; }
  .careers-hero-stats { flex-wrap: wrap; }
  .careers-hero-stats .hs { flex: 1 1 45%; }
}
@media (max-width: 580px) {
  section { padding: 80px 5vw; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .guards-rank-row { flex-wrap: wrap; }
  .guards-hero { padding: 2rem; }
  .service-card, .rank-card, .adv-card { padding: 1.8rem; }
}
