:root{
      --esp-brand:#FCB017;
      --esp-ink:#111111;
      --esp-text:#222222;
      --esp-line:rgba(0,0,0,.08);
      --esp-dark:#000000;
      --esp-contact-radius:18px;
    }

    body{
      margin:0;
      font-family:Nunito,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
      background:#ffffff;
      color:#111827;
    }

    /* ========================= HERO SECTION (FROM CONTENT FILE) ========================= */
    /* REVERTED TO CSS BACKGROUND IMAGE FOR MATCHING STYLE */
    .esp-locations-hero{
      --brand:#FCB017;
      --ink:#ffffff;
      --overlay: rgba(0,0,0,.64);
      --minh: 30vh; /* Default for desktop (30%) */
      position:relative;
      isolation:isolate;
      min-height:var(--minh);
      display:grid;
      place-items:center;
      color:var(--ink);
      
      /* BACKGROUND IMAGE */
      background:
        url("https://eaglesecurityprotection.co.uk/wp-content/uploads/2025/12/Services-banner.webp")
        center / cover no-repeat #222;
        
      padding-block: clamp(80px, 10vw, 120px);
    }

    /* Mobile specific hero height adjustment */
    @media (max-width: 768px) {
      .esp-locations-hero {
        /* ENSURE IMAGE LOADS ON MOBILE */
        background:
          url("https://eaglesecurityprotection.co.uk/wp-content/uploads/2025/12/Services-banner.webp")
          center / cover no-repeat #222;
          
        --minh: 50vh; /* Mobile height (50%) */
        padding-block: 50px;
      }
    }

    .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;
      font:800 clamp(32px, 5vw, 56px)/1.1 Nunito, system-ui, sans-serif;
      color:#fff;
    }

    .esp-locations-hero .esp-loc__lead{
      margin:0;
      max-width:60ch;
      font:700 clamp(15px,2.4vw,18px)/1.6 Nunito, system-ui, sans-serif;
      color:rgba(255,255,255,.92);
    }

    @media (min-height:900px){
      .esp-locations-hero{ --minh: 30vh; }
    }

    .esp-doc-info {
        background: #fff;
        padding: 90px 20px;
        border-bottom: 1px solid #eee;
    }
    .esp-doc-container {
        max-width: 1100px;
        margin: 0 auto;
        background: #fdfdfd;
        border: 1px solid #e5e7eb;
        border-left: 5px solid var(--esp-brand);
        border-radius: 8px;
        padding: 30px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    .esp-doc-title {
        font-weight: 800;
        font-size: 1.25rem;
        margin-bottom: 15px;
        color: #111;
    }
    .esp-doc-details {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    @media (min-width: 768px) {
        .esp-doc-details { grid-template-columns: 2fr 1fr; }
    }
    .esp-author-block h4 {
        margin: 0 0 5px;
        font-size: 1.1rem;
        color: #000;
    }
    .esp-author-role {
        display: block;
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 2px;
    }
    .esp-author-creds {
        font-size: 0.85rem;
        color: #777;
        margin-bottom: 10px;
    }
    .esp-contact-block {
        font-size: 0.95rem;
        color: #333;
    }
    .esp-contact-block a {
        color: #111;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.2s;
    }
    .esp-contact-block a:hover {
        color: var(--esp-brand);
    }

    /* ========================= CATALOGUE GRID ========================= */
    .esp-catalogue {
        padding: 90px 20px 90px;
        background: var(--esp-bg-light);
    }
    .esp-cat-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    .esp-cat-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    @media (min-width: 768px) {
        .esp-cat-grid { grid-template-columns: repeat(2, 1fr); }
    }
    
    .esp-cat-card {
        background: #fff;
      padding: 0px 15px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s, box-shadow 0.2s;
        /* FLEX COLUMN FOR FOOTER ALIGNMENT */
        display: flex;
        flex-direction: column;
        height: 100%;
        position: relative;
        overflow: hidden;
    }
    .esp-cat-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-color: var(--esp-brand);
    }

    /* NEW FOOTER ACTION AREA (Replaces Overlay) */
    .esp-cat-footer {
        margin-top: auto; /* Pushes this to the bottom */
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
       padding: 12px 0;
    }
    
    @media (max-width: 480px) {
       /* Stack buttons on very small screens if needed, or keep row */
       .esp-cat-footer {
         flex-direction: column;
       }
    }

    .esp-cat-book-btn {
        background: var(--esp-brand);
        color: #111;
        padding: 10px 15px;
        border-radius: 999px; /* CHANGED to pill shape like header */
        font-weight: 700; /* Increased bold to match header */
        text-decoration: none;
        border: 2px solid var(--esp-brand); /* Increased border to match header */
        text-align: center;
        font-size: 14px;
        flex: 1; /* Equal Width */
        transition: all 0.25s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.5px;
        
    }

    .esp-cat-book-btn.secondary {
        background: transparent;
        border: 2px solid var(--esp-brand);
        color: #111;
    }

    .esp-cat-book-btn:hover {
        background: #ffffff;
        color: var(--esp-brand);
        border-color: var(--esp-brand);
        transform: translateY(-2px);
        box-shadow: 0 14px 36px rgba(252,176,23,.35); /* Added header hover shadow */
    }

    /* Special hover for secondary to ensure it's distinct or same logic */
    .esp-cat-book-btn.secondary:hover {
        background: var(--esp-brand);
        color: #111;
        border-color: var(--esp-brand);
        box-shadow: 0 14px 36px rgba(252,176,23,.35);
    }
    
    .esp-cat-num {
        font-size: 3rem;
        font-weight: 700;
        color: rgba(252, 176, 23, 0.15); /* Brand color transparent */
        line-height: 1;
        margin-bottom: -20px;
        margin-left: -5px;
    }
    .esp-cat-title {
        font-size: 1.25rem;
        font-weight: 800;
        color: #111;
        margin-bottom: 12px;
        position: relative;
    }
    .esp-cat-desc {
        color: #4b5563;
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .esp-cat-meta {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        font-size: 0.9rem;
        margin-bottom: 20px; /* Space before buttons */
    }
    .esp-cat-label {
        font-weight: 800;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: var(--esp-brand);
        display: block;
        margin-bottom: 4px;
        letter-spacing: 0.5px;
    }
    .esp-cat-content {
        margin-bottom: 12px;
        color: #333;
    }
    .esp-cat-content:last-child { margin-bottom: 0; }

 .esp-trust-logo {
      display: block; margin: 0 auto; max-height: 140px; width: auto; max-width: 100%; object-fit: contain;
    }
 /* 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; padding: 90px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    }

@media (max-width: 480px) {
.esp-trust{
padding: 40px 0;
}
}


    .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(--line);border-radius:999px;
      font:700 12px/1 Nunito;letter-spacing:.06em;text-transform:uppercase; color:var(--tc-yellow);background:#fafafa;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 40px; 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;
    }
    .esp-trust-card:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(0,0,0,.12); border-color:#f7b615; }

/* Inline styles for audit-report-writing.html */
.st-92d17336 { margin-top:10px !important; }
.st-92d17336 { margin-top:10px !important; }
body { margin: 0; 
            padding: 0; 
            background-color: #f4f4f4; 
            font-family: 'Nunito', sans-serif; 
            -webkit-font-smoothing: antialiased; }
.esp.hero-guarding-wm .sep-dot { color: #FCB017; }
.esp.why-matters .card { flex-direction: column !important; text-align: center !important; justify-content: center !important; padding: 24px !important; }
.esp.process-wm { background: #fff; padding: 70px 16px 60px; font-family: 'Nunito', sans-serif; }
.esp.process-wm .step-card:hover { border-color: #FCB017; transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); background:#fff; }
.esp.pricing-wm .wrap { max-width: 1100px; margin: 0 auto; }
.esp.pricing-wm h2 { font-size: 38px; font-weight: 700; margin: 0 0 8px; color: #111; line-height: 1.2; }
.esp.pricing-wm .rate-lbl { font-weight: 700; color: #333; font-size: 18px; }
.esp.calc-budget .custom-input-wrap { margin-top: 10px; display: none; width: 100%; }
.esp.calc-budget .c-grid { display: flex !important; flex-direction: column !important; gap: 20px !important; align-items: center !important; }
.esp.knowledge-base .motto { font-size: 18px; font-style: italic; color: #424a57; border-left: 5px solid #FCB017; margin: 0 auto; font-weight: 600; background: #fafafa; padding: 16px 24px; border-radius: 0 12px 12px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.04); display: inline-block; line-height: 1.4; text-align: left; }
.esp.knowledge-base .kb-card { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 30px; transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: flex-start; height: 100%; }
.esp.knowledge-base .read-link { font-size: 14px; font-weight: 800; color: #FCB017; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.esp.why-eagle .motto { font-size: 18px; font-style: italic; color: #424a57; border-left: 5px solid #FCB017; margin: 0 auto 40px; font-weight: 500; background: #fff; padding: 16px 24px; border-radius: 0 12px 12px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.04); display: inline-block; line-height: 1.4; text-align: left; }
.esp.why-eagle .item { padding: 30px 24px; border-radius: 16px; border: 1px solid #eee; text-align: left; background: #fff; transition: all 0.3s ease; }
.esp.why-eagle .item:nth-child(2), .esp.why-eagle .item:nth-child(4) { background: #fff; border-color: rgba(252, 176, 23, 0.2); }
.esp.why-eagle .item:hover { border-color: #FCB017; transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.esp.coverage-wm .pill { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.25s ease; background: #FCB017; color: #111; border: 2px solid #FCB017; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.esp.coverage-wm .pill-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: 100%; }
.esp.coverage-wm .pill { width: 100%; padding: 12px 4px; font-size: 13px; grid-column: span 3; margin-bottom: 0; }
.esp.client-reviews .review-card { background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: left; border: 1px solid #eee; transition: 0.3s; }
.esp.mg-faqs-wm.v2 { --brand: #FCB017; --ink: #111111; --line: rgba(0,0,0,.10); --bg-grey: #fff; font-family: 'Nunito', system-ui; color: #111111; background: #fafafa; padding: 70px 16px 60px; border: none; scroll-margin-top: 100px; }
.esp.mg-faqs-wm.v2 .motto { font-size: 18px; font-style: italic; color: #424a57; border-left: 5px solid #FCB017; margin: 0 auto 30px; font-weight: 500; background: #fff; padding: 16px 24px; border-radius: 0 12px 12px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.04); display: inline-block; line-height: 1.4; text-align: left; }
.wm-loading-icon { display: inline-block; width: 16px; height: 16px; border: 2px solid #111; border-radius: 50%; border-top-color: transparent; animation: wm-spin 0.8s linear infinite; margin-right: 8px; }
.wm-btn.is-loading { opacity: 0.8; cursor: not-allowed; pointer-events: none; background-color: #FCB017; }
.wm-chip { display:inline-flex;align-items:center;gap:8px; padding:6px 14px;border:1px solid var(--wm-line);border-radius:999px; background:#fafafa;font:700 12px/1 Nunito,system-ui; text-transform:uppercase;letter-spacing:.5px;color: #fcb017; }
.wm-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; width: 100%; }
.wm-btn, .wm-btn--ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; text-decoration: none; font: 700 14px/1 'Nunito', sans-serif, system-ui; border: 2px solid var(--wm-brand); background: var(--wm-brand); color: #111; box-shadow: 0 12px 26px rgba(0,0,0,.08); transition: background-color .18s, color .18s, transform .18s, border-color .18s, box-shadow .18s; box-sizing: border-box; cursor: pointer; min-width: 240px; }
.wm-btn:hover, .wm-btn--ghost:hover { background: #fff; color: var(--wm-brand); border-color: var(--wm-brand); box-shadow: 0 12px 26px rgba(252,176,23,.18); transform: translateY(-1px); }
.wm-fine { display:flex;flex-wrap:wrap;gap:10px;align-items:center; margin-top:8px;font:700 12px/1.4 Nunito,system-ui; color:rgba(62,61,61,.9); text-align: left; }
.motto, .quote, .wm-sub, .quote-small { font-size: 16px !important; line-height: 1.5 !important; margin-left: auto !important; margin-right: auto !important; text-align: center !important; display: inline-block !important; }
p, .lead, .desc, .answer p, li { font-size: 15.5px !important; line-height: 1.6 !important; }
.grid, .card-grid, .phases-grid, .wm-row, .wm-row--2, .c-grid, .list-side, .process-grid, .kb-grid { display: flex !important; flex-direction: column !important; gap: 20px !important; align-items: center !important; }
.card, .item, .phase-box, .res-card, .kb-card, .step-card { width: 100% !important; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; }
.wm-actions .wm-btn, .wm-actions .wm-btn--ghost { width: 100% !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;
}
