/* ==========================================================================
   Guard For America — Design Tokens
   ========================================================================== */
:root {
  --navy-950: #0a1b33;
  --navy-900: #0d2547;
  --navy-800: #123262;
  --navy-700: #1a4180;
  --red-600: #c8102e;
  --red-700: #a50d26;
  --red-50: #fdecee;
  --white: #ffffff;
  --gray-50: #f6f7fa;
  --gray-100: #eef0f4;
  --gray-200: #e2e6ec;
  --gray-300: #cbd1db;
  --charcoal: #24272e;
  --charcoal-soft: #4a4f58;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(10, 27, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 27, 51, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 27, 51, 0.16);

  --container: 1200px;
  --header-h: 84px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
@media (max-width: 1019px) { body.has-sticky-bar { padding-bottom: 70px; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; color: var(--charcoal-soft); }
strong { color: var(--charcoal); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0; }
@media (max-width: 720px) {
  section { padding: 48px 0; }
  body { font-size: 16px; }
}
.section-tight { padding: 40px 0; }
.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy p, .bg-navy strong { color: var(--white); }
.bg-navy .eyebrow { color: #a9c1e6; }
.bg-gray { background: var(--gray-50); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow .icon { width: 16px; height: 16px; }

.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }

.icon { width: 22px; height: 22px; stroke: currentColor; flex-shrink: 0; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 42px; height: 42px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  white-space: nowrap;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 19px; height: 19px; }
.btn-primary { background: var(--red-600); color: var(--white); border-color: var(--red-600); }
.btn-primary:hover { background: var(--red-700); border-color: var(--red-700); }
.btn-navy { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.btn-navy:hover { background: var(--navy-800); border-color: var(--navy-800); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 1.12rem; font-weight: 800; color: var(--navy-900); letter-spacing: -0.01em; }
.brand-name span { font-size: .74rem; font-weight: 700; color: var(--red-600); text-transform: uppercase; letter-spacing: .05em; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: .98rem;
  color: var(--charcoal);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy-900); border-bottom-color: var(--red-600); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: none; align-items: center; gap: 9px; font-weight: 700; color: var(--navy-900); font-size: 1.02rem; }
.header-phone .icon { color: var(--red-600); }
.header-quote-desktop { display: none; }
.mobile-call-btn, .mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--navy-900);
}
.mobile-call-btn { background: var(--red-600); border-color: var(--red-600); color: var(--white); }

@media (min-width: 1020px) {
  .main-nav { display: block; }
  .header-phone { display: inline-flex; }
  .header-quote-desktop { display: inline-flex; }
  .mobile-call-btn, .mobile-menu-btn { display: none; }
}
@media (max-width: 420px) {
  .brand-name span { display: none; }
  .brand-name strong { font-size: 1rem; }
  .header-actions { gap: 10px; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 190;
  transform: translateX(100%);
  transition: transform .22s ease;
  overflow-y: auto;
  padding: 28px 24px 40px;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 15px 4px; font-size: 1.15rem; font-weight: 700; color: var(--navy-900); border-bottom: 1px solid var(--gray-100); }
.mobile-nav .mobile-nav-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1020px) { .mobile-nav { display: none !important; } }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Mobile sticky call/quote bar
   ========================================================================== */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 210;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 20px rgba(10,27,51,.14);
}
.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.sticky-bar .call { background: var(--red-600); color: var(--white); }
.sticky-bar .quote { background: var(--navy-900); color: var(--white); }
@media (min-width: 1020px) { .sticky-bar { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); }
.hero .container { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.hero-copy .eyebrow { }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { font-size: 1.16rem; color: var(--charcoal-soft); max-width: 620px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--navy-900); font-size: .95rem; }
.hero-badge .icon { color: var(--red-600); width: 20px; height: 20px; }

.hero-visual {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-950) 100%);
  border-radius: var(--radius-lg);
  padding: 46px 34px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(200,16,46,.35), transparent 70%);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
}
.hero-visual .icon-xl { width: 74px; height: 74px; color: var(--white); margin-bottom: 18px; position: relative; z-index: 1; }
.hero-visual h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; position: relative; z-index: 1; }
.hero-visual p { color: #cfdaf0; font-size: .98rem; margin-bottom: 0; position: relative; z-index: 1; }
.hero-visual .divider { width: 46px; height: 3px; background: var(--red-600); margin: 18px 0; border-radius: 2px; position: relative; z-index: 1; }

@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.15fr 0.85fr; }
}

/* Hero visual — photo variant */
.hero-visual.has-photo { padding: 0; justify-content: flex-end; min-height: 420px; }
.hero-visual.has-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-visual.has-photo::before, .hero-visual.has-photo::after { z-index: 1; }
.hero-visual.has-photo .photo-caption {
  position: relative; z-index: 2;
  width: 100%;
  padding: 26px 28px;
  background: linear-gradient(0deg, rgba(10,27,51,.92) 10%, rgba(10,27,51,.3) 75%, transparent 100%);
}
.hero-visual.has-photo .photo-caption strong { display: block; color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.hero-visual.has-photo .photo-caption span { color: #cfdaf0; font-size: .9rem; }

/* On-the-job photo gallery */
.photo-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .photo-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  background: rgba(10,27,51,.85);
  color: var(--white);
  font-weight: 700;
  font-size: .82rem;
  padding: 7px 13px;
  border-radius: 999px;
}
.photo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,27,51,.55) 0%, transparent 45%);
}

/* Inline content photo (service pages) */
.content-photo { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); margin: 28px 0; }
.content-photo img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.content-photo figcaption { padding: 12px 18px; background: var(--gray-50); color: var(--charcoal-soft); font-size: .85rem; border-top: 1px solid var(--gray-200); }

/* Trust bar */
.trust-bar { background: var(--navy-900); padding: 0; }
.trust-bar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.trust-bar li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 26px;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  border-right: 1px solid rgba(255,255,255,.12);
}
.trust-bar li:last-child { border-right: none; }
.trust-bar .icon { color: var(--red-600); width: 20px; height: 20px; }
@media (max-width: 720px) {
  .trust-bar ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .trust-bar li { flex-shrink: 0; }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-300); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: .96rem; margin-bottom: 14px; flex-grow: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red-600); font-size: .92rem; }
.card-link .icon { width: 16px; height: 16px; }
.card-link:hover { color: var(--red-700); }

.industry-card { text-align: center; align-items: center; }
.industry-card .card-icon { background: var(--gray-100); color: var(--navy-900); }

.location-card { border-top: 4px solid var(--red-600); }

/* ==========================================================================
   Lists / checkmarks
   ========================================================================== */
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 13px; color: var(--charcoal-soft); }
.check-list .icon { color: var(--red-600); flex-shrink: 0; margin-top: 3px; width: 19px; height: 19px; }

/* ==========================================================================
   FAQ (native details/summary — zero JS)
   ========================================================================== */
.faq-list { max-width: 780px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--red-600); transition: transform .18s ease; flex-shrink: 0; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 22px 20px; margin: 0; color: var(--charcoal-soft); }

/* ==========================================================================
   CTA bands
   ========================================================================== */
.cta-band {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(200,16,46,.28), transparent 70%);
}
.cta-band h2 { color: var(--white); position: relative; z-index: 1; }
.cta-band p { color: #cfdaf0; max-width: 620px; margin: 0 auto 28px; position: relative; z-index: 1; }
.cta-band .btn-group { justify-content: center; position: relative; z-index: 1; }
.cta-band-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; }

.cta-strip {
  background: var(--red-50);
  border: 1px solid #f6d3d9;
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cta-strip h3 { margin-bottom: 4px; font-size: 1.15rem; }
.cta-strip p { margin-bottom: 0; font-size: .95rem; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero { background: var(--navy-900); color: var(--white); padding: 56px 0 48px; }
.page-hero .eyebrow { color: #ffb0bc; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; max-width: 820px; }
.page-hero p { color: #cfdaf0; font-size: 1.08rem; max-width: 680px; margin-bottom: 26px; }
.breadcrumbs { font-size: .85rem; color: #a9c1e6; margin-bottom: 18px; }
.breadcrumbs a { color: #a9c1e6; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span { margin: 0 6px; }

/* ==========================================================================
   Content layout (service / industry / location detail pages)
   ========================================================================== */
.detail-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .detail-layout { grid-template-columns: 2fr 1fr; align-items: start; } }
.detail-main h2 { margin-top: 40px; }
.detail-main h2:first-child { margin-top: 0; }
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 26px; }
.sidebar-card h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--navy-900); margin-bottom: 16px; }
.sidebar-card ul li { margin-bottom: 10px; }
.sidebar-card ul a { font-weight: 600; color: var(--charcoal-soft); font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.sidebar-card ul a:hover { color: var(--red-600); }
.sidebar-card ul a .icon { width: 16px; height: 16px; color: var(--red-600); flex-shrink: 0; }
.sidebar-cta { background: var(--navy-900); color: var(--white); }
.sidebar-cta h4 { color: var(--white); }
.sidebar-cta p { color: #cfdaf0; font-size: .92rem; }
.sidebar-cta .btn { width: 100%; margin-bottom: 10px; }
.sidebar-phone { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--white); justify-content: center; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--navy-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--charcoal-soft); margin-top: 14px; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: #c7d3e8; padding: 64px 0 0; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-name strong { color: var(--white); }
.footer-brand p { color: #9fb0cc; font-size: .92rem; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: #b7c4dc; font-size: .93rem; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; color: #b7c4dc; font-size: .93rem; }
.footer-contact .icon { color: var(--red-600); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 32px; font-size: .84rem; color: #8494b3; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--white); }

/* ==========================================================================
   Misc utilities
   ========================================================================== */
.mt-0 { margin-top: 0; }
.text-muted { color: var(--charcoal-soft); }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gray-100); color: var(--navy-900);
  font-weight: 700; font-size: .82rem;
  padding: 8px 14px; border-radius: 999px;
}
.badge .icon { width: 15px; height: 15px; color: var(--red-600); }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }
.stat-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 10px; }
.stat-row div { flex: 1 1 160px; }
.thankyou-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.thankyou-icon .icon { width: 40px; height: 40px; }
