/* ========================= STYLE GUIDE VARIABLES ========================= */
    :root {
      /* BRAND COLORS */
      --esp-brand: #FCB017;
      --esp-brand-text: #FCB017; 
      --esp-ink: #111111;
      --esp-text-muted: #424a57;
      --esp-line: rgba(0,0,0,.08);
      --esp-card-radius: 18px;
      
      /* SPACING (Desktop Defaults) */
      --sect-pad-top: 70px;
      --sect-pad-btm: 60px;
    }

    /* SPACING (Mobile Overrides) */
    @media (max-width: 768px) {
      :root {
        --sect-pad-top: 60px;
        --sect-pad-btm: 50px;
      }
    }

    /* ========================= GLOBAL RESET ========================= */
    body {
      margin: 0;
      font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: #ffffff;
      color: var(--esp-ink);
      overflow-x: hidden;
    }

    /* ========================= HERO SECTION ========================= */
    .esp-locations-hero {
      --brand: #FCB017;
      --ink: #ffffff;
      --overlay: rgba(0,0,0,.64);
      
      position: relative;
      isolation: isolate;
      /* REQUEST: Desktop Banner 30vh */
      min-height: 30vh; 
      display: grid;
      place-items: center;
      color: var(--ink);
      
      /* BACKGROUND IMAGE */
      background:
        url("https://eaglesecurityprotection.co.uk/wp-content/uploads/2026/01/Construction-Site-Security--scaled.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% - 40px));
      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;
    }

    /* TYPOGRAPHY: H1 based on Style Guide */
    .esp-locations-hero .esp-loc__title {
      margin: 10px 0;
      font: 700 clamp(28px, 4vw, 40px)/1.2 Nunito, system-ui, sans-serif;
      color: #ffffff;
      max-width: 25ch;
    }
    
    /* TYPOGRAPHY: Lead Text based on Style Guide */
    .esp-locations-hero .esp-loc__lead {
      margin: 0 0 24px;
      font: 16px/1.7 Nunito, system-ui, sans-serif;
      max-width: 60ch;
      color: #f3f4f6;
    }

    @media (max-width: 768px) {
      .esp-locations-hero {
        /* REQUEST: Mobile Banner 50vh + 50px Padding */
        min-height: 50vh; 
        padding-block: 50px;
        text-align: left;
      }
      .esp-locations-hero .esp-loc__in { 
        display: flex; 
        flex-direction: column; 
        align-items: flex-start;
      }
      .esp-locations-hero .esp-loc__bar { margin-bottom: 25px; }
      .esp-locations-hero .esp-loc__title { font-size: 28px; margin-top: 0; }
    }

    /* ========================= CONTENT SECTIONS ========================= */
    .esp-section {
      width: 100%;
      /* APPLIED SPACING GUIDE */
      padding-top: var(--sect-pad-top);
      padding-bottom: var(--sect-pad-btm);
    }
    
    .esp-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    
    .esp-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center; 
    }
    
    /* Specific class for the wide text layout */
    .esp-grid-wide-text {
        grid-template-columns: 1.6fr 1fr; 
    }

    /* Stretch Alignment for Equal Height */
    .esp-grid-stretch {
        align-items: stretch;
    }

    /* Tight Text Block */
    .esp-text-tight > *:first-child { margin-top: 0; }
    .esp-text-tight > *:last-child { margin-bottom: 0; }
      
    @media (max-width: 960px) {
      .esp-grid-2, .esp-grid-wide-text {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .esp-grid-stretch {
        align-items: flex-start; 
      }
      .esp-order-mobile-2 { order: 2; }
      .esp-order-mobile-1 { order: 1; }
    }

    /* TYPOGRAPHY - Standardized */
    .esp-h2 {
      font: 700 clamp(28px, 4vw, 40px)/1.2 Nunito, system-ui, sans-serif;
      color: var(--esp-ink);
      margin-bottom: 24px;
      margin-top: 0;
    }
    
    .esp-h2-compact {
        font-size: clamp(22px, 3vw, 32px);
    }

    .esp-text {
      font-size: 16px;
      line-height: 1.7;
      color: var(--esp-text-muted);
      margin-bottom: 24px;
    }
      
    /* === INTRO CARD === */
    .esp-intro-wrapper {
        background: #fafafa;
        /* Custom padding for intro to make it stand out */
        padding-top: 70px;
        padding-bottom: 60px;
    }
    
    .esp-intro-card {
      background: #ffffff;
      max-width: 900px;
      margin: 0 auto;
      padding: 50px;
      border-radius: 24px;
      text-align: center;
      box-shadow: 0 20px 40px rgba(0,0,0,0.06);
      border: 1px solid rgba(0,0,0,0.04);
      position: relative;
    }

    .esp-intro-card::before {
        content: '';
        display: block;
        width: 80px;
        height: 6px;
        background: var(--esp-brand);
        margin: 0 auto 30px auto;
        border-radius: 4px;
    }

    .esp-intro-card p.lead {
      font-size: 20px;
      color: #111;
      font-weight: 700;
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .esp-intro-card p.sub {
      font-size: 16px;
      color: #666;
      line-height: 1.7;
    }

    @media (max-width: 768px) {
        .esp-intro-card {
            padding: 30px 20px;
        }
    }
    
    /* === QUOTES & STATS === */
    .esp-quote-box {
        background-color: #ffffff;
        border-left: 4px solid var(--esp-brand);
        padding: 24px;
        margin: 24px 0;
        border-radius: 0 8px 8px 0;
        font-style: italic;
        color: #333;
        font-weight: 600;
        font-size: 16px;
        line-height: 1.6;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    
    .esp-stats-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 30px;
    }
    
    .esp-stat-card {
        background: #fff;
        padding: 15px 10px;
        border-radius: 12px;
        text-align: center;
        border: 1px solid #eee;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    }
    
    .esp-stat-num {
        display: block;
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--esp-brand);
        line-height: 1;
        margin-bottom: 6px;
    }
    
    .esp-stat-label {
        font-size: 0.8rem;
        color: #666;
        line-height: 1.2;
        display: block;
        font-weight: 700;
    }
    
    @media (max-width: 600px) {
        .esp-stats-row {
            grid-template-columns: 1fr;
        }
    }

    /* Center Aligned Section */
    .esp-center-aligned {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .esp-center-aligned .esp-img-wrap {
      margin-bottom: 30px;
      max-width: 800px;
      width: 100%;
    }
    .esp-center-aligned .esp-content {
      max-width: 800px;
    }
      
    /* === IMAGE STYLING === */
    .esp-img-wrap {
      border-radius: var(--esp-card-radius);
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.15);
      line-height: 0;
      /* Style Guide: Added Brand Border */
      border: 2px solid var(--esp-brand);
      background: #fff;
      width: 100%;
      height: auto;
    }
    .esp-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Utility: Fill Height for Image */
    .esp-img-fill {
        height: 100%;
    }

    /* Feature Grid */
    .esp-features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }
    
    .esp-feature-card {
      background: #ffffff;
      padding: 30px;
      border-radius: 16px;
      border: 2px solid #eee; 
      box-shadow: 0 10px 20px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
      align-content: end;
    }
    
    .esp-feature-card:hover {
      border-color: var(--esp-brand);
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(252, 176, 23, 0.15);
    }

    .esp-feature-card h3 {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--esp-ink);
    }
    .esp-feature-card p {
      font-size: 1rem;
      color: #666;
      margin: 0;
      line-height: 1.6;
    }

    /* === SERVICE LINKS (CRO UPGRADE) === */
    .esp-service-link {
      display: inline-block;
      margin-top: 15px;
      color: var(--esp-brand);
      font-weight: 700;
      text-decoration: none;
      font-size: 16px;
    }
    .esp-service-link:hover { 
      text-decoration: underline; 
      color: #111; 
    }

    /* === TRUST STRIP === */
    .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);
      
      background: #ffffff; /* Keeping as white per content flow */
      /* APPLIED SPACING GUIDE */
      padding-top: var(--sect-pad-top);
      padding-bottom: var(--sect-pad-btm);
      
    }
    
    .esp-trust .esp-trust-in { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
    
    .esp-trust h2 { 
      margin: 0 0 8px; 
      text-align: center; 
      color: var(--esp-ink); 
      font: 700 clamp(28px, 4vw, 40px)/1.2 Nunito, system-ui, sans-serif; 
    }
    .esp-trust p { 
      margin: 0 0 40px; 
      text-align: center; 
      color: var(--esp-text-muted); 
      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;
    }
    .esp-trust-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.12); border-color: #f7b615; }

.esp-hero-btn {
  display: inline-block;
  background: var(--esp-brand);
  color: #111;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(252, 176, 23, 0.3);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.esp-hero-btn:hover {
  background: #ffffff;
  color: var(--esp-brand);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  border: 2px solid var(--esp-brand);
}

/* Inline styles for construction-site-security.html */
.st-8ace19bd { background: #ffffff !important; }
.st-32530807 { display:block !important; width:60px !important; height:4px !important; background:var(--esp-brand) !important; margin-bottom:15px !important; }
.st-a80f553d { background-color: #fafafa !important; }
.st-c7f79b45 { max-width: 100% !important; }
.st-70f59200 { display: flex !important; flex-direction: column !important; justify-content: center !important; }
.st-9a3a7032 { color:var(--esp-brand) !important; }
.st-8ace19bd { background: #ffffff !important; }
.st-cd1ad990 { max-width:800px !important; margin:0 auto 40px !important; text-align:center !important; }
.st-0f18dc94 { max-height:400px !important; margin-bottom:40px !important; }
.st-8522ba6f { object-position: top !important; }
.btn { display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border-radius:999px;border:2px solid var(--brand);font:700 15px/1 Nunito;text-decoration:none;background:var(--brand);color:#111;transition:background .2s,color .2s,transform .2s,box-shadow .2s }
.trust { margin-top:16px;display:flex;flex-wrap:wrap;gap:8px 10px;justify-content:center;font:700 12px/1 Nunito;color:#111 }
.trust .badge { padding:6px 10px;border-radius:999px;background:#fff;border:1px solid rgba(0,0,0,.10); font-weight:700; font-size:12px; }
.problem-v2__grid { display:grid;gap:24px;margin-top:clamp(20px,3vw,28px);grid-template-columns:1fr; }
.problem-v2__grid { grid-template-columns:1.8fr 1fr; 
            align-items: stretch; }
.issue-v2 { display:grid;grid-template-columns:auto 1fr;gap:12px;padding:16px;
        border:1.5px solid var(--line);border-radius:14px;background:#fff;
        box-shadow:0 6px 18px rgba(0,0,0,.04);transition:border-color .2s, transform .18s, box-shadow .2s;
        align-content: center; }
.problem-v2__aside { border: 2px solid #FFE1A6;
        background: #FFF9EA;
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 10px 24px rgba(252,176,23,.15);
        display: flex;
        flex-direction: column;
        gap: 8px;
        height: 100%;
        box-sizing: border-box; }
.aside__title { margin:0 0 8px;font:700 18px/1.25 Nunito;color:#7C4A00 }
.aside__row { display:grid; grid-template-columns:auto 1fr; gap:10px; 
        align-items:center;
        padding: 8px 10px;
        border-radius:12px; background:#fff; border:1px dashed #FFD37A }
.aside__badge { display:inline-grid;place-items:center;min-width:36px;height:36px;padding:0 8px;border-radius:999px;background:#FCB017;color:#111;font:700 11px/1 Nunito;text-transform:uppercase; }
.aside__text { margin:0;font:700 13.5px/1.45 Nunito;color:#334155 }
.card { border:2px solid rgba(0,0,0,.08);border-radius:16px;background:#fff;padding:18px;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:flex-start;transition:border-color .2s, box-shadow .2s, transform .2s; align-content: center; }
.stepv3 { position:relative;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:18px;border:1.5px solid rgba(0,0,0,.10);border-radius:18px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.04);transition:transform .2s, box-shadow .2s, border-color .2s;align-content: center; }
.esp-trust { padding: 60px 0 50px; }
.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; 
              /* UPDATED: Added Gradient Background here to match .ninja class */
              background: radial-gradient(1200px 400px at 50% -10%, #FFF7E3 0%, rgba(255,247,227,0) 60%), #fff;
              
              /* Updated to match Enforced Spacing: 60/50 Mobile, 70/60 Desktop */
              padding: 60px 16px 50px;
              
              border: none;
              scroll-margin-top:100px; }

/* === 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;
}
