/* ========================= 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/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% - 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: 28ch;
    }
    
    /* 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: 65ch;
      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; }
    }

    /* ========================= GENERAL LAYOUT ========================= */
    .esp-section {
      width: 100%;
      /* APPLIED SPACING GUIDE */
      padding-top: var(--sect-pad-top);
      padding-bottom: var(--sect-pad-btm);
    }
    
    .esp-section-grey {
      background-color: #fafafa;
    }
    
    .esp-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    
    /* GRID SYSTEM */
    .esp-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    
    @media (max-width: 960px) {
      .esp-grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .esp-order-mobile-2 { order: 2; }
      .esp-order-mobile-1 { order: 1; }
    }

    /* TYPOGRAPHY - Standardized to Style Guide */
    .esp-h2 {
      /* Matching Style Guide 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-h3 {
      font-size: clamp(20px, 3vw, 24px);
      font-weight: 700;
      color: var(--esp-ink);
      margin-bottom: 16px;
      margin-top: 0;
    }
    
    .esp-text {
      font-size: 16px;
      line-height: 1.7;
      color: var(--esp-text-muted);
      margin-bottom: 24px;
    }
    
    /* === IMAGE WRAPPER LOGIC === */
    .esp-img-wrap {
      border-radius: var(--esp-card-radius);
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.15);
      background: #ddd;
      /* Style Guide: Added Brand Border */
      border: 2px solid var(--esp-brand);
      width: 100%;
      height: auto;
      position: relative;
      display: block;
    }
    
    .esp-img-wrap > img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* === SPECIAL LOGIC FOR 2-IMAGE STACK === */
    .esp-double-stack {
      display: flex;
      flex-direction: column;
      height: 100%;
      gap: 20px;
    }
    
    .esp-double-stack .esp-img-wrap {
      flex: 1;
      height: auto;
      min-height: 250px;
    }

    .esp-double-stack .esp-img-wrap img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* LISTS */
    .esp-list {
      list-style: none;
      padding: 0;
      margin: 0 0 24px 0;
    }
    .esp-list li {
      position: relative;
      padding-left: 30px;
      margin-bottom: 12px;
      color: var(--esp-text-muted);
      font-size: 16px;
      font-weight: 600;
    }
    .esp-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 4px;
      color: var(--esp-brand);
      font-weight: 800;
    }

    /* QUOTE BOX */
    .esp-quote-box {
      background: #fff;
      border-left: 4px solid var(--esp-brand);
      padding: 24px;
      margin: 20px 0;
      font-style: italic;
      color: #333;
      border-radius: 0 8px 8px 0;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      font-size: 16px;
      line-height: 1.6;
    }

    /* ========================= 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: #fafafa; 
      /* 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; }

/* Inline styles for security-subcontracting.html */
.st-32530807 { display:block !important; width:60px !important; height:4px !important; background:var(--esp-brand) !important; margin-bottom:15px !important; }
.st-60243c33 { font-size:15px !important; margin-top:16px !important; }
.st-20a5a393 { font-size:20px !important; margin-top:20px !important; }
.st-a2d48c76 { margin-bottom:0 !important; }

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