/* ==========================================================================
   ShieldWise Security — City / Location Page System
   File: shieldwise-city-pages.css
   --------------------------------------------------------------------------
   SCOPING & SAFETY
   - Every rule is scoped under .sw-city-page (a wrapper you put around the
     page body, between your existing header and footer includes).
   - Every class is prefixed sw-city-.
   - Nothing here targets .navbar-*, .company-*, .dropdown-*, .nav-*, .footer,
     Bootstrap utilities, or any global/header/footer selector. It cannot
     override header-fix.css or your footer styles.
   - Palette intentionally harmonizes with the existing dark + gold (#d4af37)
     header so the page reads as one cohesive, high-end brand.

   SIGNATURE
   - A "secured perimeter" motif: thin gold inset frames with corner
     registration ticks (borrowed from surveillance HUDs / secure documents),
     used on the hero and on cards. This is the one bold element; everything
     else stays quiet.
   ========================================================================== */

/* ----- Optional web fonts (degrade gracefully to system stack if blocked) - */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ==========================================================================
   1. TOKENS  (all custom props are namespaced --sw-* and live on the wrapper)
   ========================================================================== */
.sw-city-page {
  /* Surfaces */
  --sw-ink:        #0e1116;   /* deepest night background            */
  --sw-ink-2:      #141923;   /* panel                               */
  --sw-ink-3:      #1c2430;   /* raised card                         */
  --sw-ink-4:      #232d3b;   /* card hover / borders on dark        */
  --sw-paper:      #faf8f3;   /* light section background            */
  --sw-paper-2:    #f1ede3;   /* light raised card                   */
  --sw-bone:       #ece9e1;   /* hairline on light                   */

  /* Brand metals (gold matches header #d4af37) */
  --sw-gold:       #d4af37;
  --sw-gold-bright:#ecd07a;
  --sw-bronze:     #a87c2e;
  --sw-bronze-deep:#7c5a1f;

  /* Text */
  --sw-on-dark:    #e7e9ee;   /* primary text on dark                */
  --sw-on-dark-2:  #aab2c0;   /* secondary text on dark              */
  --sw-on-light:   #1a1f27;   /* primary text on light               */
  --sw-on-light-2: #51607a;   /* secondary text on light             */

  /* Lines */
  --sw-line-gold:  rgba(212,175,55,.28);
  --sw-line-dark:  rgba(255,255,255,.08);
  --sw-line-light: rgba(20,25,35,.10);

  /* Shape & motion */
  --sw-radius:     14px;
  --sw-radius-sm:  9px;
  --sw-shadow:     0 24px 60px -28px rgba(0,0,0,.65);
  --sw-shadow-sm:  0 10px 30px -16px rgba(0,0,0,.55);
  --sw-ease:       cubic-bezier(.4,0,.2,1);

  /* Type */
  --sw-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --sw-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  color: var(--sw-on-light);
  font-family: var(--sw-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sw-city-page *,
.sw-city-page *::before,
.sw-city-page *::after { box-sizing: border-box; }

.sw-city-page img { max-width: 100%; height: auto; display: block; }

/* Shared layout container */
.sw-city-shell {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

/* Section rhythm + alternating bands */
.sw-city-section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.sw-city-section--dark  { background: var(--sw-ink);   color: var(--sw-on-dark); }
.sw-city-section--ink2  { background: var(--sw-ink-2); color: var(--sw-on-dark); }
.sw-city-section--light { background: var(--sw-paper); color: var(--sw-on-light); }

/* ==========================================================================
   2. SHARED PRIMITIVES  (eyebrow, headings, links, buttons, the tick motif)
   ========================================================================== */

/* The corner registration tick — the security "frame" motif, drawn in CSS */
.sw-city-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sw-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sw-bronze);
  margin: 0 0 18px;
}
.sw-city-section--dark .sw-city-eyebrow,
.sw-city-section--ink2 .sw-city-eyebrow { color: var(--sw-gold); }
.sw-city-eyebrow::before {
  content: "";
  width: 26px; height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  opacity: .9;
}

.sw-city-page h1,
.sw-city-page h2,
.sw-city-page h3 {
  font-family: var(--sw-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
}
.sw-city-h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.sw-city-h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.005em; }

.sw-city-lead { font-size: 1.12rem; color: var(--sw-on-light-2); max-width: 62ch; }
.sw-city-section--dark .sw-city-lead,
.sw-city-section--ink2 .sw-city-lead { color: var(--sw-on-dark-2); }

.sw-city-page p { margin: 0 0 1.1em; }
.sw-city-prose p { max-width: 68ch; }
.sw-city-prose strong { font-weight: 700; }
.sw-city-section--dark .sw-city-prose strong,
.sw-city-section--ink2 .sw-city-prose strong { color: #fff; }

/* Inline links inside body prose */
.sw-city-prose a,
.sw-city-link {
  color: var(--sw-bronze-deep);
  text-decoration: none;
  background-image: linear-gradient(var(--sw-gold), var(--sw-gold));
  background-size: 100% 1.5px;
  background-position: 0 1.15em;
  background-repeat: no-repeat;
  transition: background-size .2s var(--sw-ease), color .2s var(--sw-ease);
}
.sw-city-prose a:hover,
.sw-city-link:hover { color: var(--sw-bronze); background-size: 100% 2.5px; }
.sw-city-section--dark .sw-city-prose a,
.sw-city-section--ink2 .sw-city-prose a { color: var(--sw-gold-bright); }

/* Buttons */
.sw-city-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: var(--sw-radius-sm);
  font-family: var(--sw-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s var(--sw-ease), box-shadow .2s var(--sw-ease),
              background .2s var(--sw-ease), color .2s var(--sw-ease);
}
.sw-city-btn--primary {
  background: linear-gradient(135deg, var(--sw-gold) 0%, var(--sw-bronze) 100%);
  color: #19130a;
  box-shadow: 0 14px 30px -14px rgba(212,175,55,.6);
}
.sw-city-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(212,175,55,.7); color: #19130a; }
.sw-city-btn--ghost {
  background: transparent;
  color: var(--sw-on-dark);
  border-color: rgba(212,175,55,.5);
}
.sw-city-btn--ghost:hover { border-color: var(--sw-gold); color: #fff; transform: translateY(-2px); }
.sw-city-btn--onlight { color: var(--sw-on-light); border-color: rgba(20,25,35,.25); }
.sw-city-btn--onlight:hover { border-color: var(--sw-bronze); color: var(--sw-bronze-deep); }

/* ==========================================================================
   3. HERO  (the secured-perimeter signature)
   - Set a real photo by adding inline style:
       style="--sw-city-hero-img:url('/images/cities/<slug>/<file>.jpg')"
   - With no image it still looks finished (dark gradient + faint gold field).
   ========================================================================== */
.sw-city-hero {
  position: relative;
  background: var(--sw-ink);
  color: var(--sw-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.sw-city-hero__img {        /* real <img> field layer (sits behind the ::before overlay) */
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.sw-city-hero::before {            /* image / fallback field layer */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,16,.40) 0%, rgba(10,12,16,.62) 62%, rgba(10,12,16,.80) 100%),
    radial-gradient(120% 90% at 78% 8%, rgba(212,175,55,.16) 0%, rgba(212,175,55,0) 55%),
    var(--sw-city-hero-img, transparent);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  z-index: 1;
}
.sw-city-hero::after {             /* faint scanline texture */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
  z-index: 1; pointer-events: none;
}
.sw-city-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(108px, 15vw, 168px);
}
/* the gold perimeter frame + corner ticks */
.sw-city-hero__frame { position: absolute; inset: clamp(16px,3vw,30px); pointer-events: none; z-index: 2; }
.sw-city-hero__frame span {
  position: absolute; width: 30px; height: 30px;
  border-color: var(--sw-gold); border-style: solid; border-width: 0; opacity: .8;
}
.sw-city-hero__frame span:nth-child(1){ top:0; left:0; border-top-width:2px; border-left-width:2px; }
.sw-city-hero__frame span:nth-child(2){ top:0; right:0; border-top-width:2px; border-right-width:2px; }
.sw-city-hero__frame span:nth-child(3){ bottom:0; left:0; border-bottom-width:2px; border-left-width:2px; }
.sw-city-hero__frame span:nth-child(4){ bottom:0; right:0; border-bottom-width:2px; border-right-width:2px; }

.sw-city-hero h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.6rem);
  max-width: 17ch;
  margin-bottom: .55em;
}
.sw-city-hero__sub { font-size: clamp(1.04rem, 1.7vw, 1.22rem); color: var(--sw-on-dark-2); max-width: 56ch; }
.sw-city-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* phone, above the fold, inside hero */
.sw-city-hero__phone {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px; font-family: var(--sw-display); font-weight: 700;
  color: #fff; text-decoration: none; font-size: 1.05rem; letter-spacing: .01em;
}
.sw-city-hero__phone b { color: var(--sw-gold); }
.sw-city-hero__phone:hover b { color: var(--sw-gold-bright); }

/* ----- Trust strip (consistent chrome by design) --------------------------- */
.sw-city-trust {
  background: var(--sw-ink-2);
  border-top: 1px solid var(--sw-line-gold);
  border-bottom: 1px solid var(--sw-line-dark);
}
.sw-city-trust__row {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  padding-block: 20px; align-items: center; justify-content: center;
}
.sw-city-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(212,175,55,.06);
  border: 1px solid var(--sw-line-gold);
  color: var(--sw-on-dark);
  font-size: .86rem; font-weight: 500; letter-spacing: .01em;
}
.sw-city-chip b { color: var(--sw-gold); font-weight: 700; }
.sw-city-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sw-gold); box-shadow: 0 0 0 4px rgba(212,175,55,.12); }

/* ==========================================================================
   4. LOCAL RELEVANCE  (two-column: prose + "local snapshot" data card)
   ========================================================================== */
.sw-city-split {
  display: grid; grid-template-columns: 1.55fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.sw-city-snapshot {
  position: relative;
  background: linear-gradient(180deg, var(--sw-ink-3), var(--sw-ink-2));
  color: var(--sw-on-dark);
  border: 1px solid var(--sw-line-gold);
  border-radius: var(--sw-radius);
  padding: 30px 28px;
  box-shadow: var(--sw-shadow-sm);
}
.sw-city-snapshot::before,
.sw-city-snapshot::after {   /* two corner ticks echo the hero frame */
  content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--sw-gold); opacity: .7;
}
.sw-city-snapshot::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.sw-city-snapshot::after  { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.sw-city-snapshot h3 { color: #fff; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; }
.sw-city-snapshot dl { margin: 16px 0 0; display: grid; gap: 0; }
.sw-city-snapshot div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--sw-line-dark); }
.sw-city-snapshot div:first-of-type { border-top: 0; }
.sw-city-snapshot dt { color: var(--sw-on-dark-2); font-size: .9rem; }
.sw-city-snapshot dd { margin: 0; color: #fff; font-weight: 600; text-align: right; font-size: .95rem; }

/* ==========================================================================
   5. SERVICES GRID  (cards link to deep hubs; corner-tick accent)
   ========================================================================== */
.sw-city-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px;
}
.sw-city-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--sw-ink-3);
  border: 1px solid var(--sw-line-dark);
  border-radius: var(--sw-radius);
  padding: 26px 24px 22px;
  text-decoration: none; color: var(--sw-on-dark);
  transition: transform .22s var(--sw-ease), border-color .22s var(--sw-ease), background .22s var(--sw-ease);
  overflow: hidden;
}
.sw-city-card::after {  /* top-right corner tick reveals on hover */
  content: ""; position: absolute; top: 14px; right: 14px; width: 16px; height: 16px;
  border-top: 2px solid var(--sw-gold); border-right: 2px solid var(--sw-gold);
  opacity: 0; transform: translate(-4px,4px); transition: opacity .22s var(--sw-ease), transform .22s var(--sw-ease);
}
.sw-city-card:hover { transform: translateY(-4px); border-color: var(--sw-line-gold); background: var(--sw-ink-4); }
.sw-city-card:hover::after { opacity: .85; transform: translate(0,0); }
.sw-city-card__ico {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 16px;
  border-radius: 11px; background: rgba(212,175,55,.1); border: 1px solid var(--sw-line-gold);
  color: var(--sw-gold); font-size: 1.15rem;
}
.sw-city-card h3 { color: #fff; margin-bottom: 8px; }
.sw-city-card p { color: var(--sw-on-dark-2); font-size: .96rem; margin: 0; }
.sw-city-card__more {
  margin-top: 16px; font-family: var(--sw-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--sw-gold);
}

/* ==========================================================================
   6. PROOF / E-E-A-T  (field note, opinion pull-quote, limitation)
   ========================================================================== */
.sw-city-proof { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px,5vw,56px); align-items: start; }
.sw-city-note {
  border-left: 3px solid var(--sw-gold);
  background: var(--sw-paper-2);
  border-radius: 0 var(--sw-radius-sm) var(--sw-radius-sm) 0;
  padding: 22px 24px; margin: 0 0 22px;
}
.sw-city-note__tag {
  font-family: var(--sw-display); font-weight: 700; font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sw-bronze); margin-bottom: 8px; display: block;
}
.sw-city-note p { margin: 0; color: var(--sw-on-light); }
.sw-city-quote {
  font-family: var(--sw-display); font-weight: 600; font-size: clamp(1.2rem,2.2vw,1.55rem);
  line-height: 1.4; color: var(--sw-on-light); letter-spacing: -.01em; margin: 0;
  padding-left: 22px; border-left: 2px solid var(--sw-bronze);
}
.sw-city-limit {
  margin-top: 22px; font-size: .98rem; color: var(--sw-on-light-2);
  background: #fff; border: 1px dashed var(--sw-line-light); border-radius: var(--sw-radius-sm); padding: 18px 20px;
}
.sw-city-limit strong { color: var(--sw-on-light); }

/* ----- 911 / emergency disclaimer (distinct, calm, never alarming) -------- */
.sw-city-emergency {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--sw-ink-2); color: var(--sw-on-dark);
  border: 1px solid var(--sw-line-gold); border-left: 4px solid var(--sw-gold);
  border-radius: var(--sw-radius-sm);
  padding: 20px 22px; margin-top: 30px;
}
.sw-city-emergency__mark {
  flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(212,175,55,.12); color: var(--sw-gold); font-family: var(--sw-display); font-weight: 800;
  letter-spacing: -.02em; font-size: .95rem;
}
.sw-city-emergency p { margin: 0; font-size: .98rem; color: var(--sw-on-dark-2); }
.sw-city-emergency strong { color: #fff; }

/* ==========================================================================
   7. LICENSE VERIFICATION BLOCK
   ========================================================================== */
.sw-city-verify {
  position: relative;
  background: linear-gradient(135deg, var(--sw-ink-3), var(--sw-ink-2));
  border: 1px solid var(--sw-line-gold);
  border-radius: var(--sw-radius);
  padding: clamp(28px,4vw,40px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  box-shadow: var(--sw-shadow);
}
.sw-city-verify h2 { color: #fff; }
.sw-city-verify p { color: var(--sw-on-dark-2); margin-bottom: 0; }
.sw-city-verify__img {
  display: block; width: 100%; height: auto; margin-top: 20px;
  border: 1px solid var(--sw-line-gold); border-radius: var(--sw-radius-sm);
}
.sw-city-license {
  text-align: center; background: var(--sw-ink); border: 1px solid var(--sw-line-gold);
  border-radius: var(--sw-radius-sm); padding: 22px;
}
.sw-city-license small { display: block; color: var(--sw-on-dark-2); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.sw-city-license b { display: block; font-family: var(--sw-display); font-weight: 800; font-size: 1.55rem; color: var(--sw-gold); margin: 6px 0 14px; letter-spacing: .01em; }

/* ==========================================================================
   8. PROCESS  (a real sequence — numbering is justified here)
   ========================================================================== */
.sw-city-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 14px; counter-reset: sw-step; }
.sw-city-step {
  position: relative; background: #fff; border: 1px solid var(--sw-line-light);
  border-radius: var(--sw-radius); padding: 26px 22px 22px;
}
.sw-city-step::before {
  counter-increment: sw-step; content: counter(sw-step,decimal-leading-zero);
  font-family: var(--sw-display); font-weight: 800; font-size: 1.05rem; color: var(--sw-bronze);
  letter-spacing: .04em; display: inline-block; margin-bottom: 12px;
  padding-bottom: 6px; border-bottom: 2px solid var(--sw-gold);
}
.sw-city-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.sw-city-step p { font-size: .95rem; color: var(--sw-on-light-2); margin: 0; }

/* ==========================================================================
   9. FAQ  (native <details>, no JS, no conflict with Bootstrap collapse)
   ========================================================================== */
.sw-city-faq { max-width: 860px; margin-top: 8px; }
.sw-city-faq details {
  border-bottom: 1px solid var(--sw-line-light);
}
.sw-city-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px;
  align-items: center; padding: 22px 4px; font-family: var(--sw-display); font-weight: 700;
  font-size: 1.08rem; color: var(--sw-on-light); transition: color .2s var(--sw-ease);
}
.sw-city-faq summary::-webkit-details-marker { display: none; }
.sw-city-faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  border-right: 2px solid var(--sw-bronze); border-bottom: 2px solid var(--sw-bronze);
  transform: rotate(45deg); transition: transform .25s var(--sw-ease); margin-right: 4px;
}
.sw-city-faq details[open] summary { color: var(--sw-bronze-deep); }
.sw-city-faq details[open] summary::after { transform: rotate(-135deg); }
.sw-city-faq summary:hover { color: var(--sw-bronze-deep); }
.sw-city-faq__a { padding: 0 4px 24px; color: var(--sw-on-light-2); max-width: 74ch; }
.sw-city-faq__a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   10. AREAS SERVED  (hub-and-spoke; elegant link cards, not a spam block)
   ========================================================================== */
.sw-city-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.sw-city-areacol h3 {
  color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--sw-line-gold);
}
.sw-city-areacol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sw-city-arealink {
  display: block; padding: 11px 14px; border-radius: var(--sw-radius-sm);
  color: var(--sw-on-dark-2); text-decoration: none; font-size: .96rem;
  border: 1px solid transparent; transition: all .18s var(--sw-ease);
}
.sw-city-arealink:hover { color: #fff; background: rgba(212,175,55,.07); border-color: var(--sw-line-gold); padding-left: 18px; }

/* ==========================================================================
   11. FINAL CTA  (gold-forward band)
   ========================================================================== */
.sw-city-cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(212,175,55,.16) 0%, rgba(212,175,55,0) 50%),
    linear-gradient(135deg, #15110a 0%, #0e1116 60%);
  color: var(--sw-on-dark);
  border-top: 1px solid var(--sw-line-gold);
}
.sw-city-cta__inner { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.sw-city-cta h2 { color: #fff; max-width: 20ch; }
.sw-city-cta p { color: var(--sw-on-dark-2); margin-bottom: 0; max-width: 52ch; }
.sw-city-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----- Review meta (visible reviewer byline + last-reviewed date) --------- */
.sw-city-review {
  background: var(--sw-ink); color: var(--sw-on-dark-2);
  border-top: 1px solid var(--sw-line-dark);
}
.sw-city-review__row {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between;
  padding-block: 22px; font-size: .9rem;
}
.sw-city-review__row a { color: var(--sw-gold); text-decoration: none; }
.sw-city-review__row a:hover { color: var(--sw-gold-bright); text-decoration: underline; }
.sw-city-review b { color: #fff; font-weight: 600; }

/* ==========================================================================
   12. STICKY MOBILE CTA BAR  (mobile only; high z but below typical modals)
   ========================================================================== */
.sw-city-mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 940;
  display: none; gap: 0;
  background: rgba(14,17,22,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--sw-line-gold);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
}
.sw-city-mobilebar a {
  flex: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 5px; border-radius: var(--sw-radius-sm); font-family: var(--sw-display); font-weight: 700;
  font-size: .98rem; text-decoration: none;
}
.sw-city-mobilebar a.is-call { background: linear-gradient(135deg, var(--sw-gold), var(--sw-bronze)); color: #19130a; }
.sw-city-mobilebar a.is-quote { color: #fff; border: 1.5px solid rgba(212,175,55,.5); }

/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .sw-city-split,
  .sw-city-proof,
  .sw-city-verify,
  .sw-city-cta__inner { grid-template-columns: 1fr; }
  .sw-city-grid,
  .sw-city-steps { grid-template-columns: repeat(2, 1fr); }
  .sw-city-areas { grid-template-columns: 1fr; }
  .sw-city-snapshot { order: -1; }
  .sw-city-cta__actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .sw-city-page { font-size: 16px; }
  .sw-city-grid,
  .sw-city-steps { grid-template-columns: 1fr; }
  .sw-city-hero__cta { flex-direction: column; align-items: stretch; }
  .sw-city-hero__cta .sw-city-btn { width: 100%; }
  .sw-city-mobilebar { display: flex; }
  /* keep the last band clear of the sticky bar */
  .sw-city-review { padding-bottom: 76px; }
}

/* ==========================================================================
   14. ACCESSIBILITY  (focus + reduced motion)
   ========================================================================== */
.sw-city-page a:focus-visible,
.sw-city-page summary:focus-visible,
.sw-city-page button:focus-visible {
  outline: 3px solid var(--sw-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .sw-city-page * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Expansion add-on — neighborhoods + site-type cards
   Scoped under .sw-city-page — no rule touches anything outside .sw-city-*
   ========================================================================== */

/* --- Grid container -------------------------------------------------------- */
.sw-city-page .sw-city-locals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

/* --- Base card ------------------------------------------------------------- */
.sw-city-page .sw-city-localcard {
  position: relative;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid rgba(14, 17, 22, .09);
  border-left: 3px solid #d4af37;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(14, 17, 22, .06);
  transition: box-shadow .22s ease, transform .22s ease, border-left-color .22s ease;
  overflow: hidden;
}

/* Gold corner tick — matches the hero/service-card motif */
.sw-city-page .sw-city-localcard::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid rgba(212, 175, 55, .45);
  border-right: 1.5px solid rgba(212, 175, 55, .45);
  border-radius: 0 2px 0 0;
  pointer-events: none;
}

/* Hover — consistent with existing .sw-city-card hover */
@media (hover: hover) {
  .sw-city-page .sw-city-localcard:hover {
    box-shadow: 0 6px 18px rgba(14, 17, 22, .11);
    transform: translateY(-2px);
    border-left-color: #b8962e;
  }
}

/* Focus (keyboard) */
.sw-city-page .sw-city-localcard:focus-within {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* --- Card typography -------------------------------------------------------- */
.sw-city-page .sw-city-localcard h3.sw-city-h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0e1116;
}

.sw-city-page .sw-city-localcard p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.6;
  color: #3c4654;
}

/* --- Compact variant (site-types section) ---------------------------------- */
.sw-city-page .sw-city-localcard--compact {
  padding: 18px 20px 16px;
}

.sw-city-page .sw-city-localcard--compact h3.sw-city-h3 {
  font-size: .99rem;
}

/* --- Responsive grid ------------------------------------------------------- */
@media (max-width: 900px) {
  .sw-city-page .sw-city-locals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sw-city-page .sw-city-locals {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* --- Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sw-city-page .sw-city-localcard {
    transition: none;
  }
  .sw-city-page .sw-city-localcard:hover {
    transform: none;
  }
}
