/* ==========================================================================
   EAGLE SECURITY PROTECTION - BONFIRE NIGHT & FIREWORKS SECURITY STYLESHEET
   Page: /event-security/bonfire-night/
   Theme: Official ESP Brand Layout (Alternating White & Soft Bluish Sections)
   Accents: Amber Fire Flame (#f97316 / #ea580c) + Signature Gold (#FCB017)
   Version: 20261017-v1 (Strict Brand Alternating Palette & Standard FAQ Styling)
   Strictly Zero External CDN dependencies. Self-hosted Nunito fonts.
   ========================================================================== */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('https://eaglesecurityprotection.co.uk/assets/fonts/XRXV3I6Li01BKofINeaB-798ec6b6b8.woff2') format('woff2');
}

:root {
  --esp-font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --esp-brand: #FCB017;
  --esp-brand-hover: #e09b10;
  --esp-ink: #111827;
  --esp-ink-light: #1e293b;
  --esp-text-body: #334155;
  --esp-text-muted: #64748b;
  
  /* Brand Alternating Backgrounds */
  --esp-bg-white: #ffffff;
  --esp-bg-bluish: #f0f6ff;
  --esp-bg-bluish-card: #f8fbff;
  --esp-border-light: #e2e8f0;
  --esp-border-blue: #bfdbfe;
  --esp-border-hover: #FCB017;

  /* Theme Accents (Bonfire & Amber Flame) */
  --esp-amber-primary: #ea580c;
  --esp-amber-light: #f97316;
  --esp-amber-soft: #ffedd5;
  --esp-amber-glow: rgba(234, 88, 12, 0.08);

  /* Dark Anchors (Hero & Mid CTA) */
  --esp-dark-anchor: #0b0f19;
  --esp-dark-card: #131926;
  --esp-dark-border: #232c40;

  --esp-max-w: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--esp-font);
  background-color: var(--esp-bg-white);
  color: var(--esp-text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   1. SPLIT HERO SECTION (DARK PHOTOGRAPHIC BANNER)
   ========================================================================== */
.esp-locations-hero {
  position: relative;
  background: url("https://eaglesecurityprotection.co.uk/assets/images/bonfire_popup_bg.jpg") center / cover no-repeat #0b0f19 !important;
  padding: 130px 24px 75px;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.esp-loc__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.90) 0%, rgba(15, 23, 42, 0.82) 100%);
  z-index: 1;
}

.esp-loc__in {
  position: relative;
  z-index: 2;
  max-width: var(--esp-max-w);
  margin: 0 auto;
  width: 100%;
}

.esp-loc__in--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.esp-loc__title {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.esp-loc__urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 88, 12, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fdba74;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.esp-loc__lead {
  font-size: clamp(15px, 1.3vw, 16.5px);
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 620px;
}

.esp-hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.esp-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--esp-brand);
  color: #0b0c0f;
  font-size: 14.5px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(252, 176, 23, 0.3);
}

.esp-hero-btn:hover {
  background: var(--esp-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 176, 23, 0.45);
  color: #000000;
}

.esp-hero-btn--secondary {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.esp-hero-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* HERO QUOTE FORM CARD */
.esp-hero__form-card {
  background: rgba(19, 25, 38, 0.94);
  border: 1px solid var(--esp-dark-border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.esp-hero__form-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.esp-hero__form-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 18px;
}

.esp-hero__form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.esp-hero__form-fields .form-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.esp-hero__form-card input,
.esp-hero__form-card select,
.esp-hero__form-card textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 13.5px;
  font-family: var(--esp-font);
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid #334155;
  border-radius: 7px;
  color: #f1f5f9;
  outline: none;
  transition: all 0.2s ease;
}

.esp-hero__form-card input:focus,
.esp-hero__form-card select:focus,
.esp-hero__form-card textarea:focus {
  border-color: var(--esp-brand);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(252, 176, 23, 0.2);
}

.esp-hero__form-card input::placeholder,
.esp-hero__form-card textarea::placeholder {
  color: #64748b;
}

.esp-hero__form-submit {
  width: 100%;
  background: var(--esp-brand);
  color: #0b0c0f;
  font-size: 14.5px;
  font-weight: 900;
  padding: 13px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.esp-hero__form-submit:hover {
  background: var(--esp-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(252, 176, 23, 0.35);
}

.esp-hero__form-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11.5px;
  color: #94a3b8;
}

.esp-hero__form-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* CUSTOM BRAND SELECT DROPDOWN (HERO DARK THEME) */
.esp-custom-select {
  position: relative;
  width: 100%;
}

.esp-custom-select__trigger {
  width: 100%;
  padding: 11px 14px;
  font-size: 13.5px;
  font-family: var(--esp-font);
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid #334155;
  border-radius: 7px;
  color: #f1f5f9;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.esp-custom-select__trigger:focus {
  border-color: var(--esp-brand);
  box-shadow: 0 0 0 3px rgba(252, 176, 23, 0.2);
}

.esp-custom-select__trigger .chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--esp-brand);
  border-bottom: 2px solid var(--esp-brand);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: 8px;
}

.esp-custom-select[data-open="true"] .chev {
  transform: rotate(-135deg);
}

.esp-custom-select__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #131926;
  border: 1px solid #334155;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
  max-height: 240px;
  overflow-y: auto;
  padding: 4px;
}

.esp-custom-select[data-open="true"] .esp-custom-select__menu {
  display: block;
}

.esp-custom-select__opt {
  padding: 9px 12px;
  font-size: 13px;
  color: #cbd5e1;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s ease;
}

.esp-custom-select__opt:hover {
  background: rgba(252, 176, 23, 0.15);
  color: #ffffff;
}

.esp-custom-select__opt.is-selected {
  background: var(--esp-brand);
  color: #0b0c0f;
  font-weight: 700;
}

.esp-custom-select__opt .opt-check {
  display: none;
  font-weight: 900;
}

.esp-custom-select__opt.is-selected .opt-check {
  display: inline;
}

/* ==========================================================================
   2. SECTION 1: QUICK METRIC / OPERATIONS STRIP (WHITE BACKGROUND)
   ========================================================================== */
.esp-ops-strip {
  padding: 40px 24px;
  background: var(--esp-bg-white);
  border-bottom: 1px solid var(--esp-border-light);
}

.esp-ops-strip__container {
  max-width: var(--esp-max-w);
  margin: 0 auto;
}

.esp-ops-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.esp-ops-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-right: 1px solid var(--esp-border-light);
}

.esp-ops-item:last-child {
  border-right: none;
}

.esp-ops-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--esp-amber-primary);
}

.esp-ops-item__val {
  font-size: 18px;
  font-weight: 900;
  color: var(--esp-ink);
  line-height: 1.2;
}

.esp-ops-item__lbl {
  font-size: 12.5px;
  color: var(--esp-text-muted);
  line-height: 1.35;
  margin-top: 3px;
}

/* ==========================================================================
   3. SECTION 2: HIGH-RISK THREAT & SAFETY MATRIX (BLUISH BACKGROUND)
   ========================================================================== */
.esp-matrix-sec {
  padding: 80px 24px;
  background: var(--esp-bg-bluish);
  border-bottom: 1px solid var(--esp-border-blue);
}

.esp-matrix__container {
  max-width: var(--esp-max-w);
  margin: 0 auto;
}

.esp-sec-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 46px;
}

.esp-sec-header h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--esp-ink);
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.esp-sec-header p {
  font-size: 16px;
  color: var(--esp-text-muted);
  margin: 0;
}

.esp-matrix__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.esp-matrix-card {
  background: #ffffff;
  border: 1px solid var(--esp-border-light);
  border-radius: 14px;
  padding: 26px 20px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.esp-matrix-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--esp-amber-primary), var(--esp-brand));
}

.esp-matrix-card:hover {
  border-color: var(--esp-brand);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.esp-matrix-card .icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
}

.esp-matrix-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--esp-ink);
  margin: 0 0 10px;
  line-height: 1.3;
}

.esp-matrix-card p {
  font-size: 13.5px;
  color: var(--esp-text-muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.esp-matrix-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   4. SECTION 3: COUNCIL COMPLIANCE COMPARISON (WHITE BACKGROUND)
   ========================================================================== */
.esp-compare-sec {
  padding: 80px 24px;
  background: var(--esp-bg-white);
  border-bottom: 1px solid var(--esp-border-light);
}

.esp-compare__container {
  max-width: 1040px;
  margin: 0 auto;
}

.esp-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--esp-border-blue);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 36px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
}

.esp-compare-table th,
.esp-compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--esp-border-light);
}

.esp-compare-table th {
  background: #f8fafc;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--esp-ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.esp-compare-table th:last-child {
  background: #fef3c7;
  color: #78350f;
  border-left: 2px solid var(--esp-brand);
}

.esp-compare-table tr:last-child td {
  border-bottom: none;
}

.esp-compare-table td {
  font-size: 14px;
  line-height: 1.55;
  color: var(--esp-text-body);
}

.esp-compare-table td:first-child {
  font-weight: 700;
  color: var(--esp-ink);
  width: 28%;
}

.esp-compare-table td:nth-child(2) {
  color: #64748b;
  width: 36%;
  background: rgba(239, 68, 68, 0.02);
}

.esp-compare-table td:nth-child(3) {
  color: #0f172a;
  width: 36%;
  background: rgba(254, 243, 199, 0.2);
  font-weight: 600;
  border-left: 2px solid var(--esp-brand);
}

.esp-badge-danger {
  display: inline-block;
  color: #dc2626;
  font-weight: 800;
  font-size: 12.5px;
}

.esp-badge-safe {
  display: inline-block;
  color: #059669;
  font-weight: 800;
  font-size: 12.5px;
}

/* ==========================================================================
   5. SECTION 4: CORE SERVICE SLICES (BLUISH BACKGROUND)
   ========================================================================== */
.esp-slices {
  padding: 75px 24px 85px;
  background: var(--esp-bg-bluish);
  border-bottom: 1px solid var(--esp-border-blue);
}

.esp-slices__container {
  max-width: var(--esp-max-w);
  margin: 0 auto;
}

.esp-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
  padding: 0 10px;
}

.esp-jump-nav__pill {
  background: #ffffff;
  color: var(--esp-ink);
  border: 1px solid var(--esp-border-blue);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.esp-jump-nav__pill:hover,
.esp-jump-nav__pill.is-active {
  background: var(--esp-brand);
  color: #0b0c0f;
  border-color: var(--esp-brand);
  box-shadow: 0 4px 14px rgba(252, 176, 23, 0.3);
}

.esp-slice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
  background: #ffffff;
  border: 1px solid var(--esp-border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.esp-slice:last-child {
  margin-bottom: 0;
}

.esp-slice--reverse .esp-slice__media {
  order: 2;
}

.esp-slice--reverse .esp-slice__body {
  order: 1;
}

.esp-slice__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

.esp-slice__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.esp-slice:hover .esp-slice__media img {
  transform: scale(1.03);
}

.esp-slice__body {
  padding: 40px;
}

.esp-slice__pill {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.esp-slice__title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--esp-ink);
  line-height: 1.3;
  margin: 0 0 14px;
}

.esp-slice__desc {
  font-size: 14.5px;
  color: var(--esp-text-body);
  line-height: 1.65;
  margin: 0 0 20px;
}

.esp-slice__checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.esp-slice__checklist li {
  font-size: 13.5px;
  color: var(--esp-text-body);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.esp-slice__checklist li::before {
  content: '✓';
  color: #059669;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  margin-top: 3px;
}

.esp-slice__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--esp-amber-primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.esp-slice__link:hover {
  color: var(--esp-brand-hover);
  gap: 10px;
}

/* ==========================================================================
   6. SECTION 5: MID-PAGE HIGH IMPACT CTA BANNER (DARK ANCHOR)
   ========================================================================== */
.esp-mid-cta {
  padding: 80px 24px;
  background: #0b0f19;
  border-top: 1px solid var(--esp-dark-border);
  border-bottom: 1px solid var(--esp-dark-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.esp-mid-cta__container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.esp-mid-cta h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.25;
}

.esp-mid-cta p {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 32px;
}

.esp-mid-cta__btn-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   7. SECTION 6: 4-STAGE OPERATIONAL FRAMEWORK (WHITE BACKGROUND)
   ========================================================================== */
.esp-framework-sec {
  padding: 80px 24px;
  background: var(--esp-bg-white);
  border-bottom: 1px solid var(--esp-border-light);
}

.esp-framework__container {
  max-width: var(--esp-max-w);
  margin: 0 auto;
}

.esp-framework__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.esp-framework-card {
  background: #f8fafc;
  border: 1px solid var(--esp-border-light);
  border-radius: 14px;
  padding: 26px 20px;
  position: relative;
  transition: all 0.25s ease;
}

.esp-framework-card:hover {
  background: #ffffff;
  border-color: var(--esp-brand);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.esp-framework-card__step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--esp-brand);
  color: #0b0c0f;
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.esp-framework-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--esp-ink);
  margin: 0 0 10px;
  line-height: 1.3;
}

.esp-framework-card p {
  font-size: 13.5px;
  color: var(--esp-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   8. SECTION 7: LOCAL AUTHORITIES & VENUES COVERED (BLUISH BACKGROUND)
   ========================================================================== */
.esp-local-sec {
  padding: 80px 24px;
  background: var(--esp-bg-bluish);
  border-bottom: 1px solid var(--esp-border-blue);
}

.esp-local__container {
  max-width: var(--esp-max-w);
  margin: 0 auto;
}

.esp-local__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.esp-local-card {
  background: #ffffff;
  border: 1px solid var(--esp-border-blue);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.esp-local-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--esp-ink);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.esp-local-card p {
  font-size: 13.5px;
  color: var(--esp-text-body);
  line-height: 1.6;
  margin: 0 0 14px;
}

.esp-local-card__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.esp-local-card__areas span {
  font-size: 11.5px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 5px;
}

/* ==========================================================================
   9. SECTION 8: CLIENT TESTIMONIALS (WHITE BACKGROUND)
   ========================================================================== */
.esp-reviews-sec {
  padding: 80px 24px;
  background: var(--esp-bg-white);
  border-bottom: 1px solid var(--esp-border-light);
}

.esp-reviews__container {
  max-width: var(--esp-max-w);
  margin: 0 auto;
}

.esp-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.esp-review-card {
  background: #f8fafc;
  border: 1px solid var(--esp-border-light);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.esp-review-card__stars {
  color: #eab308;
  font-size: 16px;
  margin-bottom: 12px;
}

.esp-review-card p {
  font-size: 14px;
  color: var(--esp-text-body);
  line-height: 1.65;
  margin: 0 0 18px;
  font-style: italic;
  flex-grow: 1;
}

.esp-review-card__author {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--esp-ink);
}

.esp-review-card__role {
  font-size: 12px;
  color: var(--esp-text-muted);
}

/* ==========================================================================
   10. SECTION 9: ACCORDION FAQS (BLUISH BACKGROUND)
   ========================================================================== */
.esp-faq-sec {
  padding: 80px 24px;
  background: var(--esp-bg-bluish);
  border-bottom: 1px solid var(--esp-border-blue);
}

.esp-faq__container {
  max-width: 860px;
  margin: 0 auto;
}

.esp-faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.esp-faq-item {
  background: #ffffff;
  border: 1px solid var(--esp-border-blue);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.esp-faq-item:hover {
  border-color: var(--esp-brand);
}

.esp-faq-item.is-open {
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
  border-color: var(--esp-brand);
}

.esp-faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: var(--esp-font);
  font-size: 16px;
  font-weight: 800;
  color: var(--esp-ink);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  line-height: 1.4;
  outline: none;
}

.accordion-icon {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-left: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: transparent;
  font-size: 0;
  line-height: 1;
}

.accordion-icon::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-bottom: 3px;
  border-right: 2.5px solid var(--esp-brand);
  border-bottom: 2.5px solid var(--esp-brand);
  transform: rotate(45deg);
  transition: transform .2s ease, margin .2s ease;
}

.esp-faq-trigger[aria-expanded="true"] .accordion-icon::after {
  margin-bottom: -3px;
  transform: rotate(-135deg);
}

.esp-faq-content {
  display: none;
  padding: 0 24px 22px;
}

.esp-faq-content p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
}

.esp-faq-item.is-open .esp-faq-content {
  display: block;
}

/* ==========================================================================
   11. SECTION 10: FINAL FORM SECTION (BLUISH BACKGROUND WITH WHITE CARD)
   ========================================================================== */
.esp-final-form-sec {
  padding: 80px 24px;
  background: var(--esp-bg-bluish);
  border-bottom: 1px solid var(--esp-border-blue);
}

.esp-final-form-sec__container {
  max-width: 820px;
  margin: 0 auto;
}

.esp-final-form-sec .esp-hero__form-card {
  background: #ffffff;
  border: 1px solid var(--esp-border-blue);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.esp-final-form-sec .esp-hero__form-title {
  color: var(--esp-ink);
}

.esp-final-form-sec .esp-hero__form-sub {
  color: var(--esp-text-muted);
}

.esp-final-form-sec .esp-hero__form-card input,
.esp-final-form-sec .esp-hero__form-card select,
.esp-final-form-sec .esp-hero__form-card textarea,
.esp-final-form-sec .esp-hero__form-card .esp-custom-select__trigger {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #111827 !important;
}

.esp-final-form-sec .esp-hero__form-card input:focus,
.esp-final-form-sec .esp-hero__form-card select:focus,
.esp-final-form-sec .esp-hero__form-card textarea:focus {
  border-color: var(--esp-brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(252, 176, 23, 0.2);
}

.esp-final-form-sec .esp-hero__form-card input::placeholder,
.esp-final-form-sec .esp-hero__form-card textarea::placeholder {
  color: #94a3b8;
}

.esp-final-form-sec .esp-custom-select__menu {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.esp-final-form-sec .esp-custom-select__opt {
  color: #334155;
}

.esp-final-form-sec .esp-custom-select__opt:hover {
  background: #fef3c7;
  color: #111827;
}

.esp-final-form-sec .esp-custom-select__opt.is-selected {
  background: var(--esp-brand);
  color: #0b0c0f;
}

/* ==========================================================================
   12. CROSS-LINKING AUTHORITY GRID (DARK ANCHOR)
   ========================================================================== */
.esp-cross-links {
  padding: 60px 24px;
  background: #080b12;
  border-top: 1px solid var(--esp-dark-border);
}

.esp-cross-links__container {
  max-width: var(--esp-max-w);
  margin: 0 auto;
}

.esp-cross-links h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 20px;
  text-align: center;
}

.esp-cross-links__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.esp-cross-link-card {
  background: #111624;
  border: 1px solid #1f283d;
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.esp-cross-link-card:hover {
  background: #192236;
  border-color: var(--esp-brand);
  color: var(--esp-brand);
  transform: translateY(-2px);
}

.esp-cross-link-card span.icon {
  font-size: 20px;
}

/* ==========================================================================
   13. STICKY MOBILE CTA BAR
   ========================================================================== */
.esp-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0b0f19;
  border-top: 1px solid #1f283d;
  padding: 10px 16px;
  z-index: 999;
}

.esp-sticky-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.esp-sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
}

.esp-sticky-cta__btn--call {
  background: #1f283d;
  color: #ffffff;
  border: 1px solid #2e3b56;
}

.esp-sticky-cta__btn--quote {
  background: var(--esp-brand);
  color: #0b0c0f;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .esp-loc__in--split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .esp-ops-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .esp-ops-item {
    border-right: none;
  }
  .esp-matrix__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .esp-slice, .esp-slice--reverse {
    grid-template-columns: 1fr;
  }
  .esp-slice--reverse .esp-slice__media {
    order: 1;
  }
  .esp-slice--reverse .esp-slice__body {
    order: 2;
  }
  .esp-framework__grid, .esp-local__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .esp-reviews__grid {
    grid-template-columns: 1fr;
  }
  .esp-cross-links__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .esp-compare-table th, .esp-compare-table td {
    padding: 14px 16px;
  }
}

@media (max-width: 768px) {
  .esp-locations-hero {
    padding: 100px 16px 40px;
  }
  .esp-matrix__grid {
    grid-template-columns: 1fr;
  }
  .esp-framework__grid, .esp-local__grid {
    grid-template-columns: 1fr;
  }
  .esp-cross-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .esp-compare-table {
    display: block;
    overflow-x: auto;
  }
  .esp-sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}
