/* =========================================================
   JT Security Services — Global Stylesheet
   Palette: deep navy + premium gold accent
   ========================================================= */

:root {
  --black:       #05080d;
  --black-2:     #0a0f17;
  --navy:        #0b1726;
  --navy-2:      #11233a;
  --navy-3:      #1b3050;
  --slate:       #3d5a80;
  --gold:        #c9a24b;
  --gold-bright: #e0b94f;
  --danger:      #c8392b;
  --ink:         #14202e;
  --body:        #475569;
  --muted:       #8190a3;
  --line:        #e6e9ef;
  --bg:          #ffffff;
  --bg-soft:     #f5f7fa;
  --white:       #ffffff;

  --radius:   14px;
  --radius-sm:8px;
  --shadow:   0 18px 50px rgba(11, 23, 38, .12);
  --shadow-sm:0 8px 24px rgba(11, 23, 38, .08);

  --container: 1180px;
  --header-h:  76px;

  --font-head: "Barlow Condensed", "Oswald", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: .5px;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.45rem; letter-spacing: .3px; }
p  { margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--body); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #c3d0e0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--gold);
  display: inline-block;
}
.center .eyebrow::before { display: none; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.center .section-head { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .3px;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); color: #1a1306; box-shadow: 0 12px 30px rgba(201,162,75,.35); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-3); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 17px 38px; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,11,18,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,162,75,.18);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(5,8,13,.98); box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .shield { width: 38px; height: 38px; color: var(--gold); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}
.brand-text span {
  font-size: .62rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: #c7d2e0;
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold-bright); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}
.nav-phone svg { width: 17px; height: 17px; color: var(--gold); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  color: #fff;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6,11,20,.78) 0%, rgba(6,11,20,.90) 100%),
    url('../images/hero-nyc.jpg') center 35% / cover no-repeat,
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(201,162,75,.16), transparent 65%);
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  bottom: 14px; right: 16px;
  font-size: .68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  border: 1px dashed rgba(255,255,255,.22);
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
  max-width: 820px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .hl { color: var(--gold-bright); }
.hero p { font-size: 1.22rem; color: #c8d4e3; max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: .95rem;
  color: #d7e1ee;
}
.hero-badges svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; }

/* ---------- Trust bar (logos / clients) ---------- */
.trustbar { background: var(--navy-2); padding: 30px 0; }
.trustbar .container { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.trustbar p { color: var(--muted); font-weight: 600; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin: 0; }
.trustbar .logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.logo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 999px;
  color: #aab8c9;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .5px;
}
.logo-chip svg { width: 16px; height: 16px; color: var(--gold); }

/* =========================================================
   Image placeholders (unbranded — replace with real photos)
   ========================================================= */
.ph {
  position: relative;
  background-color: var(--navy-2);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px);
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.5);
  text-align: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  min-height: 180px;
}
.ph svg { width: 42px; height: 42px; color: rgba(201,162,75,.6); }
.ph span {
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.ph--wide   { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--tall   { aspect-ratio: 3 / 4; }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--soft { background-color: #e9edf3; border-color: #cdd5e0; color: #9aa6b6; }
.ph--soft svg { color: #b7c0cf; }
.ph--round { border-radius: 50%; aspect-ratio: 1/1; }

/* Real photos (replace placeholders) */
.shot-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-2);
}
.shot-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot-frame.tall     { aspect-ratio: 3 / 4; }
.shot-frame.portrait { aspect-ratio: 4 / 5; }
.shot-frame.wide     { aspect-ratio: 16 / 10; }
.shot-frame.square   { aspect-ratio: 1 / 1; }

/* Embedded map */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* =========================================================
   Generic cards / grids
   ========================================================= */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d8deea; }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card .icon svg { width: 28px; height: 28px; color: var(--gold-bright); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--body); margin-bottom: 0; font-size: .98rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--media-right { direction: ltr; }
.split .media .ph { min-height: 380px; }
.split ul.checks { margin-top: 22px; display: grid; gap: 14px; }
ul.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
ul.checks li svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.section--navy ul.checks li { color: #dce5f0; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat {
  text-align: center;
  padding: 30px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 3.1rem;
  color: var(--gold-bright);
  line-height: 1;
  font-weight: 600;
}
.stat span { font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; color: #b9c6d6; font-weight: 600; }

/* =========================================================
   Steps / process
   ========================================================= */
.steps { counter-reset: step; display: grid; gap: 26px; }
.step { position: relative; padding-left: 78px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; left: 0; top: -6px;
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--gold);
  opacity: .55;
  font-weight: 600;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative;
  background:
    linear-gradient(120deg, rgba(11,23,38,.95), rgba(27,48,80,.92)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 16px, transparent 16px 32px),
    var(--navy);
  color: #fff;
  border-radius: 22px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #c5d2e2; max-width: 560px; margin: 0 auto 28px; font-size: 1.12rem; }
.cta-band .hero-actions { justify-content: center; margin: 0; }

/* =========================================================
   Forms
   ========================================================= */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .92rem; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #ecf7ee;
  border: 1px solid #b7e0bf;
  color: #1c7a36;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 22px;
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-success.show { display: flex; }

/* ---------- Contact info list ---------- */
.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.info-item .ic svg { width: 22px; height: 22px; color: var(--gold-bright); }
.info-item h4 { font-family: var(--font-body); font-size: 1rem; color: var(--ink); margin-bottom: 3px; }
.info-item p { margin: 0; color: var(--body); }

/* =========================================================
   Page hero (interior pages)
   ========================================================= */
.page-hero {
  background:
    linear-gradient(180deg, rgba(6,11,20,.82), rgba(6,11,20,.93)),
    url('../images/pagehero-nyc.jpg') center 38% / cover no-repeat,
    var(--navy);
  color: #fff;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px);
  text-align: center;
  position: relative;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #c2d0e0; font-size: 1.18rem; max-width: 620px; margin: 0 auto; }
.crumbs { display: flex; gap: 8px; justify-content: center; color: var(--muted); font-size: .85rem; margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs span { color: var(--gold); }

/* =========================================================
   Value / feature list with bullets
   ========================================================= */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.value {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.value .num {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 600;
}
.value h3 { margin: 6px 0 8px; }
.value p { margin: 0; color: var(--body); font-size: .97rem; }

/* ---------- Team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card .ph { margin-bottom: 16px; }
.team-card h4 { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); letter-spacing: .5px; }
.team-card span { color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Jobs / positions ---------- */
.job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s;
}
.job:hover { border-color: var(--gold); transform: translateX(4px); }
.job h3 { margin-bottom: 6px; }
.job .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.job .meta span { display: inline-flex; align-items: center; gap: 6px; }
.job .meta svg { width: 15px; height: 15px; color: var(--gold); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,162,75,.12);
  color: #97732a;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .5px;
  padding: 6px 13px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: #9fb0c3; padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer .brand-text b { color: #fff; }
.site-footer p { font-size: .95rem; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--font-body);
  color: #fff;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #9fb0c3; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--muted);
}
.footer-bottom a:hover { color: var(--gold-bright); }
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #cdd8e6;
  transition: all .2s;
}
.social a:hover { background: var(--gold); color: #1a1306; border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1000px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
  }
  .site-header.menu-open .nav-links a { padding: 14px 16px; border-radius: 8px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .media { order: -1; }
  .cta-band { border-radius: 16px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .value-grid, .team-grid, .stats, .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .job { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-call .fab-pulse { animation: none !important; }
}

/* =========================================================
   ADA / Accessibility helpers
   ========================================================= */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--gold);
  color: #1a1306;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 2px;
  border-radius: 4px;
}
.section--black :focus-visible,
.hero :focus-visible,
.site-header :focus-visible { outline-color: var(--gold-bright); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   Top utility bar (black)
   ========================================================= */
.topbar {
  background: var(--black);
  color: #9fb0c3;
  font-size: .85rem;
  border-bottom: 1px solid rgba(201,162,75,.14);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}
.topbar-trust { margin: 0; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: .3px; }
.topbar-trust svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a { color: #aebccd; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.topbar-links a:hover { color: var(--gold-bright); }
.topbar-links svg { width: 15px; height: 15px; color: var(--gold); }
.topbar-call { color: #fff !important; }

/* =========================================================
   Section variant: black
   ========================================================= */
.section--black { background: var(--black); color: #b9c6d6; }
.section--black h2, .section--black h3, .section--black h4 { color: #fff; }
.section--black .eyebrow { color: var(--gold-bright); }

/* =========================================================
   Floating "Call Now" button
   ========================================================= */
.fab-call {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #1a1306;
  font-weight: 800;
  font-size: .95rem;
  padding: 15px 22px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(201,162,75,.5);
  transition: transform .2s ease, background .2s ease;
}
.fab-call:hover { background: var(--gold-bright); transform: translateY(-2px); }
.fab-call svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.fab-call .label { position: relative; z-index: 1; }
.fab-call .fab-pulse {
  position: absolute; inset: 0;
  border-radius: 999px;
  animation: fabpulse 2.2s infinite;
  pointer-events: none;
}
@keyframes fabpulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,162,75,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(201,162,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,162,75,0); }
}
@media (max-width: 480px) {
  .fab-call { right: 16px; bottom: 16px; padding: 15px; }
  .fab-call .label { display: none; }
}

/* =========================================================
   Trust badges row (licenses / insurance / ratings)
   ========================================================= */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,162,75,.28);
  border-radius: 12px;
  padding: 16px 22px;
  min-width: 210px;
}
.badge .b-ic {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(201,162,75,.14);
  display: flex; align-items: center; justify-content: center;
}
.badge .b-ic svg { width: 22px; height: 22px; color: var(--gold-bright); }
.badge b { display: block; color: #fff; font-family: var(--font-body); font-size: .98rem; line-height: 1.2; }
.badge span { font-size: .8rem; color: #93a3b6; }

/* =========================================================
   Industries grid
   ========================================================= */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ind-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
  overflow: hidden;
}
.ind-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-bright));
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.ind-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #dbe2ee; }
.ind-card:hover::before { transform: scaleY(1); }
.ind-card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--navy), var(--black));
  display: flex; align-items: center; justify-content: center;
}
.ind-card .icon svg { width: 26px; height: 26px; color: var(--gold-bright); }
.ind-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.ind-card p { margin: 0; font-size: .92rem; color: var(--body); }

/* =========================================================
   Testimonials
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section--navy .testi, .section--black .testi {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; color: var(--gold-bright); }
.testi blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.section--navy .testi blockquote, .section--black .testi blockquote { color: #e4ebf3; }
.testi-author { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.testi-author .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
}
.testi-author b { display: block; color: var(--ink); font-size: .98rem; }
.section--navy .testi-author b, .section--black .testi-author b { color: #fff; }
.testi-author span { font-size: .85rem; color: var(--muted); }

/* =========================================================
   Service-area coverage
   ========================================================= */
.area-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.area-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.area-chip svg { width: 15px; height: 15px; color: var(--gold); }
.section--navy .area-chip, .section--black .area-chip {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  color: #dbe5f0;
}

/* =========================================================
   Emergency button / strip
   ========================================================= */
.btn--emergency {
  position: relative;
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn--emergency:hover { background: #e0473a; transform: translateY(-2px); }
.btn--emergency .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: fabpulse 1.8s infinite;
}
.emergency-card {
  background: linear-gradient(120deg, rgba(200,57,43,.12), rgba(200,57,43,.04));
  border: 1px solid rgba(200,57,43,.35);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  flex-wrap: wrap;
}
.emergency-card h4 { font-family: var(--font-body); color: var(--ink); margin-bottom: 4px; font-size: 1.1rem; }
.emergency-card p { margin: 0; color: var(--body); font-size: .95rem; }

/* =========================================================
   Responsive additions
   ========================================================= */
@media (max-width: 980px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .topbar { display: none; }
}
@media (max-width: 620px) {
  .ind-grid { grid-template-columns: 1fr; }
  .badge { min-width: 0; width: 100%; }
  .emergency-card { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Mobile & tablet — fit-to-screen refinements
   ========================================================= */
iframe { max-width: 100%; }

/* Tablet & large phones: 3-up grids become 2-up so cards have room */
@media (min-width: 621px) and (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Phones: declutter the header so the logo never crowds.
   CTAs stay covered by the big hero "Get a Free Quote" button + the floating Call button. */
@media (max-width: 620px) {
  .nav-cta .btn--gold { display: none; }
  .container { padding-inline: 16px; }
  .brand .shield { width: 34px; height: 34px; }
  .brand-text b { font-size: 1.16rem; }
  h1 { font-size: clamp(2.05rem, 8.5vw, 2.8rem); }
  .hero p, .lead { font-size: 1.06rem; }
  .hero-inner { padding-top: clamp(48px, 12vw, 96px); padding-bottom: clamp(44px, 9vw, 88px); }
  .section { padding: 52px 0; }
  .page-hero { padding: 46px 0 38px; }
  .cta-band { padding: 34px 22px; }
  .form-card { padding: 22px 18px; }
  .stat b { font-size: 2.6rem; }
}

/* Very small phones */
@media (max-width: 380px) {
  h1 { font-size: 1.95rem; }
  .btn--lg { padding: 15px 22px; font-size: .98rem; }
  .brand-text b { font-size: 1.05rem; }
  .brand-text span { font-size: .56rem; letter-spacing: 2.5px; }
}
