/* ==========================================================================
   Guards Construction & Remodeling — Site Styles
   Brand: Navy #142040 | Cobalt #1e5cb8 | White | Steel Gray
   ========================================================================== */

:root {
  --navy: #0f1a35;
  --navy-2: #142040;
  --navy-soft: #1c2c54;
  --cobalt: #1e5cb8;
  --cobalt-light: #2f74dd;
  --cobalt-dim: #dce9f9;
  --steel: #5b6478;
  --steel-light: #8a91a3;
  --paper: #f6f7fa;
  --paper-2: #eef1f6;
  --white: #ffffff;
  --ink: #12172a;
  --line: #e3e6ee;
  --gold: #c9a34e;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 26, 53, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 26, 53, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 26, 53, 0.18);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-2);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cobalt);
  display: inline-block;
}
.eyebrow.on-dark { color: #8fc0ff; }
.eyebrow.on-dark::before { background: #8fc0ff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cobalt);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(30, 92, 184, 0.35);
}
.btn-primary:hover { background: var(--cobalt-light); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30, 92, 184, 0.42); }

.btn-light {
  background: var(--white);
  color: var(--navy-2);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.2); }

.btn-outline {
  background: transparent;
  color: var(--navy-2);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--cobalt); color: var(--cobalt); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 15.5px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 82px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy-2); letter-spacing: 0.01em; line-height: 1.25; max-width: 210px; }
.brand-text .sub { font-family: var(--font-head); font-weight: 600; font-size: 10px; letter-spacing: 0.12em; color: var(--cobalt); text-transform: uppercase; margin-top: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--navy-2);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--cobalt); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-2);
}
.nav-phone svg { flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--navy-2); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-soft) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 130px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(155deg, rgba(15,26,53,0.86) 0%, rgba(20,32,64,0.82) 55%, rgba(28,44,84,0.8) 100%);
}
.hero-glow {
  position: absolute;
  top: -180px; right: -160px;
  width: 620px; height: 620px;
  z-index: 1;
  background: radial-gradient(circle, rgba(30,92,184,0.35), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}
.hero h1 span { color: #8fc0ff; }
.hero p.lead {
  font-size: 19px;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 54px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 44px;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,0.14);
  max-width: 620px;
}
.hero-stats.two-col {
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 60px;
  max-width: 520px;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--white);
  margin-bottom: 4px;
}
.hero-stats .stat span { font-size: 12.5px; color: rgba(255,255,255,0.65); letter-spacing: 0.02em; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--steel); }
.bg-navy .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--cobalt-dim);
  color: var(--cobalt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; }

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--steel); font-size: 15px; }

/* ---------- Story / split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.split-media .frame-badge {
  position: absolute;
  bottom: 26px; left: 26px; right: 26px;
  background: rgba(15,26,53,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: #fff;
}
.split-media .frame-badge b { display: block; font-family: var(--font-head); font-size: 14px; margin-bottom: 2px; }
.split-media .frame-badge span { font-size: 12.5px; color: rgba(255,255,255,0.7); }

.quote-mark { font-family: var(--font-head); font-size: 60px; color: var(--cobalt); line-height: 1; margin-bottom: 6px; }
.story-copy p { color: var(--steel); font-size: 16.5px; margin-bottom: 18px; }
.story-copy p:last-of-type { margin-bottom: 28px; }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.signature-line { width: 44px; height: 2px; background: var(--cobalt); }
.signature b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--navy-2); }
.signature span { font-size: 13px; color: var(--steel); }

/* ---------- Process / Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.journey-step { position: relative; padding: 0 26px 0 0; }
.journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px; right: 0;
  width: 26px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--cobalt) 0 6px, transparent 6px 11px);
  display: none;
}
.journey-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  margin-bottom: 20px;
}
.journey-step h3 { font-size: 17px; margin-bottom: 10px; }
.journey-step p { font-size: 14.5px; color: var(--steel); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px 30px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .quote-mark { margin-bottom: 4px; }
.testimonial-card p { color: var(--steel); font-size: 15.5px; margin-bottom: 20px; }
.testimonial-name { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy-2); }

/* ---------- Work / Case studies ---------- */
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.work-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.work-media {
  aspect-ratio: 16/10;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 60%, var(--cobalt) 140%);
  position: relative;
  display: flex; align-items: flex-end;
  padding: 24px;
}
.work-media .tag {
  position: absolute; top: 20px; left: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.work-media.has-photo { padding: 0; align-items: stretch; }
.work-media.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.work-media.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,26,53,0.55) 0%, transparent 35%);
  pointer-events: none;
}
.work-media.has-gallery { cursor: pointer; }
.work-media.has-gallery:focus-visible { outline: 3px solid var(--cobalt); outline-offset: -3px; }
.gallery-btn {
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(9,15,31,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 9px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.gallery-btn:hover { background: var(--cobalt); transform: translateY(-2px); }
.gallery-btn svg { flex-shrink: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(9,12,22,0.94);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-frame {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.lightbox img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.lightbox-caption {
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  margin-top: 18px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -46px; right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease;
}
.lightbox-nav:hover { background: var(--cobalt); }
.lightbox-nav.prev { left: -8px; }
.lightbox-nav.next { right: -8px; }
@media (max-width: 780px) {
  .lightbox { padding: 20px; }
  .lightbox-nav.prev { left: 4px; }
  .lightbox-nav.next { right: 4px; }
  .lightbox-nav { width: 40px; height: 40px; background: rgba(9,15,31,0.6); }
}
.work-media .figure {
  color: #fff;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
}
.work-media .figure small { display: block; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px;}
.work-body { padding: 28px 28px 32px; }
.work-body h3 { font-size: 20px; margin-bottom: 10px; }
.work-body p { color: var(--steel); font-size: 15px; margin-bottom: 16px; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 600;
  color: var(--cobalt);
  background: var(--cobalt-dim);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Social follow band ---------- */
.social-band {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.social-band-text h3 { font-size: 19px; margin-bottom: 6px; }
.social-band-text p { color: var(--steel); font-size: 14.5px; max-width: 460px; }
.social-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-2);
  background: #fff;
  border: 1.5px solid var(--line);
  padding: 13px 22px;
  border-radius: 999px;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.social-btn:hover { border-color: var(--cobalt); color: var(--cobalt); transform: translateY(-2px); }
.social-btn svg { flex-shrink: 0; }

/* ---------- Trusted Partners ---------- */
.partner-label { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 14px; }
.partner-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.partner-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-2);
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
}

/* ---------- Process journey (photo strip) ---------- */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.process-step { position: relative; }
.process-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(155deg, var(--paper-2) 0%, var(--line) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.process-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.process-photo.is-empty { color: var(--steel-light); border: 1.5px dashed var(--steel-light); }
.process-photo .placeholder-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 0 14px;
}
.process-step-num {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy-2);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-family: var(--font-head); font-size: 14.5px; color: var(--navy-2); margin-bottom: 4px; }
.process-step p { font-size: 13px; color: var(--steel); }
@media (max-width: 1024px) {
  .process-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .process-strip { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:first-of-type { padding-top: 0; }
.service-num { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--cobalt-dim); -webkit-text-stroke: 1.4px var(--cobalt); color: transparent; font-size: 40px; }
.service-row h3 { font-size: 21px; margin-bottom: 8px; }
.service-row p { color: var(--steel); font-size: 15px; max-width: 560px; }
.service-row .service-tags { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.service-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.service-row:hover .service-arrow { background: var(--cobalt); border-color: var(--cobalt); transform: rotate(45deg); }
.service-row:hover .service-arrow svg { stroke: #fff; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--cobalt) 0%, #2a6bd1 100%);
  border-radius: 22px;
  padding: 62px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 16px; }
.cta-band-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--navy-2); }
.trust-item svg { color: var(--cobalt); flex-shrink: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy-2);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 36px;
}
.contact-info-card h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.contact-info-card > p { color: rgba(255,255,255,0.7); font-size: 14.5px; margin-bottom: 30px; }
.contact-line {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-line:first-of-type { border-top: none; }
.contact-line .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-line b { display: block; font-family: var(--font-head); font-size: 14.5px; margin-bottom: 3px; }
.contact-line span, .contact-line a { font-size: 13.5px; color: rgba(255,255,255,0.72); }
.contact-line a:hover { color: #fff; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--navy-2); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(30,92,184,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--steel-light); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 54px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 46px; }
.footer-brand b { font-family: var(--font-head); color: #fff; font-size: 16px; }
.site-footer p.desc { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 13.5px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a, .footer-col li { display: block; font-size: 14.5px; color: rgba(255,255,255,0.62); margin-bottom: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: rgba(255,255,255,0.45);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-soft) 100%);
  color: #fff;
  padding: 74px 0 84px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 30% 30%, rgba(0,0,0,0.9), transparent 75%);
}
.page-hero.has-banner {
  background-image: linear-gradient(90deg, rgba(9,15,31,0.55) 0%, rgba(9,15,31,0.15) 45%, rgba(9,15,31,0.05) 100%), url('../assets/services-hero.jpg');
  background-size: cover;
  background-position: left center;
  padding: 100px 0 110px;
}
.page-hero.has-banner::before { display: none; }
.page-hero.has-logo-banner {
  background-image: linear-gradient(90deg, rgba(9,15,31,0.9) 0%, rgba(9,15,31,0.78) 42%, rgba(9,15,31,0.35) 68%, rgba(9,15,31,0.35) 100%), url('../assets/guards-logo-3d.jpg');
  background-size: cover;
  background-position: 78% center;
}
.page-hero.has-logo-banner::before { display: none; }
.page-hero.has-logo-banner h1,
.page-hero.has-logo-banner p { max-width: 560px; }
.page-hero.has-work-banner {
  background-image: linear-gradient(90deg, rgba(9,15,31,0.62) 0%, rgba(9,15,31,0.2) 48%, rgba(9,15,31,0.05) 100%), url('../assets/our-work-hero.jpg');
  background-size: cover;
  background-position: left center;
  padding: 100px 0 110px;
}
.page-hero.has-work-banner::before { display: none; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); position: relative; z-index: 2; max-width: 700px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 560px; margin-top: 16px; position: relative; z-index: 2; }
.breadcrumb { position: relative; z-index: 2; font-family: var(--font-head); font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy-2);
  padding: 12px 16px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
}
.mobile-callbar .row { display: flex; gap: 10px; }
.mobile-callbar a { flex: 1; text-align: center; padding: 14px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.mobile-callbar .call { background: rgba(255,255,255,0.1); color: #fff; }
.mobile-callbar .book { background: var(--cobalt); color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 16/9; }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 48px 32px; }
}

/* ---------- Accessibility: focus states, skip link, reduced motion ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.service-arrow:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--navy-2);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .card, .work-card, .service-arrow {
    transition: none !important;
  }
  .hero-video { display: none; }
}

/* ---------- Header shrink on scroll ---------- */
.site-header.is-scrolled .nav-inner { height: 78px; }
.site-header.is-scrolled .brand img { height: 58px; }
.nav-inner, .brand img { transition: height 0.2s ease; }

/* ---------- Form: honeypot, error/success states, optional-field toggle ---------- */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.captcha-field { margin: 6px 0 22px; }
.captcha-field .field-error { margin-top: 8px; }
.captcha-setup-note {
  font-size: 11.5px;
  color: var(--steel-light);
  margin-top: 6px;
  display: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c0392b;
}
.field-error {
  font-size: 12.5px;
  color: #c0392b;
  margin-top: 2px;
  display: none;
}
.field.has-error .field-error { display: block; }

.form-success {
  display: none;
  background: #eaf6ec;
  border: 1px solid #bfe3c4;
  color: #1e6b2e;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  margin-bottom: 20px;
}
.form-success.show { display: block; }

.optional-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--cobalt);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 8px;
}
.optional-fields {
  display: none;
  padding-top: 6px;
}
.optional-fields.open { display: block; }

.required-mark { color: #c0392b; }
.field-hint { font-size: 12px; color: var(--steel-light); margin-top: -2px; }

/* ---------- Legal / utility pages ---------- */
.legal-body h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-body p, .legal-body li { color: var(--steel); font-size: 15px; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; list-style: disc; }
.draft-banner {
  background: #fff4e0;
  border: 1px solid #f0cd8c;
  color: #7a4c00;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 36px;
}
.not-found-hero { text-align: center; padding: 140px 0 100px; }
.not-found-hero .code { font-family: var(--font-head); font-weight: 800; font-size: 96px; color: var(--cobalt-dim); -webkit-text-stroke: 2px var(--cobalt); color: transparent; line-height: 1; }

@media (max-width: 780px) {
  .nav-links, .nav-phone-wrap { display: none; }
  .menu-toggle { display: flex; }
  .nav-inner { height: auto; min-height: 76px; padding: 12px 0; }
  .brand { gap: 10px; }
  .brand img { height: 44px; }
  .brand-text .name { font-size: 12px; max-width: 150px; line-height: 1.2; }
  .nav-cta { gap: 12px; }
  .nav-cta .btn-primary { display: none; }
  .site-header.is-scrolled .nav-inner { height: auto; min-height: 64px; }
  .site-header.is-scrolled .brand img { height: 38px; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 22px 28px 30px;
    border-bottom: 1px solid var(--line);
    gap: 20px;
    box-shadow: var(--shadow-md);
  }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 90px; }
  .hero-video { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hero-stats.two-col { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 100%; }
  .hero-stats .stat b { font-size: 22px; }
  section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-arrow { display: none; }
  body { padding-bottom: 68px; }
  .mobile-callbar { display: block; }
  .cta-band { padding: 38px 24px; }
}
