/* ==========================================================================
   NATIONWIDE SECURITY SERVICE — Site Stylesheet
   Shared across all pages. Brand tokens mirror the design system
   (colors_and_type.css). Layout utilities (.e-section / .e-container /
   .e-widget) are named to map 1:1 onto Elementor's Section → Container →
   Widget model so a developer can rebuild each block in Elementor fast.
   ========================================================================== */

:root {
  /* Brand core */
  --navy: #102872;  --navy-700: #0d2061;  --navy-900: #08153f;  --navy-500: #2a3f8f;
  --red: #a91c0a;   --red-700: #8c1408;   --red-action: #a91c0a;
  /* Neutrals */
  --white: #ffffff; --paper: #f6f7fb; --gray-100: #eef1f6; --gray-200: #dce1ea;
  --gray-400: #9aa3b5; --gray-600: #5b6478; --ink: #1a2233;
  /* Semantic */
  --fg1: var(--ink); --fg2: var(--gray-600); --fg-on-navy: #ffffff; --fg-on-navy-2: #c5cce6;
  --bg: var(--white); --bg-alt: var(--paper); --card-bg: #ffffff;
  --overlay-navy: rgba(16,40,114,0.78); --overlay-navy-strong: rgba(8,21,63,0.86);
  /* Type */
  --font-display: 'Poppins','Helvetica Neue',Arial,sans-serif;
  --font-body: 'Poppins','Helvetica Neue',Arial,sans-serif;
  --fs-hero: 64px; --fs-h1: 48px; --fs-h2: 36px; --fs-h3: 24px;
  --fs-lead: 20px; --fs-body: 17px; --fs-small: 15px; --fs-eyebrow: 13px;
  --lh-tight: 1.1; --lh-snug: 1.25; --lh-body: 1.65;
  --fw-regular: 400; --fw-semibold: 600; --fw-bold: 700; --fw-black: 800;
  /* Radius / shadow */
  --r-sm: 3px; --r-md: 6px; --r-lg: 10px; --r-pill: 999px;
  --shadow-card: 0 6px 22px rgba(16,40,114,0.10);
  --shadow-card-hover: 0 16px 40px rgba(16,40,114,0.20);
  --shadow-header: 0 2px 14px rgba(8,21,63,0.12);
  --text-shadow-hero: 0 3px 16px rgba(0,0,0,0.5);
  --text-shadow-redglow: 0 2px 10px rgba(169,28,10,0.35);
  /* Spacing */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px; --sp-6:32px;
  --sp-7:48px; --sp-8:64px; --sp-9:96px; --sp-10:128px;
  /* Layout */
  --container: 1200px; --header-h: 88px; --topbar-h: 40px;
}

/* ---------------- Reset ---------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); font-family: var(--font-body); color: var(--ink);
  font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------------- Elementor-mirror layout utilities ---------------- */
.e-section { padding: var(--sp-9) 0; position: relative; }
.e-section--tight { padding: var(--sp-7) 0; }
.e-section--paper { background: var(--paper); }
.e-section--navy { background: var(--navy); color: var(--fg-on-navy); }
.e-section--dark { background: var(--navy-900); color: var(--fg-on-navy); }
.e-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.e-container--wide { max-width: 1340px; }

/* Section intro block (eyebrow + heading + lead) */
.sec-head { max-width: 760px; }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.eyebrow { font-weight: var(--fw-bold); font-size: var(--fs-eyebrow); letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.sec-head.is-center .eyebrow { justify-content: center; }
.sec-title { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--fs-h2); line-height: var(--lh-snug); color: var(--navy); letter-spacing: -.01em; }
.e-section--navy .sec-title, .e-section--dark .sec-title { color: #fff; }
.sec-lead { font-size: var(--fs-lead); color: var(--fg2); margin-top: 18px; line-height: 1.6; }
.e-section--navy .sec-lead, .e-section--dark .sec-lead { color: var(--fg-on-navy-2); }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; font-size: 14px;
  border: 2px solid transparent; border-radius: var(--r-sm); padding: 16px 34px; color: #fff;
  transition: background .16s, border-color .16s, color .16s, transform .16s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); }
.btn--red:hover { background: var(--red-700); }
.btn--navy { background: var(--navy); }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--ghost-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ghost-navy:hover { background: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------------- Top utility bar ---------------- */
.topbar { background: var(--navy-900); color: var(--fg-on-navy-2); height: var(--topbar-h);
  font-size: 13px; }
.topbar-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--red); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right a { display: inline-flex; opacity: .8; transition: opacity .15s; }
.topbar-right a:hover { opacity: 1; }
.topbar-right svg, .topbar-right img { width: 15px; height: 15px; }

/* ---------------- Header / nav ---------------- */
.header { background: #fff; box-shadow: var(--shadow-header); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: var(--header-h);
  display: flex; align-items: center; gap: 26px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.navlink { color: var(--navy); font-weight: var(--fw-semibold); font-size: 15px; letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s; }
.navlink:hover { color: var(--red); }
.navlink.is-active { color: var(--navy); border-color: var(--red); }
.navlink svg { width: 15px; height: 15px; }
/* Dropdown submenu */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > .navlink { gap: 4px; }
.subnav { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md); box-shadow: var(--shadow-card-hover);
  min-width: 210px; padding: 8px 0; opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s; z-index: 120; }
.nav-item:hover .subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.subnav a { display: block; padding: 11px 20px; color: var(--navy); font-weight: var(--fw-semibold); font-size: 14px; white-space: nowrap; transition: background .12s, color .12s; }
.subnav a:hover { background: var(--gray-100); color: var(--red); }
.nav-item:hover > .navlink svg { transform: rotate(180deg); transition: transform .15s; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; flex-direction: row; align-items: center; gap: 9px; }
.header-phone .lbl { color: var(--red); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 18px; line-height: 1; white-space: nowrap; }
.header-phone .num { color: var(--navy); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 18px; white-space: nowrap; line-height: 1; }
.header .btn { padding: 10px 20px; font-size: 12px; border-radius: var(--r-pill); }
.menu-toggle { display: none; background: none; border: none; color: var(--navy); }
.menu-toggle svg { width: 30px; height: 30px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center;
  background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, var(--overlay-navy-strong) 0%, var(--overlay-navy) 55%, var(--overlay-navy-strong) 100%); }
.hero-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 80px 24px;
  width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-copy { color: #fff; max-width: 620px; }
.hero-title { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--fs-hero);
  line-height: 1.08; letter-spacing: -.02em; text-shadow: var(--text-shadow-hero); color: #fff; }
.hero-title .accent { color: #fff; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: var(--fw-bold);
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 8px 16px; border-radius: var(--r-pill); }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(169,28,10,.3); }
.hero-rule { width: 70px; height: 4px; background: var(--red); margin: 26px 0; }
.hero-form .hero-eyebrow { margin-bottom: 18px; }
.hero-sub { font-size: var(--fs-lead); line-height: 1.55; color: #eef1f6; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* Hero quote card */
.quote-card { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: 0 22px 60px rgba(8,21,63,.4);
  border-top: 5px solid var(--red); }
.quote-card h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 23px; color: var(--navy); }
.quote-card p.kick { color: var(--fg2); font-size: 14px; margin: 8px 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: var(--fw-semibold); font-size: 13px; color: var(--navy); margin-bottom: 7px; }
.field .req { color: var(--red); font-style: italic; font-weight: var(--fw-semibold); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--gray-200); border-radius: var(--r-sm);
  padding: 13px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fafbfd; transition: border-color .15s; }
.field select { appearance: none; -webkit-appearance: none; color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23a91c0a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.field select.has-val { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.quote-ok { display: none; align-items: center; gap: 8px; margin-top: 14px; color: #1b7a3d; font-weight: var(--fw-semibold); font-size: 14px; }
.quote-ok.show { display: flex; }
.quote-ok svg { width: 18px; height: 18px; }

/* ---------------- Trust bar ---------------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--gray-200); }
.trustbar-inner { max-width: var(--container); margin: 0 auto; padding: 22px 24px; display: flex;
  flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 11px; color: var(--navy); font-weight: var(--fw-semibold); font-size: 15px; }
.trust-item svg { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; }

/* ---------------- Stats band ---------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 56px; line-height: 1;
  color: #fff; letter-spacing: -.02em; }
.stat .num .suf { color: var(--red); }
.stat .lbl { color: var(--fg-on-navy-2); font-size: 15px; margin-top: 12px; letter-spacing: .02em; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }

/* ---------------- Feature / why-us list ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--media-right { grid-template-columns: 1.05fr .95fr; }
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: 0; bottom: 24px; background: var(--red); color: #fff;
  padding: 16px 24px; border-radius: 0 var(--r-md) var(--r-md) 0; }
.media-badge .big { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 30px; line-height: 1; }
.media-badge .small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .9; margin-top: 4px; }
.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature { display: flex; gap: 16px; }
.feature-ico { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--navy); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; }
.feature-ico svg { width: 24px; height: 24px; color: #fff; }
.feature h4 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 18px; color: var(--navy); margin-bottom: 5px; }
.feature p { font-size: 15px; color: var(--fg2); line-height: 1.55; }

/* ---------------- Service cards ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.service-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 32px 26px;
  transition: box-shadow .2s, transform .2s, border-color .2s; }
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-5px); border-color: transparent; }
.service-ico { width: 58px; height: 58px; border-radius: var(--r-md); background: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background .2s; }
.service-card:hover .service-ico { background: var(--red); }
.service-ico svg { width: 28px; height: 28px; color: #fff; }
.service-card h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--fg2); line-height: 1.6; }
.service-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--red);
  font-weight: var(--fw-bold); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.service-card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.service-card:hover .more svg { transform: translateX(4px); }

/* ---------------- Industry cards (photo) ---------------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ind-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; display: flex;
  align-items: flex-end; background-size: cover; background-position: right center; isolation: isolate; }
.ind-card::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--navy-900) 8%, rgba(8,21,63,.15) 65%, rgba(8,21,63,.35) 100%);
  transition: background .25s; }
.ind-card:hover::before { background: linear-gradient(to top, var(--navy-900) 20%, rgba(16,40,114,.45) 80%); }
.ind-card-body { padding: 26px; color: #fff; position: relative; z-index: 1; }
.ind-card-body h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 21px; line-height: 1.2; }
.ind-card-body p { font-size: 14px; color: #dfe4f3; margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .3s, opacity .3s, margin .3s; }
.ind-card:hover .ind-card-body p { max-height: 80px; opacity: 1; margin-top: 10px; }
.ind-card .tag { position: absolute; top: 18px; left: 18px; z-index: 1; background: var(--red); color: #fff;
  font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-sm); }

/* ---------------- How it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 34px 28px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); }
.e-section--navy .step, .e-section--dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.step-num { counter-increment: step; font-family: var(--font-display); font-weight: var(--fw-black); font-size: 52px;
  color: var(--gray-200); line-height: 1; }
.e-section--navy .step-num, .e-section--dark .step-num { color: rgba(255,255,255,.16); }
.step-num::before { content: "0" counter(step); }
.step h4 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 20px; color: var(--navy); margin: 14px 0 10px; }
.e-section--navy .step h4, .e-section--dark .step h4 { color: #fff; }
.step p { font-size: 15px; color: var(--fg2); line-height: 1.6; }
.e-section--navy .step p, .e-section--dark .step p { color: var(--fg-on-navy-2); }

/* ---------------- Coverage map ---------------- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.coverage-map img { width: 100%; }
.states-cols { columns: 3; column-gap: 18px; margin-top: 24px; }
.states-cols a { display: block; color: var(--fg-on-navy-2); font-size: 14px; padding: 5px 0; transition: color .15s; }
.states-cols a:hover { color: #fff; }
.states-cols a::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); margin-right: 9px; vertical-align: middle; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 30px; position: relative; }
.testi .stars { display: flex; gap: 3px; color: var(--red); margin-bottom: 16px; }
.testi .stars svg { width: 18px; height: 18px; fill: var(--red); }
.testi blockquote { font-size: 16px; line-height: 1.6; color: var(--fg1); }
.testi .who { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.testi .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 17px; }
.testi .who .name { font-weight: var(--fw-bold); color: var(--navy); font-size: 15px; }
.testi .who .role { font-size: 13px; color: var(--fg2); }

/* ---------------- Affiliations ---------------- */
.affil-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 56px; }
.affil { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px; }
.affil .pre { color: var(--fg2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.affil .name { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 40px; color: var(--navy); line-height: 1; margin: 6px 0; letter-spacing: -.01em; }
.affil .name sup { font-size: 16px; }
.affil .sub { font-size: 12px; color: var(--fg2); max-width: 230px; }
.affil-div { width: 1px; height: 64px; background: var(--gray-200); }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--red); color: #fff; text-align: center; }
.cta-band .e-container { padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 40px; line-height: 1.15; }
.cta-band p { font-size: var(--fs-lead); opacity: .92; margin: 16px auto 30px; max-width: 640px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-band .btn--navy { background: var(--navy); }
.cta-band .btn--navy:hover { background: var(--navy-900); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.7); }
.cta-phone { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 30px; }

/* ---------------- Page banner (interior pages) ---------------- */
.banner { position: relative; background-size: cover; background-position: center; padding: 78px 0 70px; }
.banner::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--overlay-navy-strong), var(--overlay-navy)); }
.banner-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.banner h1 { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--fs-hero);
  color: #fff; line-height: 1.08; letter-spacing: -.02em; text-shadow: var(--text-shadow-hero); }
.banner .crumb { display: flex; align-items: center; gap: 9px; color: var(--fg-on-navy-2); font-size: 14px; margin-top: 16px; }
.banner .crumb a:hover { color: #fff; }
.banner .crumb svg { width: 14px; height: 14px; }
.banner .lead { color: #eef1f6; font-size: var(--fs-lead); margin-top: 18px; max-width: 640px; }

/* ---------------- Prose ---------------- */
.prose p { margin-bottom: 18px; color: var(--fg1); }
.prose p:last-child { margin-bottom: 0; }
.prose b, .prose strong { color: var(--navy); font-weight: var(--fw-bold); }
.prose h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); color: var(--navy); margin: 8px 0 14px; }

/* ---------------- FAQ accordion ---------------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 24px; display: flex;
  justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display);
  font-weight: var(--fw-semibold); font-size: 18px; color: var(--navy); }
.faq-q svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--fg2); line-height: 1.65; }

/* ---------------- Blog cards ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.blog-thumb { height: 200px; background-size: cover; background-position: center; }
.blog-body { padding: 24px; }
.blog-cat { display: inline-block; background: var(--gray-100); color: var(--navy); font-size: 11px; font-weight: var(--fw-bold);
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-sm); margin-bottom: 14px; }
.blog-card h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 20px; color: var(--navy); line-height: 1.3; }
.blog-meta { display: flex; gap: 16px; color: var(--fg2); font-size: 13px; margin-top: 14px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta svg { width: 14px; height: 14px; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.info-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--gray-200); }
.info-card:last-child { border-bottom: none; }
.info-ico { width: 50px; height: 50px; border-radius: var(--r-md); background: var(--navy); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; }
.info-ico svg { width: 24px; height: 24px; color: #fff; }
.info-card h4 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.info-card p { font-size: 15px; color: var(--fg2); }
.info-card a { color: var(--red); font-weight: var(--fw-semibold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------------- Footer ---------------- */
.footer { background: var(--navy); color: var(--fg-on-navy); }
.footer-main { max-width: var(--container); margin: 0 auto; padding: 64px 24px 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-brand img { height: 42px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--fg-on-navy-2); font-size: 14px; line-height: 1.65; max-width: 300px; }
.footer-brand .ph { margin-top: 18px; }
.footer-brand .ph .lbl { color: var(--red); font-weight: var(--fw-bold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-brand .ph .num { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 24px; color: #fff; }
.footer-col h5 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 16px; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--fg-on-navy-2); font-size: 14px; transition: color .15s, padding .15s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-states { background: var(--navy-900); }
.footer-states-inner { max-width: var(--container); margin: 0 auto; padding: 34px 24px; }
.footer-states h5 { color: #fff; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 15px;
  letter-spacing: .04em; margin-bottom: 18px; text-align: center; }
.state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 16px; }
.state-grid a { color: var(--fg-on-navy-2); font-size: 12.5px; transition: color .15s; }
.state-grid a:hover { color: #ffd9d2; }
.footer-bar { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08); }
.footer-bar-inner { max-width: var(--container); margin: 0 auto; padding: 20px 24px; display: flex;
  justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; color: #aab2d6; font-size: 13px; }
.footer-social { display: flex; gap: 10px; }
.social-chip { width: 34px; height: 34px; border-radius: var(--r-sm); background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; transition: background .15s; }
.social-chip:hover { background: var(--red); }
.social-chip img, .social-chip svg { width: 16px; height: 16px; }

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ==========================================================================
   STYLE VARIATIONS — toggle via body[data-style]; switcher persists choice.
   "classic" (default) · "bold" (editorial, oversized) · "tactical" (dark)
   ========================================================================== */

/* ---- BOLD: oversized uppercase headings, heavier red accents ---- */
body[data-style="bold"] { --fs-hero: 76px; --fs-h2: 44px; }
body[data-style="bold"] .sec-title,
body[data-style="bold"] .hero-title,
body[data-style="bold"] .banner h1 { text-transform: uppercase; letter-spacing: -.01em; }
body[data-style="bold"] .sec-head.is-center .eyebrow,
body[data-style="bold"] .eyebrow { font-size: 14px; }
body[data-style="bold"] .hero-rule { width: 100px; height: 6px; }
body[data-style="bold"] .btn { border-radius: 0; }
body[data-style="bold"] .service-card, body[data-style="bold"] .testi,
body[data-style="bold"] .step, body[data-style="bold"] .quote-card,
body[data-style="bold"] .media-frame, body[data-style="bold"] .ind-card { border-radius: 0; }
body[data-style="bold"] .quote-card { border-top-width: 7px; }
body[data-style="bold"] .e-section--paper { background: #fff; }
body[data-style="bold"] .e-section--paper.alt-band { background: var(--navy); color: #fff; }

/* ---- TACTICAL: dark navy canvas, sharp red rules, light text ---- */
body[data-style="tactical"] { background: var(--navy-900); color: #e8ecf7; }
body[data-style="tactical"] .e-section--paper { background: #0b1845; color: #e8ecf7; }
body[data-style="tactical"] .e-section:not(.e-section--navy):not(.e-section--dark):not(.cta-band):not(.e-section--paper) { background: var(--navy-900); }
body[data-style="tactical"] .sec-title { color: #fff; }
body[data-style="tactical"] .sec-lead { color: #aab6dd; }
body[data-style="tactical"] .service-card, body[data-style="tactical"] .testi,
body[data-style="tactical"] .step, body[data-style="tactical"] .faq-item { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
body[data-style="tactical"] .service-card h3, body[data-style="tactical"] .testi blockquote,
body[data-style="tactical"] .step h4, body[data-style="tactical"] .faq-q { color: #fff; }
body[data-style="tactical"] .service-card p, body[data-style="tactical"] .step p,
body[data-style="tactical"] .feature p, body[data-style="tactical"] .testi blockquote { color: #aab6dd; }
body[data-style="tactical"] .service-ico, body[data-style="tactical"] .feature-ico,
body[data-style="tactical"] .info-ico { background: var(--red); }
body[data-style="tactical"] .service-card:hover .service-ico { background: var(--navy); }
body[data-style="tactical"] .feature h4 { color: #fff; }
body[data-style="tactical"] .testi .who .name, body[data-style="tactical"] .affil .name { color: #fff; }
body[data-style="tactical"] .trustbar { background: var(--navy-900); border-color: rgba(255,255,255,.1); }
body[data-style="tactical"] .trust-item { color: #e8ecf7; }
body[data-style="tactical"] .step-num { color: rgba(255,255,255,.14); }

/* ---------------- Style switcher widget ---------------- */
.style-switch { position: fixed; right: 18px; bottom: 18px; z-index: 200; font-family: var(--font-body); }
.style-switch-toggle { display: flex; align-items: center; gap: 9px; background: var(--navy); color: #fff;
  border: none; border-radius: var(--r-pill); padding: 13px 20px; font-weight: var(--fw-semibold); font-size: 13px;
  letter-spacing: .04em; box-shadow: 0 10px 30px rgba(8,21,63,.4); }
.style-switch-toggle svg { width: 18px; height: 18px; }
.style-switch-panel { position: absolute; right: 0; bottom: 60px; background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(8,21,63,.35); padding: 18px; width: 260px; display: none; }
.style-switch.open .style-switch-panel { display: block; }
.style-switch-panel .ttl { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 14px; color: var(--navy);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.style-switch-panel .desc { font-size: 12px; color: var(--fg2); margin-bottom: 14px; }
.style-opt { width: 100%; text-align: left; background: var(--paper); border: 2px solid transparent; border-radius: var(--r-md);
  padding: 12px 14px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.style-opt:hover { background: var(--gray-100); }
.style-opt.active { border-color: var(--red); background: #fff; }
.style-opt .o-name { font-weight: var(--fw-bold); color: var(--navy); font-size: 14px; }
.style-opt .o-desc { font-size: 12px; color: var(--fg2); margin-top: 2px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .state-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --fs-hero: 44px; --fs-h2: 30px; }
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner, .split, .split--media-right, .coverage, .contact-grid,
  .stats-grid, .card-grid, .card-grid--4, .ind-grid, .steps, .testi-grid, .blog-grid, .form-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 18px; } .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
  .states-cols { columns: 2; }
  .nav.open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 16px 24px; box-shadow: var(--shadow-card); gap: 4px; }
  .nav.open .navlink { padding: 12px 0; border-bottom: 1px solid var(--gray-100); justify-content: space-between; }
  .nav.open .nav-item { display: block; width: 100%; }
  .nav.open .subnav { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 0 0 8px 18px; min-width: 0; }
  .nav.open .subnav a { padding: 10px 0; }
}
@media (max-width: 560px) {
  .topbar-left .topbar-item:not(:first-child) { display: none; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .affil-div { display: none; }
}

/* ==== NSS WordPress layout overrides (full-bleed sections + comfortable gutters) ==== */
/* 1) Force Elementor full-width containers' direct child widgets to true full width
      (Elementor otherwise caps them at the old boxed content width). */
.e-con > .elementor-widget { width: 100% !important; max-width: 100% !important; }
/* 2) Full-bleed section backgrounds, but content gets responsive side padding so it
      fills the screen without running to the very edges. */
.e-container,
.topbar-inner,
.header-inner,
.hero-inner,
.trustbar-inner,
.footer-main,
.footer-states-inner,
.footer-bar-inner {
  padding-left: clamp(24px, 4vw, 72px) !important;
  padding-right: clamp(24px, 4vw, 72px) !important;
}

/* Footer link columns: center each title over its list of links */
.footer-col { text-align: center; }
.footer-col a:hover { padding-left: 0 !important; }

/* Footer link lists: full-width block so centered text lines up under the centered title */
.footer-col ul { display: block; width: 100%; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 11px; }
.footer-col li:last-child { margin-bottom: 0; }

/* Hero photo: anchor to top so the team's heads aren't cropped */
.hero { background-position: center top !important; }

/* Industry card titles: force white (theme was overriding to navy) */
.ind-card-body h3 { color: #ffffff !important; }

/* Logo: keep true aspect ratio (theme was capping width and squishing it) */
.brand img { height: 62px !important; width: auto !important; max-width: none !important; }
.footer-brand img { height: 42px !important; width: auto !important; max-width: none !important; }

/* ===== Remove red CTA band site-wide ===== */
.cta-band { display: none !important; }

/* ===== Red footer (white text + white state links) ===== */
.footer { background: var(--red) !important; }
.footer-states { background: var(--red-700) !important; }
.footer-bar { background: var(--red-700) !important; border-top-color: rgba(255,255,255,.18) !important; }
/* text + links to white for contrast on red */
.footer-brand p,
.footer-col ul a,
.footer-main li,
.state-grid a,
.footer-bar-inner,
.footer-bar-inner a { color: rgba(255,255,255,.9) !important; }
.footer-col h5,
.footer-states h5,
.footer-brand .ph .lbl,
.footer-brand .ph .num { color: #ffffff !important; }
.footer-col ul a:hover,
.state-grid a:hover,
.footer-bar-inner a:hover { color: #ffffff !important; }
/* social chips: subtle white on red, navy on hover */
.social-chip { background: rgba(255,255,255,.16) !important; }
.social-chip:hover { background: var(--navy) !important; }

/* Correction: company-info footer = navy blue; states section = red */
.footer { background: var(--navy) !important; }
.footer-states { background: var(--red) !important; }
.footer-bar { background: var(--red-700) !important; }

/* ===== Meet The Team cards ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s; }
.team-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-5px); }
.team-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--gray-100); }
.team-info { padding: 20px 22px; text-align: center; }
.team-info h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 18px; color: var(--navy); }
.team-info .role { font-size: 13px; color: var(--red); font-weight: var(--fw-bold); letter-spacing: .06em;
  text-transform: uppercase; margin-top: 5px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* Interior page banner photo: anchor to top so heads aren't cropped */
.banner { background-position: center top !important; }

.banner { background-position: center 25% !important; }

.banner { background-position: center 15% !important; }

/* 2026-05-31 - Hide industry-card category tags. New officer photos place faces top-left, where the red tag covered them. Card titles already name each category, so the tags are redundant. Reversible: delete this rule. */
.ind-card .tag { display: none !important; }

/* 2026-05-31 - Hero form eyebrow pill: span the full width of the form card below it, text on one line (was wrapping to two and sizing to content). Targets only the form-side pill. */
.hero-form .hero-eyebrow { display: flex; width: 100%; box-sizing: border-box; justify-content: center; white-space: nowrap; font-size: 12.5px; letter-spacing: .13em; padding: 9px 16px; }

/* 2026-05-31 - Why-Nationwide (homepage) image: bigger + portrait. Scoped via the --portrait modifier so the services-page split image (same .media-frame) is unaffected. */
.media-frame--portrait { max-width: 460px; margin: 0 auto; }
.media-frame--portrait img { height: auto; display: block; }

/* 2026-05-31 - "Trusted By" client-logo carousel (homepage). Not in the original Claude Design; rebuilt from the live site's logo strip. Full color for brand recognition, auto-scroll marquee, pauses on hover. */
.logo-strip { background: #fff; padding: 46px 0; }
.logo-strip-title { text-align: center; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-600); font-size: 13px; margin-bottom: 30px; }
.logo-marquee { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: logo-scroll 45s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 52px; width: auto; max-width: 160px; object-fit: contain; flex: 0 0 auto; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .logo-track { gap: 48px; } .logo-track img { height: 42px; } }

/* 2026-05-31 - Coverage band: full-bleed night-map background + brand-navy (#102872) overlay, centered content. Replaces the old side-by-side 3D map image. */
.coverage-band { position: relative; padding: 96px 0; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; }
.coverage-band::before { content: ""; position: absolute; inset: 0; background: rgba(16, 40, 114, 0.68); }
.coverage-band .e-container { position: relative; z-index: 1; }
.coverage-band-inner { max-width: 800px; margin: 0 auto; text-align: center; color: #fff; }
.coverage-band-inner .eyebrow { color: var(--red); }
.coverage-band-inner .sec-title { color: #fff; }
.coverage-band-inner .sec-lead { color: var(--fg-on-navy-2); max-width: 640px; margin-left: auto; margin-right: auto; }
.states-cols--center { columns: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-top: 30px; }
.states-cols--center a { display: inline-flex; align-items: center; padding: 4px 0; }

/* 2026-05-31 - Industries section: force brand navy #102872 (design used --dark #08153f). Scoped to the homepage industries band only via :has(.ind-grid). */
.e-section--dark:has(.ind-grid) { background: var(--navy); }

/* 2026-05-31 - Industry cards (homepage): subtle thin white accent on the right + bottom edges (traces top-right corner -> bottom-left corner). */
.ind-grid .ind-card { border-right: 1px solid rgba(255, 255, 255, 0.62); border-bottom: 1px solid rgba(255, 255, 255, 0.62); }

/* 2026-05-31 - Sticky header fix. The .header's own position:sticky is trapped inside a ~128px Elementor widget wrapper, so it scrolls away. Stick the OUTER wrapper instead: the Theme Builder header location on existing pages, and the inline header widget on the Canvas new pages. */
.elementor-location-header { position: sticky; top: 0; z-index: 1000; }
.elementor-template-canvas .elementor-element-fcdc46b { position: sticky; top: 0; z-index: 1000; }
/* Breathing room between the (sticky) header and page content on existing Hello Elementor pages (Canvas new pages have no .site-main, so they're unaffected). */
.site-main { padding-top: 40px; }

/* 2026-05-31 - Sticky header on pages that deliver the header via the [elementor-template] shortcode (About, Make a Payment). There the .header sits inside a short shortcode-widget wrapper, so stick that wrapper (it's a direct child of the tall page container). :has(.header) targets the header shortcode widget only, never the footer one. */
.elementor-widget-shortcode:has(.header) { position: sticky; top: 0; z-index: 1000; }

/* state coverage-map intro: smaller badge so it clears the map 2026-06-12 */
.media-frame--map .media-badge{padding:11px 16px}
.media-frame--map .media-badge .big{font-size:23px}
.media-frame--map .media-badge .small{font-size:11px}

/* 2026 - Team card hover: a navy bio panel slides up over the photo on hover (desktop). Cards have overflow:hidden, so an overlay (not a popup) is used to avoid clipping. */
.team-media { position: relative; overflow: hidden; }
.team-bio { position: absolute; inset: 0; display: flex; align-items: center; text-align: left;
  background: linear-gradient(180deg, rgba(8,21,63,0.85), rgba(8,21,63,0.97));
  color: #fff; padding: 24px 22px; font-size: 13.5px; line-height: 1.55;
  transform: translateY(100%); transition: transform .38s cubic-bezier(.22,.61,.36,1); }
.team-card:hover .team-bio { transform: translateY(0); }
.team-bio p { margin: 0; }

/* 2026 - Meet the Team now has 5 members -> 5 across (was 4). .team-grid is only used on About. */
.team-grid { grid-template-columns: repeat(5, 1fr); gap: 22px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .team-grid { grid-template-columns: 1fr; } }

/* 2026 - Team titles: normal case (no all-caps) + no letter-spacing so the longer C-suite titles read cleanly and fit the 5-up cards. */
.team-info .role { text-transform: none; letter-spacing: 0; font-size: 13.5px; line-height: 1.4; }
.team-info { padding: 18px 14px 22px; }
