:root{
      /* === DESIGN SYSTEM TOKENS === */
      --esp-brand: #FCB017;
      --esp-ink: #111111;
      --esp-dark: #000000;
      --esp-text-muted: #424a57; 
      --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;
      overflow-x: hidden;
    }

    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);
    }

    /* ========================= BUTTONS ========================= */
    .esp-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--esp-brand);
      color: var(--esp-ink);
      font-weight: 800;
      font-size: 16px;
      padding: 16px 36px;
      border-radius: 999px;
      text-decoration: none;
      transition: background 0.2s, transform 0.2s;
      border: 2px solid var(--esp-brand);
      cursor: pointer;
    }
    .esp-btn:hover {
      background: #e59d12;
      border-color: #e59d12;
      transform: translateY(-2px);
    }

    /* ========================= ALTERNATING SECTIONS & PADDING ========================= */
    .esp-section-white {
        background: #ffffff;
        padding: 60px 0 50px; /* Mobile Padding */
    }
    .esp-section-fafafa {
        background: #fafafa;
        padding: 60px 0 50px; /* Mobile Padding */
    }
    @media (min-width: 768px) {
        .esp-section-white, .esp-section-fafafa {
            padding: 70px 0 60px; /* Desktop Padding */
        }
    }

    /* ========================= HERO SECTION ========================= */
    .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/2026/02/Crem.-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;
      font: 700 clamp(32px,5vw,56px)/1.1 Nunito,system-ui,sans-serif;
      color: #fff;
      max-width: 25ch;
    }

    .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 {
        --minh: 50vh;
        padding-block: 50px;
      }
    }
    @media (min-height:900px){
      .esp-locations-hero{ --minh: 30vh; }
    }

    /* ========================= CONTAINERS ========================= */
    .esp-slices__container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
    .esp-location__inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
    
    /* ========================= SLICE CARDS ========================= */
    .esp-slice { 
        background: #ffffff; 
        border-radius: var(--esp-card-radius); 
        border: 1px solid rgba(15,23,42,.06); 
        box-shadow: 0 2px 6px rgba(16, 24, 40, .05), 0 30px 80px rgba(16, 24, 40, .1); 
        overflow: hidden; 
        display: grid; 
        grid-template-columns: 1fr; 
        margin-bottom: 56px; 
        transition: transform .18s ease, box-shadow .18s ease; 
    }
    .esp-slice:hover { 
        transform: translateY(-3px); 
        box-shadow: 0 6px 14px rgba(16, 24, 40, .08), 0 36px 110px rgba(16, 24, 40, .14); 
    }
    .esp-slice:last-child { margin-bottom: 0; }
    
    .esp-slice__media { position: relative; width: 100%; min-height: 260px; background: #e2e8f0; border-bottom: 4px solid var(--esp-brand); }
    .esp-slice__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
    
    .esp-slice__body { padding: 40px 32px; align-self: center; display: flex; flex-direction: column; justify-content: center; }
    
    @media (max-width: 768px) {
      .esp-slice__media { border-top-left-radius: var(--esp-card-radius); border-top-right-radius: var(--esp-card-radius); }
    }
    
    @media (min-width: 769px) {
      .esp-slice { grid-template-columns: 1fr 1fr; min-height: 380px; }
      .esp-slice__media { border-bottom: 0; border-right: 4px solid var(--esp-brand); border-top-left-radius: var(--esp-card-radius); border-bottom-left-radius: var(--esp-card-radius); }
      .esp-slice--reverse .esp-slice__media { order: 2; border-right: 0; border-left: 4px solid var(--esp-brand); border-radius: 0; border-top-right-radius: var(--esp-card-radius); border-bottom-right-radius: var(--esp-card-radius); }
      .esp-slice--reverse .esp-slice__body { order: 1; }
    }
    
    .esp-slice__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--esp-brand); margin: 0 0 8px; }
    .esp-slice__title { margin: 0 0 12px; font: 700 clamp(20px, 3vw, 28px)/1.2 Nunito, sans-serif; color: var(--esp-ink); }
    .esp-slice__text { margin: 0; font: 16px/1.7 Nunito, sans-serif; color: var(--esp-text-muted); }
    
    .esp-list { list-style: none; padding: 0; margin: 16px 0 24px 0; }
    .esp-list li { position: relative; padding-left: 24px; margin-bottom: 12px; color: var(--esp-text-muted); font-size: 16px; font-weight: 600; text-align: left; }
    .esp-list li::before { content: "✓"; position: absolute; left: 0; top: 0px; color: var(--esp-brand); font-weight: 900; }

    /* ========================= CORE SERVICES GRID ========================= */
    .esp-services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
        margin: 40px 0 0;
    }
    .esp-service-card {
        background: #ffffff;
        padding: 32px;
        border-radius: var(--esp-card-radius);
        box-shadow: 0 4px 16px rgba(15,23,42,0.06);
        /* 2px border implemented for smooth hover */
        border: 2px solid var(--esp-line);
        transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    }
    .esp-service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(15,23,42,0.1);
        border-color: var(--esp-brand); /* Added Hover Border */
    }
    .esp-service-icon {
        font-size: 32px;
        margin-bottom: 16px;
        display: inline-block;
        padding: 12px;
        background: #fff8eb;
        border-radius: 12px;
    }

    /* ============= LOCATION / COVERAGE SECTION ============= */
    .esp-location__header {
      text-align: center;
      margin-bottom: 40px;
      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__grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px;
      margin: 0 auto;
      max-width: 900px;
    }
    .esp-location__item {
      background: #fafafa;
      /* 2px border implemented */
      border: 2px solid var(--esp-line);
      border-radius: 999px;
      padding: 12px 24px 12px 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      color: var(--esp-ink);
      transition: all 0.2s;
      font-size: 16px;
    }
    .esp-location__item:hover {
      border-color: var(--esp-brand);
      background: #fff;
      box-shadow: 0 4px 12px rgba(252, 176, 23, 0.15);
      transform: translateY(-2px);
    }
    .esp-location__item svg {
      flex-shrink: 0;
    }

    /* ============= SECTION 8: WHY CHOOSE US ============= */
    .esp-why-choose__header h2 {
        color: var(--esp-ink);
    }
    .esp-why-choose__header p {
        color: var(--esp-text-muted);
    }
    .esp-why-card {
        background: #ffffff;
        /* 2px border implemented */
        border: 2px solid var(--esp-line);
        padding: 32px;
        border-radius: var(--esp-card-radius);
        box-shadow: 0 4px 16px rgba(15,23,42,0.06);
        transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    }
    .esp-why-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(15,23,42,0.1);
        border-color: var(--esp-brand); /* Added Hover Border */
    }
    .esp-why-card h3 {
        color: var(--esp-ink);
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 12px;
    }
    .esp-why-card p {
        color: var(--esp-text-muted);
    }
    .esp-why-card .esp-service-icon {
        background: #fff8eb;
    }
 /* ========================= CTA SECTION ========================= */
    .esp-cta-section {
      background-color: #fafafa;
      padding: 70px 24px;
      text-align: center;
    }
    .esp-cta-section h2 {
      color: var(--esp-ink); font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px;
    }
    .esp-cta-section p {
      color: var(--esp-text-muted); font-size: 18px; max-width: 700px;
      margin: 0 auto 32px; line-height: 1.7;
    }
    
    .esp-cta-btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      background-color: var(--esp-brand); color: var(--esp-ink);
      padding: 16px 40px; border-radius: 999px; font-weight: 800; font-size: 18px;
      text-decoration: none; border: 2px solid var(--esp-brand);
      box-shadow: 0 8px 24px rgba(252, 176, 23, 0.25); transition: all 0.3s ease;
    }
    .esp-cta-btn:hover {
      background-color: #ffffff; color: var(--esp-brand);
      transform: translateY(-3px); box-shadow: 0 12px 28px rgba(252, 176, 23, 0.15);
    }

/* ===== LOCKED SCOPE FOR FAQs ===== */
      .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: #fafafa;
        /* Padding matches the specified mobile rules */
        padding: 60px 16px 50px;
        border: none;
        scroll-margin-top:100px;
      }
      @media (min-width: 768px) {
          .esp.mg-faqs-birmingham.v2 {
              /* Padding matches the specified desktop rules */
              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{
        /* 1px border implemented for details block */
        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; }

/* Inline styles for cremation-security-page.html */
.st-e6f77312 { color: rgba(255,255,255,0.8) !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.6 !important; margin: 0 !important; }
.st-13da256b { text-align: center !important; max-width: 800px !important; margin: 0 auto 56px !important; }
.st-5d92af4e { font-size: clamp(28px, 4vw, 40px) !important; font-weight: 700 !important; color: var(--esp-ink) !important; margin-bottom: 16px !important; }
.st-8ff2b669 { font-size: 18px !important; color: var(--esp-text-muted) !important; }
.st-86c43506 { text-align: center !important; margin-bottom: 20px !important; }
.st-bcf3912a { font-size: clamp(28px, 4vw, 40px) !important; font-weight: 700 !important; color: var(--esp-ink) !important; }
.st-fd9a0d60 { font-size: 20px !important; font-weight: 700 !important; margin-bottom: 12px !important; }
.st-b6d64248 { color: var(--esp-text-muted) !important; margin: 0 !important; font-size: 15.5px !important; }
.st-1efd7491 { margin-top:16px !important; }
.st-82daf416 { max-width: 800px !important; margin: 16px auto 0 !important; }
.st-6039a3a0 { margin-top:0 !important; }
.st-8ffb1501 { margin: 0 !important; font-size: 15.5px !important; }

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