:root{
      /* === MERGED DESIGN SYSTEM TOKENS (FROM REFERENCE) === */
      --esp-brand: #FCB017;
      --esp-ink: #111111;
      --esp-dark: #000000;
      /* QA FIX: Unified Muted Text Color */
      --esp-text-muted: #424a57; 
      /* QA FIX: Unified Border Radius */
      --esp-card-radius: 18px;
      --esp-line: rgba(0,0,0,.08);
      
      /* Mapped Legacy Tokens */
      --esp-text: var(--esp-text-muted);
    }

    body{
      margin: 0;
      font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: #ffffff;
      color: var(--esp-ink);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4, h5, h6 {
        margin: 0 0 16px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--esp-ink);
    }

    p {
        margin: 0 0 24px;
        color: var(--esp-text-muted);
    }

    /* ========================= HERO SECTION ========================= */
    /* Kept Layout Intent of Target, Updated Tokens */
    .esp-locations-hero{
      --brand: #FCB017;
      --ink: #ffffff;
      --overlay: rgba(0,0,0,.64);
      --minh: 30vh;
      position: relative;
      isolation: isolate;
      min-height: var(--minh);
      display: grid;
      place-items: center;
      color: var(--ink);
      background: url("https://eaglesecurityprotection.co.uk/wp-content/uploads/2025/12/Service-banner.webp") center / cover no-repeat #222;
      padding-block: clamp(80px, 10vw, 120px);
    }

    .esp-locations-hero .esp-loc__overlay{
      position: absolute;
      inset: 0;
      background: var(--overlay);
      z-index: 0;
    }

    .esp-locations-hero .esp-loc__in{
      position: relative;
      z-index: 1;
      width: min(1200px, calc(100% - 48px));
      margin-inline: auto;
      text-align: left;
    }

    .esp-locations-hero .esp-loc__bar{
      display: inline-block;
      width: 88px; height: 8px;
      background: var(--brand);
      border-radius: 6px;
      margin-bottom: 14px;
    }

    .esp-locations-hero .esp-loc__title{
      margin: 0 0 8px;
      /* Updated to 900 weight to match Reference system */
      font: 700 clamp(32px,6vw,64px)/1.05 Nunito,system-ui,sans-serif;
      color: #fff;
    }

    @media (max-width: 768px) {
      .esp-locations-hero {
        --minh: 50vh;
        padding-block: 50px;
      }
    }
    @media (min-height:900px){
      .esp-locations-hero{ --minh: 30vh; }
    }

    /* ============= LOCATION / MAP SECTION ============= */
    .esp-location{
      width: 100%;
      margin: 0;
      padding: clamp(40px, 6vw, 90px) 0; /* Standardized spacing */
      background: #fafafa;
      border-top: 1px solid var(--esp-line);
    }

    .esp-location__inner{
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;
    }

    .esp-location__header{
      text-align: center;
      margin-bottom: 32px;
      color: var(--esp-ink);
    }

    .esp-location__header h2{
      margin: 0 0 10px;
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 700;
      letter-spacing: -0.01em;
    }
    
    .esp-location__header p {
        color: var(--esp-text-muted);
        font-size: 18px;
    }

    .esp-location__map-frame{
      width: 100%;
      height: 420px;
      border-radius: var(--esp-card-radius); /* Enforced System Radius */
      overflow: hidden;
      box-shadow: 0 16px 36px rgba(15,23,42,0.12); /* Matches Reference shadow style */
      background: #fafafa;
      border: 2px solid #fff;
    }

    .esp-location__map-frame iframe{
      width: 100%;
      height: 100%;
      border: 0;
    }

    /* =========================================================================
       TRUST STRIP - LOCKED SECTION
       DO NOT MODIFY SIZING, PADDING, OR LAYOUT.
       PRESERVED FROM TARGET TO PREVENT LAYOUT SHIFTS.
       ========================================================================= */
    .esp-trust-logo {
      display: block; margin: 0 auto; max-height: 140px; width: auto; max-width: 100%; object-fit: contain;
    }
    .esp-trust{
      --tc-yellow:#FCB017; --tc-ink:#0f172a; --tc-line:rgba(0,0,0,.06);
      /* Keeping Target's padding as requested */
      background:#fff; padding-block:clamp(28px,5vw,48px); border-top:1px solid var(--esp-line); border-bottom:1px solid var(--esp-line);
    }
    .esp-trust .esp-trust-in{ max-width:1100px; margin:0 auto; padding:0 16px; }
    
    .tc-eyebrow{
      display:inline-flex;align-items:center;gap:8px; padding:8px 14px;border:2px solid var(--tc-line);border-radius:999px;
      font:700 12px/1 Nunito;letter-spacing:.06em;text-transform:uppercase; color:var(--tc-yellow);background:#fff;margin:0 0 10px;
    }
    
    .esp-trust h2{ margin:0 0 8px; text-align:center; color:#000; font: 700 clamp(28px, 4vw, 40px)/1.2 Nunito, system-ui, sans-serif; }
    .esp-trust p{ margin:0 0 20px; text-align:center; color:#475569; font:600 14.5px/1.55 Nunito,system-ui; }
    
    .esp-trust-grid{ display:grid; gap:18px; grid-template-columns:repeat(2,1fr); max-width:1100px; margin:0 auto; padding-inline:16px; }
    
    @media (min-width:960px){ .esp-trust-grid{ grid-template-columns:repeat(4,1fr); } }
    
    .esp-trust-card{
      display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
      min-height:150px; padding:16px; border:2px solid var(--tc-yellow); border-radius:16px; background:#fff;
      box-shadow:0 8px 20px rgba(0,0,0,.06); transition:all .25s ease; text-decoration:none; color:inherit;
    }
    
    /* Ensure no global image resets break the logos */
    .esp-trust-card img {
        width: auto;
        max-width: 100%;
        display: block;
    }
    
    .esp-trust-card:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(0,0,0,.12); border-color:#f7b615; }
    /* ========================================================================= */

/* ===== LOCKED SCOPE ===== */
      .esp.mg-faqs-birmingham.v2{
        all: revert;
        --brand:#FCB017; --ink:#111; --line:#d9d9d9;
        font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
        color:#222; 
        background: radial-gradient(1200px 400px at 50% -10%, #FFF7E3 0%, rgba(255,247,227,0) 60%), #fff;
        padding: 60px 16px 50px;
        border: none;
        scroll-margin-top:100px;
      }
      @media (min-width: 960px) {
          .esp.mg-faqs-birmingham.v2 {
              padding: 70px 16px 60px;
          }
      }
      .esp.mg-faqs-birmingham.v2 *{ box-sizing:border-box; font-family:inherit; }
      .esp.mg-faqs-birmingham.v2 .wrap{ max-width:1100px; margin:0 auto; }
      .esp.mg-faqs-birmingham.v2 .head{ position:relative; padding-left:18px; margin-bottom:8px; }
      .esp.mg-faqs-birmingham.v2 .head::before{
        content:""; position:absolute; left:0; top:6px; bottom:6px; width:4px; border-radius:4px;
        background:linear-gradient(180deg,var(--brand),#ffd06a);
      }
      .esp.mg-faqs-birmingham.v2 .eyebrow{
        display:inline-flex; align-items:center; gap:8px;
        padding:6px 14px; border:1px solid var(--line); border-radius:999px;
        font-weight:700; font-size:12px; letter-spacing:.06em; text-transform:uppercase;
        color:var(--brand); background:#fff; margin:0 0 10px;
      }
      #mg-faqs-bham-title{
        margin:0 0 10px; font-weight:700; color:var(--ink);
        font-size:clamp(22px,4.4vw,30px); line-height:1.15; letter-spacing:-.01em;
      }
      .esp.mg-faqs-birmingham.v2 .list{ display:grid; gap:12px; }
      .esp.mg-faqs-birmingham.v2 details{
        border:1px solid var(--line); border-radius:14px; background:#fff; overflow:hidden;
        transition:border-color .15s, box-shadow .15s, transform .15s;
      }
      .esp.mg-faqs-birmingham.v2 details[open],
      .esp.mg-faqs-birmingham.v2 details:hover{ border-color:var(--brand); box-shadow:0 10px 22px rgba(0,0,0,.06); transform:translateY(-1px); }
      .esp.mg-faqs-birmingham.v2 summary{
        list-style:none; cursor:pointer; outline:none;
        display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center;
        padding:14px 16px; font-weight:700; color:#111; font-size:16px;
      }
      .esp.mg-faqs-birmingham.v2 summary::-webkit-details-marker{ display:none; }
      .esp.mg-faqs-birmingham.v2 .chev{ 
        width:24px; height:24px; 
        display:grid; place-items:center; 
        border-radius:999px; 
        border:1px solid var(--line); 
        color: var(--brand);
      }
      .esp.mg-faqs-birmingham.v2 .chev::after{ 
          content: "";
          display: inline-block;
          width: 8px;
          height: 8px;
          border-right: 2.5px solid var(--brand);
          border-bottom: 2.5px solid var(--brand);
          transform: rotate(45deg);
          transition: transform 0.2s ease;
          margin-bottom: 4px; 
      }
      .esp.mg-faqs-birmingham.v2 details[open] .chev::after{ 
          transform: rotate(-135deg); 
          margin-bottom: -2px;
      }
      .esp.mg-faqs-birmingham.v2 .answer{
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease;
        padding: 0 16px; 
        border-top: 1px solid transparent;
        font-size: 14.5px; line-height: 1.7; color: #333;
      }
      .esp.mg-faqs-birmingham.v2 details[open] .answer {
        border-top: 1px solid var(--line);
        padding-bottom: 16px;
        opacity: 1; 
        max-height: none; 
      }
      .esp.mg-faqs-birmingham.v2 .answer p{ margin:12px 0 14px; }

/* === FAQ ACCORDION ? FAQS.HTML REFERENCE === */
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) .list{display:grid;gap:12px}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) details{margin:0;border:1px solid #d9d9d9;border-radius:14px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s,transform .15s}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) details[open],:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) details:hover{border-color:#fcb017;box-shadow:0 10px 22px rgba(0,0,0,.06);transform:translateY(-1px)}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;margin:0;padding:14px 16px;border:0;border-radius:0;outline:0;list-style:none;background:#fff;color:#111;font:700 16px/1.45 Nunito,system-ui,sans-serif;text-align:left;cursor:pointer;box-shadow:none;appearance:none}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) summary::-webkit-details-marker{display:none}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) .chev{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;margin:0;border:1px solid #d9d9d9;border-radius:999px;background:#fff;color:transparent;font-size:0;line-height:1}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) .chev::after{content:"";display:inline-block;width:8px;height:8px;margin-bottom:4px;border-right:2.5px solid #fcb017;border-bottom:2.5px solid #fcb017;transform:rotate(45deg);transition:transform .2s ease,margin .2s ease}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) details[open] .chev::after{margin-bottom:-2px;transform:rotate(-135deg)}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) .answer{max-height:0;opacity:0;overflow:hidden;padding:0 16px;border-top:1px solid transparent;background:#fff;color:#333;font-size:14.5px;line-height:1.7;transition:max-height .3s ease-out,opacity .3s ease-out,padding .3s ease}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) details[open] .answer{max-height:none;opacity:1;padding-bottom:16px;border-top-color:#d9d9d9}
:is(.esp.mg-faqs-wm.v2,.esp.mg-faqs-birmingham.v2) .answer p{margin:12px 0 14px;padding:0;color:#333}

/* === GLOBAL FOOTER ACCESSIBLE CONTRAST === */
.esp-global-footer,.esp-global-footer p,.esp-global-footer span,.esp-global-footer strong{color:#f3f4f6!important}
.esp-global-footer a{color:#fff!important;text-decoration-color:#fcb017!important}
.esp-global-footer a:hover,.esp-global-footer a:focus{color:#fcb017!important}


/* === GLOBAL HONEYPOT VISIBILITY FIX === */
input[name="company_site"] {
  position: fixed !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
