/* =========================================================
   3D GUARDIAN — Private Security Services
   Shared stylesheet — colors, type, layout, components
   ========================================================= */

:root {
  /* Brand — purple / magenta gradient family (from company mark) */
  --brand-950: #180f20;
  --brand-900: #26152f;
  --brand-800: #391c46;
  --brand-700: #542a63;
  --brand-600: #723a7c;
  --brand-500: #94488f;
  --brand-400: #b8619f;
  --brand-300: #d78fbc;
  --brand-200: #ecbdd8;
  --brand-100: #f7e2ef;

  /* Neutrals */
  --navy: #12141b;
  --navy-soft: #1b1e29;
  --ink: #1d1c22;
  --ink-soft: #5a5763;
  --ink-faint: #8b8792;
  --paper: #ffffff;
  --paper-alt: #f8f5f9;
  --line: #e8e1e8;

  /* Utility accent (small labels / checkmarks) */
  --accent: #b8619f;

  --shadow-sm: 0 2px 10px rgba(24, 15, 32, 0.08);
  --shadow-md: 0 12px 32px rgba(24, 15, 32, 0.14);
  --shadow-lg: 0 24px 60px rgba(24, 15, 32, 0.22);

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;

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

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.14; }
h3 { font-size: 1.35rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-300));
}
.eyebrow.on-dark { color: var(--brand-200); }

.tag-pill {
  display: inline-block;
  background: linear-gradient(120deg, var(--brand-700), var(--brand-500));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 5px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .03em;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--brand-700) 0%, var(--brand-400) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-dark {
  background: transparent;
  border-color: var(--brand-500);
  color: var(--brand-700);
}
.btn-outline-dark:hover { background: var(--brand-100); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
  max-width: 1500px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 52px; width: auto; border-radius: 4px; }
.brand-text { font-family: var(--font-head); color: #fff; line-height: 1.1; }
.brand-text strong { display: block; font-size: 1.55rem; font-weight: 600; letter-spacing: .03em; }
.brand-text span { display: block; font-size: .86rem; letter-spacing: .14em; color: var(--brand-200); text-transform: uppercase; }

.nav-main { display: flex; align-items: center; gap: 18px; }
.nav-main a {
  color: #d9d4de;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.nav-main a:hover, .nav-main a.active { color: #fff; }
.nav-main a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
}
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn-primary { font-size: 1.15rem; padding: 19px 38px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--brand-900) 55%, var(--brand-800) 100%);
  color: #fff;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 40px;
  padding-top: 84px;
  padding-bottom: 84px;
  min-height: 640px;
}
.hero-copy .eyebrow { color: var(--brand-200); }
.hero-copy h1 { color: #fff; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(120deg, var(--brand-300), var(--brand-100)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p.lead { color: #cfc7d4; font-size: 1.12rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 30px; margin-top: 46px; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: #fff; }
.hero-stats div span { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-200); }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 140px; height: 140px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  z-index: -1;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  background: linear-gradient(150deg, var(--navy) 0%, var(--brand-900) 60%, var(--brand-700) 130%);
  color: #fff;
  padding: 76px 0 68px;
}
.page-header .eyebrow { color: var(--brand-200); }
.page-header h1 { color: #fff; margin-bottom: .3em; }
.page-header p { color: #d3cbd8; max-width: 62ch; font-size: 1.05rem; }
.crumb { font-size: .82rem; color: var(--brand-200); letter-spacing: .04em; margin-bottom: 18px; }
.crumb a { color: #fff; opacity: .7; }
.crumb a:hover { opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark {
  background: linear-gradient(155deg, var(--navy) 0%, var(--brand-900) 100%);
  color: #fff;
}
.section-dark p { color: #cfc7d4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }

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

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .num {
  position: absolute; top: 14px; left: 14px;
  background: rgba(18,20,27,.72);
  color: #fff;
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .05em;
  padding: 5px 11px;
  border-radius: 100px;
}
.service-card .body { padding: 24px 24px 28px; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { margin: 0; font-size: .96rem; }
.service-card .learn { display: inline-block; margin-top: 14px; font-size: .84rem; font-weight: 700; color: var(--brand-600); letter-spacing: .02em; }

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-copy ul.checklist { margin-top: 18px; }

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--brand-600), var(--brand-400));
  color: #fff;
  font-size: .68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.section-dark .checklist li { color: #d3cbd8; }

/* ---------- Info tiles (Licensed / Training style) ---------- */
.info-tile .tag-pill { margin-bottom: 14px; }
.info-tile img { border-radius: var(--radius); margin-bottom: 22px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-sm); }
.info-tile p { font-size: .97rem; }

/* ---------- Quote block ---------- */
.quote-block {
  position: relative;
  padding-left: 34px;
  border-left: 3px solid var(--brand-400);
}
.quote-block .mark { font-family: var(--font-head); font-size: 3.4rem; color: var(--brand-400); line-height: .4; display: block; margin-bottom: 18px; }
.quote-block p { font-family: var(--font-head); font-weight: 300; font-size: 1.5rem; font-style: italic; color: var(--ink); line-height: 1.4; }
.section-dark .quote-block p { color: #fff; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px 20px;
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.stat-strip div { text-align: center; border-right: 1px solid var(--line); }
.stat-strip div:last-child { border-right: none; }
.stat-strip strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 600; background: linear-gradient(120deg, var(--brand-700), var(--brand-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-strip span { font-size: .78rem; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }

/* ---------- Coverage / insurance list ---------- */
.coverage-list { display: grid; gap: 16px; margin-top: 20px; }
.coverage-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.coverage-item .label { font-weight: 600; color: var(--ink); }
.coverage-item .amount { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--brand-600); white-space: nowrap; }

/* ---------- Badge strip ---------- */
.badge-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.badge-strip img {
  height: 58px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 8px 14px;
  box-shadow: var(--shadow-sm);
}
.badge-strip.on-dark img { background: #fff; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--brand-800) 0%, var(--brand-500) 100%);
  border-radius: var(--radius);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin: 0 0 .2em; }
.cta-banner p { color: #f1defa; margin: 0; }

/* ---------- Offices / contact cards ---------- */
.office-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.office-card h3 { margin-bottom: 4px; }
.office-card .office-kicker { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-500); font-weight: 700; margin-bottom: 10px; display: block; }
.office-card dl { margin: 18px 0 0; }
.office-card dt { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-top: 14px; }
.office-card dd { margin: 3px 0 0; font-weight: 600; color: var(--ink); }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.form-row.full { grid-template-columns: 1fr; }
label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .03em; margin-bottom: 7px; color: var(--ink); }
input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper-alt);
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-300); outline-offset: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9b4c0; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 48px; border-radius: 4px; margin-bottom: 16px; }
.footer-brand p { color: #a9a3b1; font-size: 1.14rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col a { color: #c7c2cd; font-size: 1.16rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 1.02rem; color: #8d879a; flex-wrap: wrap; gap: 10px; }
.footer-bottom .badge-strip { justify-content: flex-start; }
.footer-bottom .badge-strip img { height: 34px; padding: 5px 8px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-top: 56px; }
  .hero-media { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .feature-row.reverse .feature-media { order: 0; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip div:nth-child(2) { border-right: none; }
  .hero-stats { grid-template-columns: repeat(4, auto); gap: 22px; }
}
@media (max-width: 1410px) {
  .nav-main {
    position: absolute;
    top: 112px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 28px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav-main.open { display: flex; }
  .nav-main a { width: 100%; padding: 12px 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { display: none; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .stat-strip { grid-template-columns: 1fr 1fr; margin-top: -70px; }
}

/* =========================================================
   Contact Form 7 compatibility
   If the static .contact-form on contact.html gets replaced
   with a CF7 shortcode (embedded via Elementor's Shortcode
   widget), these rules restyle CF7's default markup to match.
   ========================================================= */
.wpcf7-form { max-width: 100%; }
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper-alt);
}
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  padding: 15px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  background: linear-gradient(120deg, var(--brand-700) 0%, var(--brand-400) 100%);
  color: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.wpcf7-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.wpcf7-not-valid-tip { color: #c0392b; font-size: .8rem; margin-top: 4px; }
.wpcf7-response-output { border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 16px; font-size: .9rem; }

/* =========================================================
   Kill Elementor's default Container padding/gap
   Elementor wraps the page in a ".e-con" flex container with
   a built-in 10px padding on every side and a 20px gap between
   children. Since our header/hero/footer are full-bleed dark
   sections, that padding shows up as a white frame around the
   whole page. Zero it out so our sections reach true edge-to-edge.
   ========================================================= */
body.elementor-page .e-con.e-con-full,
body.elementor-page .e-con {
  padding: 0 !important;
  gap: 0 !important;
  max-width: none !important;
}
html, body { margin: 0 !important; padding: 0 !important; }
