/* ══ Metro Security & Detective Agency — Shared Styles ══ */

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #10253F; --navy-light: #1C3A5F; --black: #1A1A1A;
  --dark-grey: #4A4A4A; --mid-grey: #8C8C8C; --light-grey: #E5E5E5;
  --off-white: #F4F4F4; --white: #FFFFFF;
  --powder-blue: #C5D8E8; --medium-blue: #4A6B82;
  --gold: #C49A4C; --gold-light: #D4AE60; --gold-dark: #A67E38;
  --heading: 'Oswald', sans-serif; --body: 'Inter', sans-serif;
  --radius: 4px; --radius-md: 8px; --transition: 0.3s ease;
}
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--black); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.desc-wide { max-width: none; }

/* ── Header ── */
.site-header {
  background: var(--navy); padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
}
.site-header .container-wide {
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  font-family: var(--heading); font-weight: 700;
  font-size: 1.75rem; text-transform: uppercase;
  color: var(--white); letter-spacing: 0.04em;
  text-decoration: none; line-height: 1;
  display: flex; align-items: center; gap: 10px;
  min-height: 44px;
}
.site-logo .logo-accent { color: var(--gold); }
.site-logo .logo-crest { width: 58px; height: auto; flex-shrink: 0; filter: saturate(0.80); }
.logo-text { display: flex; flex-direction: column; justify-content: center; gap: 0; }
.logo-sub {
  font-family: var(--body);
  font-size: 0.8125rem; font-weight: 500;
  color: var(--gold-light); letter-spacing: 0.12em;
  line-height: 1.1;
}
.site-nav { display: flex; gap: 24px; list-style: none; align-items: center; }
.site-nav a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-weight: 500; font-size: 0.8125rem; text-transform: uppercase;
  letter-spacing: 0.06em; padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--white); border-bottom-color: var(--gold); }
.site-header-phone {
  color: var(--gold-light); font-weight: 600; font-size: 0.875rem;
  text-decoration: none; letter-spacing: 0.02em;
  transition: color var(--transition); white-space: nowrap;
}
.site-header-phone:hover { color: var(--white); }
.site-nav .cta-nav a {
  background: var(--gold); color: var(--navy); padding: 8px 18px;
  border-radius: var(--radius); font-weight: 700;
  border-bottom: none;
}
.site-nav .cta-nav a:hover { background: var(--gold-dark); color: var(--white); }
.header-right {
  display: flex; align-items: center; gap: 20px;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 1px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); flex-direction: column; gap: 0;
    padding: 8px 0 16px; border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 200;
  }
  .site-nav.nav-open { display: flex; }
  .site-nav li { width: 100%; }
  .site-nav a {
    display: block; padding: 12px 24px; font-size: 0.9375rem;
    border-bottom: none; color: rgba(255,255,255,0.7);
  }
  .site-nav a:hover, .site-nav a.active {
    color: var(--white); background: rgba(255,255,255,0.03);
    border-bottom: none;
  }
  .site-nav .cta-nav a {
    margin: 8px 24px 0; text-align: center;
  }
  .hamburger { display: flex; }
  .header-right .site-header-phone { display: none; }
  .header-right .btn-gold { display: none; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 0.9375rem;
  padding: 12px 24px; min-height: 48px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: all var(--transition);
}
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-nav { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-nav:hover { background: var(--navy-light); border-color: var(--navy-light); }
.btn-ghost { background: transparent; color: var(--navy); border-color: transparent; padding: 8px 4px; min-width: auto; }
.btn-ghost::after { content: '→'; font-size: 1.25rem; transition: transform var(--transition); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-sm { font-size: 0.8125rem; padding: 8px 16px; min-height: 36px; margin: 0; }
.btn-lg { font-size: 1rem; padding: 14px 36px; }

/* ── Section Common ── */
.section { padding: 72px 0; }
.section.grey { background: var(--powder-blue); }
.section.dark { background: var(--navy); }
.section-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--navy); margin-bottom: 8px;
}
.section-label.gold { color: var(--gold); }
.section-title {
  font-family: var(--heading); font-weight: 600;
  font-size: 2rem; text-transform: uppercase;
  color: var(--navy); line-height: 1.15; margin-bottom: 12px;
}
.section-title.white { color: var(--white); }
.section-desc {
  color: var(--dark-grey); font-size: 0.9375rem;
  max-width: 560px; line-height: 1.7;
}
.section-desc.white { color: rgba(255,255,255,0.65); }
.section-desc.wide { max-width: 720px; }
.gold-bar {
  width: 48px; height: 3px; background: var(--gold); margin-bottom: 24px;
}
.gold-bar.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, #0B1A30 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding: 72px 0; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--heading); font-weight: 700;
  font-size: 2.75rem; line-height: 1.05; text-transform: uppercase;
  color: var(--white); letter-spacing: 0.01em;
}
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.6);
  margin-top: 12px; max-width: 560px; line-height: 1.6;
}

/* ── Split Layout ── */
.split-grid {
  display: grid; grid-template-columns: 3fr 7fr; gap: 56px; align-items: center;
}
.split-text h2 {
  font-family: var(--heading); font-weight: 600;
  font-size: 2rem; text-transform: uppercase;
  color: var(--navy); line-height: 1.15; margin-bottom: 16px;
}
.split-text p {
  color: var(--dark-grey); font-size: 0.9375rem;
  line-height: 1.7; margin-bottom: 20px;
}
.split-text .sig {
  font-size: 0.875rem; font-weight: 600; color: var(--navy);
  margin-top: 16px;
}
.split-text .sig span { color: var(--dark-grey); font-weight: 400; font-size: 0.8125rem; }

/* ── Why Grid ── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px;
}
.why-item {
  border-left: 3px solid var(--gold); padding: 4px 0 4px 20px;
}
.why-item h4 {
  font-family: var(--heading); font-weight: 600;
  font-size: 1rem; text-transform: uppercase;
  color: var(--navy); margin-bottom: 4px;
}
.why-item p {
  font-size: 0.875rem; color: var(--dark-grey); line-height: 1.6;
}

/* ── Stats Band ── */
.stats-band {
  background: var(--medium-blue);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-grid .stat {
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 0 32px;
}
.stats-grid .stat:last-child { border-right: none; }
.stats-grid .stat .number {
  font-family: var(--heading); font-weight: 700;
  font-size: 2.5rem; line-height: 1; color: var(--white);
}
.stats-grid .stat .label {
  font-size: 0.8125rem; color: rgba(255,255,255,0.8);
  margin-top: 4px; font-weight: 500;
}

/* ── Testimonials ── */
.test-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px;
}
.test-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--light-grey); position: relative;
}
.test-card::before {
  content: '\201C'; font-family: Georgia, serif;
  font-size: 4rem; line-height: 1; color: var(--gold);
  opacity: 0.25; position: absolute; top: 12px; right: 20px;
}
.test-card blockquote {
  font-size: 0.9375rem; color: var(--black);
  line-height: 1.7; font-style: italic; margin-bottom: 20px;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.test-avatar svg { width: 18px; height: 18px; opacity: 0.5; }
.test-name { font-weight: 600; font-size: 0.8125rem; color: var(--navy); }
.test-title { font-size: 0.75rem; color: var(--dark-grey); }

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0B1A30 100%);
  padding: 72px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--heading); font-weight: 700;
  font-size: 2.5rem; text-transform: uppercase;
  color: var(--white); line-height: 1.1;
}
.cta-band p {
  color: rgba(255,255,255,0.65); font-size: 1rem;
  margin: 12px auto 28px; max-width: 480px;
}
.cta-band .btn-gold { font-size: 1rem; padding: 14px 36px; }

/* ── Footer ── */
.site-footer {
  background: var(--black); padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .f-logo { margin-bottom: 8px; }
.footer-brand .f-logo .logo-inner {
  display: flex; align-items: center; gap: 10px;
}
.footer-brand .f-logo .logo-crest { width: 58px; height: auto; filter: saturate(0.80); }
.footer-brand .f-logo .logo-text {
  font-family: var(--heading); font-weight: 700;
  font-size: 1.5rem; text-transform: uppercase;
  color: var(--white); letter-spacing: 0.04em;
  line-height: 1; display: flex; flex-direction: column; justify-content: center;
}
.footer-brand .f-logo .logo-accent { color: var(--gold); }
.footer-brand p {
  color: rgba(255,255,255,0.35); font-size: 0.8125rem;
  line-height: 1.7; margin-bottom: 16px; max-width: 280px;
}
.footer-col h4 {
  color: rgba(255,255,255,0.45);
  font-family: var(--body); font-weight: 600;
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.4); text-decoration: none;
  font-size: 0.8125rem; transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-label { color: rgba(255,255,255,0.25); font-weight: 400; }
.footer-brand .footer-addr {
  color: rgba(255,255,255,0.35); font-size: 0.8125rem;
  line-height: 1.5; margin-bottom: 16px; font-style: normal;
}
.footer-contact li { margin-bottom: 8px; }
.footer-subhead {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.45);
  font-family: var(--body); margin-top: 20px;
}
.footer-bbb {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  padding: 6px 14px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.75rem;
}
.footer-bbb .rate {
  background: var(--navy); color: var(--gold);
  padding: 2px 6px; border-radius: 2px; font-size: 0.65rem;
}
.footer-social {
  display: flex; gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); text-decoration: none;
  font-size: 0.65rem; font-weight: 600;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.75rem; color: rgba(255,255,255,0.25);
}
.footer-bottom a {
  color: rgba(255,255,255,0.35); text-decoration: none;
  margin-left: 20px; transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }

/* ── Leaflet Map Overrides ── */
.leaflet-control-zoom { display: none !important; }
.leaflet-control-attribution { display: none !important; }
.leaflet-interactive { cursor: default; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .page-hero h1 { font-size: 2rem; }
  .page-hero { padding: 48px 0; }
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-grid .stat { border-right: none; padding: 0; }
  .test-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .section-title { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  .page-hero h1 { font-size: 1.625rem; }
  .page-hero p { font-size: 0.9375rem; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.375rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stats-grid .stat .number { font-size: 1.75rem; }
  .test-card { padding: 24px; }
  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 1.5rem; }
  .cta-band .btn-gold { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin: 0 8px; }
}
@media (max-width: 480px) {
  .site-logo { font-size: 1.375rem; }
  .site-logo .logo-crest { width: 44px; }
  .logo-sub { font-size: 0.6875rem; }
  .page-hero { padding: 32px 0; }
  .page-hero h1 { font-size: 1.375rem; }
  .split-text h2 { font-size: 1.375rem; }
  .section-title { font-size: 1.25rem; }
  .container { padding: 0 16px; }
  .container-wide { padding: 0 16px; }
}
