/* ==========================================================================
   Ekoinstal Mazury — Gmina (location_page) redesign
   Matches the pompy-ciepla design system (taste-skill baseline)
   Scoped to body.single-location_page — applies to ALL 71 gmina pages
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap');

/* ---- Fix Astra doubled fixed-header + body padding spacer on gmina pages ---- */
html body.single-location_page{ padding-top: 0 !important; }
html body.single-location_page #masthead,
html body.single-location_page .site-header,
html body.single-location_page .site-header.ast-fixed-header,
html body.single-location_page header.site-header{
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 72px !important;
  min-height: 72px !important;
  z-index: 9999 !important;
  box-shadow: 0 1px 0 rgba(15,23,42,.06), 0 4px 12px rgba(15,23,42,.04) !important;
  transform: none !important;
  background: #fff !important;
}
html body.single-location_page .ast-primary-header-bar,
html body.single-location_page .ast-primary-header-bar.ast-primary-header,
html body.single-location_page .main-header-bar{
  position: relative !important;
  top: auto !important;
  z-index: auto;
  background: #fff;
  box-shadow: none !important;
}
html body.single-location_page .ast-primary-header-bar,
html body.single-location_page .ast-primary-header-bar .site-primary-header-wrap,
html body.single-location_page .ast-primary-header-bar .ast-builder-grid-row{
  min-height: 72px !important;
  height: 72px !important;
}
body.single-location_page .custom-logo{
  max-height: 55px !important;
  max-width: 200px !important;
}
body.single-location_page #primary.content-area{
  margin-top: 0 !important;
}
body.single-location_page #main.site-main{
  margin-top: -32px !important;
}
body.single-location_page .ast-header-fixed-placeholder,
body.single-location_page .ast-desktop .ast-header-fixed-placeholder,
body.single-location_page .ast-fixed-header-spacer,
body.single-location_page #ast-fixed-header{ display: none !important; height: 0 !important; }

body.single-location_page .site-header-primary-section-left,
body.single-location_page .site-header-section--primary.site-header-section-left{
  padding-left: 24px !important;
}
body.single-location_page .menu-toggle,
body.single-location_page .ast-mobile-menu-trigger-minimal,
body.single-location_page .ast-button-wrap{ padding-left: 8px; }
body.single-location_page .site-header-primary-section-right,
body.single-location_page .site-header-section--primary.site-header-section-right{
  padding-right: 24px !important;
}

@media (max-width: 768px){
  body.single-location_page .site-header-primary-section-left,
  body.single-location_page .site-header-section--primary.site-header-section-left{
    padding-left: 0 !important;
  }

  body.single-location_page .menu-toggle,
  body.single-location_page .ast-mobile-menu-trigger-minimal,
  body.single-location_page .ast-button-wrap{
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 480px){
  html body.single-location_page:not(.ast-main-header-nav-open) .eko-sector-buttons{
    display: flex !important;
    position: fixed !important;
    left: auto !important;
    right: 0 !important;
    top: auto !important;
    bottom: calc(132px + env(safe-area-inset-bottom)) !important;
    z-index: 9998 !important;
    flex-direction: column !important;
    gap: 3px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  html body.single-location_page:not(.ast-main-header-nav-open) .eko-sector-btn{
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    writing-mode: vertical-lr !important;
    text-orientation: mixed !important;
    min-height: 72px !important;
    padding: 10px 7px !important;
    border-radius: 24px 0 0 24px !important;
    font-size: 10px !important;
    letter-spacing: .7px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,.3) !important;
  }
}

/* ---- Design tokens (ported from pompy-ciepla) ---- */
body.single-location_page .entry-content{
  --eim-ink: #0f172a;
  --eim-ink-soft: #334155;
  --eim-mute: #64748b;
  --eim-line: #e2e8f0;
  --eim-bg: #ffffff;
  --eim-bg-soft: #f8fafc;
  --eim-bg-warm: #f1f5f9;
  --eim-dark: #00073F;
  --eim-dark-soft: #050e4f;
  --eim-brand-blue: #007EC8;
  --eim-brand-blue-hi: #3ca3e0;
  --eim-accent: #70B221;
  --eim-accent-hover: #5a9019;
  --eim-accent-soft: #f1f8e8;
  --eim-accent-hi: #a3d75a;
  --eim-accent-ink: #3d5f14;
  --eim-shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --eim-shadow-lg: 0 20px 40px -15px rgba(15,23,42,.08);
  --eim-radius: 20px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--eim-ink);
  line-height: 1.5;
}

.eim-page{ box-sizing: border-box; }
.eim-page *{ box-sizing: border-box; }
.eim-page h1, .eim-page h2, .eim-page h3, .eim-page h4{
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--eim-ink);
  margin: 0;
}
.eim-page p{ margin: 0; color: var(--eim-ink-soft); }
.eim-page ul{ margin: 0; padding: 0; list-style: none; }

body.single-location_page .entry-content > .eim-page,
body.single-location_page .entry-content[data-ast-blocks-layout] > .eim-page{
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* ---- Staggered reveal ---- */
@keyframes eimRise{
  from{ opacity: 0; transform: translateY(16px); }
  to  { opacity: 1; transform: translateY(0); }
}
.eim-reveal{ opacity: 0; animation: eimRise .8s cubic-bezier(.16,1,.3,1) forwards; }
.eim-reveal[data-d="1"]{ animation-delay: .05s; }
.eim-reveal[data-d="2"]{ animation-delay: .15s; }
.eim-reveal[data-d="3"]{ animation-delay: .25s; }
.eim-reveal[data-d="4"]{ animation-delay: .35s; }
.eim-reveal[data-d="5"]{ animation-delay: .45s; }

/* ---- Container + sections ---- */
.eim-container{ max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eim-section{ padding: 72px 0; }

/* ============================== HERO ============================== */
.eim-hero{
  position: relative;
  background: linear-gradient(160deg, #00052e 0%, var(--eim-dark) 50%, #0a154a 100%);
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
}
.eim-hero::before{
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 92% 18%, rgba(112,178,33,.16), transparent 60%),
    radial-gradient(ellipse 600px 500px at 5% 90%, rgba(0,126,200,.18), transparent 60%);
  pointer-events: none;
}
.eim-hero__grid{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.eim-hero__eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #d9efb4;
  background: rgba(112,178,33,.12);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(112,178,33,.25);
  margin-bottom: 28px;
}
.eim-hero__eyebrow::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--eim-accent);
  box-shadow: 0 0 0 4px rgba(112,178,33,.3);
  animation: eimPulse 2s ease-in-out infinite;
}
@keyframes eimPulse{ 50%{ box-shadow: 0 0 0 10px rgba(112,178,33,.1); } }
.eim-hero h1{
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -.025em;
  line-height: 1.05;
}
.eim-hero h1 b{ font-weight: 700; font-style: normal; color: var(--eim-brand-blue-hi); }
.eim-hero h1 em{ font-style: italic; font-weight: 600; color: var(--eim-accent-hi); }
.eim-hero .eim-hero__lead{
  font-size: 19px; line-height: 1.6;
  color: #dbeafe;
  max-width: 58ch;
  margin-bottom: 32px;
}
.eim-page .eim-trust-bullets{
  display: flex; flex-wrap: wrap; gap: 20px;
  margin: 0 0 36px;
  font-size: 14px; color: #cbd5e1; font-weight: 500;
}
.eim-trust-bullets li{ display: flex; align-items: center; gap: 8px; }
.eim-trust-bullets li::before{
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  background: var(--eim-accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
  border-radius: 50%;
}

/* ---- Buttons ---- */
.eim-cta-row{ display: flex; gap: 14px; flex-wrap: wrap; }
.eim-btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  text-decoration: none; border-radius: 12px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.eim-btn svg{ width: 16px; height: 16px; }
.eim-btn--primary{
  background: var(--eim-ink); color: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.1), 0 2px 8px rgba(15,23,42,.08);
}
.eim-btn--primary:hover{ transform: translateY(-2px); background: #0b1220; color: #fff; box-shadow: 0 6px 16px rgba(15,23,42,.18); }
.eim-btn--ghost{
  background: transparent; color: var(--eim-ink);
  border: 1px solid var(--eim-line);
}
.eim-btn--ghost:hover{ border-color: var(--eim-ink); transform: translateY(-1px); }
.eim-btn--accent{
  background: var(--eim-accent); color: #fff;
  box-shadow: 0 2px 8px rgba(112,178,33,.3);
}
.eim-btn--accent:hover{ transform: translateY(-2px); background: var(--eim-accent-hover); color: #fff; box-shadow: 0 8px 20px rgba(112,178,33,.4); }

.eim-hero .eim-btn--primary{ background: var(--eim-accent); color: #fff; box-shadow: 0 2px 8px rgba(112,178,33,.3); }
.eim-hero .eim-btn--primary:hover{ background: var(--eim-accent-hover); color: #fff; box-shadow: 0 8px 20px rgba(112,178,33,.4); }
.eim-hero .eim-btn--ghost{ color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.eim-hero .eim-btn--ghost:hover{ color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.1); }

/* ---- Hero visual (right column) ---- */
.eim-hero__visual{
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: #0f172a url("/wp-content/uploads/2026/04/gmina-hero.jpg") center/cover;
  box-shadow: var(--eim-shadow-lg);
}
.eim-hero__visual::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.55) 100%);
}
.eim-hero__badge{
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  z-index: 1;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.eim-hero__badge-num{
  font-family: 'Outfit', sans-serif;
  font-size: 26px; font-weight: 700;
  color: var(--eim-accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.eim-hero__badge-txt{ font-size: 13px; color: var(--eim-ink-soft); line-height: 1.4; }
.eim-hero__badge-txt strong{ color: var(--eim-ink); display: block; font-weight: 600; }

/* ============================== STATS STRIP ============================== */
.eim-stats{
  background: var(--eim-ink);
  color: #fff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.eim-stats::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 300px at 50% 0%, rgba(112,178,33,.15), transparent 70%);
}
.eim-stats__grid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.eim-stat{ display: flex; flex-direction: column; gap: 6px; }
.eim-stat__num{
  font-size: 40px; font-weight: 700; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.eim-stat__num sup{ font-size: 20px; color: var(--eim-accent); -webkit-text-fill-color: var(--eim-accent); }
.eim-stat__label{ font-size: 13px; color: #94a3b8; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.eim-stat__caption{ font-size: 13px; color: #cbd5e1; margin-top: 2px; }

/* ============================== SECTION HEADINGS ============================== */
.eim-kicker{
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--eim-accent);
  margin-bottom: 14px;
}
.eim-h2{ font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; margin-bottom: 12px; }
.eim-sub{ font-size: 17px; color: var(--eim-mute); max-width: 58ch; }

/* ============================== SERVICES GRID (asymmetric) ============================== */
.eim-services{ background: var(--eim-bg-soft); }
.eim-services__grid{
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  margin-top: 48px;
}
.eim-svc-card{
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--eim-line);
  border-radius: var(--eim-radius);
  color: inherit;
  text-decoration: none !important;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
}
.eim-svc-card:hover{ transform: translateY(-3px); box-shadow: var(--eim-shadow-lg); border-color: transparent; color: inherit; text-decoration: none !important; }
.eim-svc-card h3,
.eim-svc-card p,
.eim-svc-card__cta{ text-decoration: none !important; }
.eim-svc-card__icon{
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--eim-accent-soft); color: var(--eim-accent);
  display: grid; place-items: center;
}
.eim-svc-card__icon svg{ width: 22px; height: 22px; }
.eim-svc-card h3{ font-size: 17px; font-weight: 700; margin: 0; }
.eim-svc-card p{ font-size: 14px; color: var(--eim-mute); line-height: 1.55; }
.eim-svc-card__cta{
  margin-top: auto;
  font-size: 13px; font-weight: 600;
  color: var(--eim-accent);
  display: inline-flex; align-items: center; gap: 4px;
}
.eim-svc-card__cta::after{ content: "→"; transition: transform .2s ease; }
.eim-svc-card:hover .eim-svc-card__cta::after{ transform: translateX(3px); }

/* Feature card — Pompy ciepła, spans 2 rows */
.eim-svc-card--feature{
  grid-column: 1;
  grid-row: span 2;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-color: transparent;
  padding: 36px 30px;
  position: relative;
}
.eim-svc-card--feature::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(112,178,33,.2), transparent 50%);
  border-radius: var(--eim-radius);
}
.eim-svc-card--feature > *{ position: relative; }
.eim-svc-card--feature .eim-svc-card__icon{
  background: rgba(112,178,33,.18); color: var(--eim-accent-hi);
  width: 52px; height: 52px; border-radius: 14px;
}
.eim-svc-card--feature .eim-svc-card__icon svg{ width: 26px; height: 26px; }
.eim-svc-card--feature h3{ font-size: 28px; color: #fff; margin-top: 4px; }
.eim-svc-card--feature p{ font-size: 15px; color: #cbd5e1; max-width: 38ch; }
.eim-svc-card--feature .eim-svc-card__list{
  display: grid; gap: 6px; margin-top: 12px;
  font-size: 13px; color: #cbd5e1;
}
.eim-svc-card--feature .eim-svc-card__list li{ display: flex; gap: 8px; }
.eim-svc-card--feature .eim-svc-card__list li::before{ content: "—"; color: var(--eim-accent-hi); }
.eim-svc-card--feature .eim-svc-card__cta{ color: var(--eim-accent-hi); }
.eim-svc-card--feature .eim-sol-card__label,
.eim-svc-card__label{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--eim-accent);
  margin-bottom: 6px;
}
.eim-svc-card--feature .eim-svc-card__label{ color: var(--eim-accent-hi); }

/* ============================== FINAL CTA BLOCK ============================== */
.eim-cta-block{
  background: var(--eim-ink);
  color: #fff;
  border-radius: 28px;
  padding: 56px 44px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px; align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--eim-shadow-lg);
}
.eim-cta-block::before{
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(112,178,33,.25), transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(0,126,200,.15), transparent 50%);
}
.eim-cta-block > *{ position: relative; }
.eim-cta-block h2{ color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 10px; }
.eim-cta-block p{ color: #cbd5e1; font-size: 16px; }
.eim-cta-block__actions{ display: flex; flex-direction: column; gap: 10px; }
.eim-cta-block .eim-btn--accent{ justify-content: center; }
.eim-cta-block .eim-btn--ghost{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; justify-content: center; }
.eim-cta-block .eim-btn--ghost:hover{ background: rgba(255,255,255,.12); color: #fff; }
.eim-phone{ display: block; text-align: center; color: #94a3b8; font-size: 13px; margin-top: 4px; }
.eim-phone strong{ color: #fff; font-weight: 600; font-size: 15px; font-family: 'JetBrains Mono', monospace; }

/* ============================== ENERGY WIDGETS — container restyle ============================== */
body.single-location_page .ekoinstal-solar-widget,
body.single-location_page .ekoinstal-wind-widget,
body.single-location_page .ekoinstal-energy-cta{
  font-family: 'Outfit', sans-serif !important;
  max-width: 1200px;
  margin: 40px auto !important;
  border-radius: 24px !important;
  box-shadow: var(--eim-shadow-lg) !important;
  overflow: hidden;
}
/* Solar widget: slim amber top bar instead of gradient header */
body.single-location_page .ekoinstal-solar-widget .eiw-header{
  align-items: center !important;
  background: var(--eim-ink) !important;
  border-bottom: 0 !important;
  border-top: 3px solid #f59e0b;
  padding: 16px 24px !important;
}
body.single-location_page .ekoinstal-solar-widget .eiw-kicker{
  color: #fed7aa !important;
  margin: 0 0 4px !important;
}
body.single-location_page .ekoinstal-solar-widget .eiw-header h3{
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -.015em;
  margin: 0 !important;
}
/* Wind widget: slim indigo top bar */
body.single-location_page .ekoinstal-wind-widget .eiw-header{
  align-items: center !important;
  background: var(--eim-ink) !important;
  border-bottom: 0 !important;
  border-top: 3px solid #8b5cf6;
  padding: 16px 24px !important;
}
body.single-location_page .ekoinstal-wind-widget .eiw-kicker{
  color: #a5f3fc !important;
  margin: 0 0 4px !important;
}
body.single-location_page .ekoinstal-wind-widget .eiw-header h3{
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}
body.single-location_page .ekoinstal-solar-widget .eiw-source-pill,
body.single-location_page .ekoinstal-wind-widget .eiw-source-pill{
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.28) !important;
  color: #fff !important;
}
body.single-location_page .ekoinstal-solar-widget .eiw-body,
body.single-location_page .ekoinstal-wind-widget .eiw-body{
  background: #fff !important;
  color: #1e293b !important;
}
body.single-location_page .ekoinstal-solar-widget .eiw-copy p,
body.single-location_page .ekoinstal-wind-widget .eiw-copy p{
  color: #475569 !important;
}
body.single-location_page .ekoinstal-solar-widget .eiw-copy strong,
body.single-location_page .ekoinstal-wind-widget .eiw-copy strong{
  color: #1e293b !important;
}
body.single-location_page .ekoinstal-solar-widget .eiw-copy h4,
body.single-location_page .ekoinstal-solar-widget .eiw-chart-head h4{
  color: #92400e !important;
}
body.single-location_page .ekoinstal-wind-widget .eiw-copy h4,
body.single-location_page .ekoinstal-wind-widget .eiw-chart-head h4{
  color: #155e68 !important;
}
body.single-location_page .ekoinstal-solar-widget .eiw-metric strong,
body.single-location_page .ekoinstal-wind-widget .eiw-metric strong{
  font-size: clamp(22px, 2.1vw, 28px) !important;
  line-height: 1.12 !important;
  overflow-wrap: anywhere;
}
@media (max-width: 768px){
  body.single-location_page .ekoinstal-solar-widget .eiw-header,
  body.single-location_page .ekoinstal-wind-widget .eiw-header{
    padding: 16px 20px !important;
  }
}
@media (max-width: 520px){
  body.single-location_page .ekoinstal-solar-widget .eiw-header,
  body.single-location_page .ekoinstal-wind-widget .eiw-header{
    align-items: flex-start !important;
    gap: 10px !important;
  }
  body.single-location_page .ekoinstal-solar-widget .eiw-source-pill,
  body.single-location_page .ekoinstal-wind-widget .eiw-source-pill{
    min-height: 28px;
    padding: 5px 9px;
  }
}
/* Energy CTA: green accent */
body.single-location_page .ekoinstal-energy-cta{
  background: linear-gradient(135deg, #0d7c30 0%, var(--eim-accent) 100%) !important;
  color: #fff;
}
body.single-location_page .ekoinstal-energy-cta h3,
body.single-location_page .ekoinstal-energy-cta h2{
  font-family: 'Outfit', sans-serif !important;
  color: #fff !important;
}

/* ============================== FOOTER (dark override for all gmina pages) ============================== */
body.single-location_page .site-footer,
body.single-location_page footer{ font-family: 'Outfit', sans-serif; }
body.single-location_page .site-footer,
body.single-location_page footer[class*="site-footer"],
body.single-location_page .ast-footer-overlay{
  background: #0f172a !important;
  color: #cbd5e1 !important;
}
body.single-location_page .site-footer h3,
body.single-location_page .site-footer h4,
body.single-location_page footer h3,
body.single-location_page footer h4{
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -.01em;
}
body.single-location_page .site-footer p,
body.single-location_page footer p{ color: #94a3b8 !important; }
body.single-location_page .site-footer a,
body.single-location_page footer a{
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color .2s ease;
}
body.single-location_page .site-footer a:hover,
body.single-location_page footer a:hover{ color: var(--eim-accent, #70B221) !important; }
body.single-location_page .site-footer ul,
body.single-location_page footer ul{ list-style: none !important; padding: 0 !important; }
body.single-location_page .site-footer li,
body.single-location_page footer li{ padding: 4px 0 !important; border: none !important; background: transparent !important; }

/* ============================== MOBILE FALLBACK ============================== */
@media (max-width: 900px){
  .eim-hero{ padding: 64px 0 48px; }
  .eim-hero__grid{ grid-template-columns: 1fr; gap: 40px; }
  .eim-hero h1{ font-size: 36px; }
  .eim-hero__visual{ aspect-ratio: 16/10; max-width: 480px; margin: 0 auto; }
  .eim-section{ padding: 56px 0; }
  .eim-stats__grid{ grid-template-columns: 1fr 1fr; gap: 24px; }
  .eim-services__grid{ grid-template-columns: 1fr 1fr; }
  .eim-svc-card--feature{ grid-column: 1 / -1; grid-row: auto; }
  .eim-cta-block{ grid-template-columns: 1fr; padding: 40px 24px; gap: 24px; }
}
@media (max-width: 560px){
  .eim-stats__grid{ grid-template-columns: 1fr 1fr; }
  .eim-services__grid{ grid-template-columns: 1fr; grid-auto-rows: auto; align-items: start; }
  .eim-svc-card{ min-height: 0; }
  .eim-svc-card__cta{ margin-top: 14px; }
  .eim-stat__num{ font-size: 34px; }
  .eim-hero h1{ font-size: 30px; }
}
