/* ============================================================
   Zamrażanie Grzejników Łódź – Custom CSS  v3
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --zg-primary:      #1259A1;
  --zg-primary-dk:   #0d4785;
  --zg-primary-lt:   #1e74cf;
  --zg-cta:          #F97415;
  --zg-cta-dk:       #e05e05;
  --zg-success:      #25B160;
  --zg-bg:           #F4F7FB;
  --zg-fg:           #141E30;
  --zg-card:         #FFFFFF;
  --zg-muted:        #EDF1F7;
  --zg-muted-fg:     #6B7A99;
  --zg-accent:       #C5E8F5;
  --zg-border:       #DDE4EE;
  --zg-radius:       0.75rem;
  --zg-radius-lg:    1.25rem;
  --zg-shadow-soft:  0 4px 20px -4px rgba(16,30,60,0.08);
  --zg-shadow-card:  0 8px 32px -8px rgba(16,30,60,0.12);
  --zg-shadow-float: 0 20px 50px -12px rgba(16,30,60,0.18);
  --zg-shadow-cta:   0 8px 28px -4px rgba(249,116,21,0.40);
  --zg-gradient-frost: linear-gradient(135deg,hsl(195,80%,96%) 0%,hsl(210,55%,93%) 50%,hsl(220,50%,96%) 100%);
  --zg-ease:         cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset / Global ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--zg-bg); }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; }

/* ── Focus — remove click outline, keep keyboard ring ── */
:focus                        { outline: none; }
:focus-visible                { outline: 2px solid var(--zg-primary); outline-offset: 3px; border-radius: 4px; }
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible) { outline: none; box-shadow: none; }
/* Remove details/summary browser chrome */
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ── Header ── */
.zg-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(220,230,245,0.6);
  box-shadow: var(--zg-shadow-soft);
  transition: background 0.3s, box-shadow 0.3s;
}
.zg-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 70px;
}
.zg-logo { display: flex; align-items: center; gap: 0.6rem; }
.zg-logo-icon {
  width: 40px; height: 40px; border-radius: 0.6rem;
  background: linear-gradient(135deg, var(--zg-primary) 0%, var(--zg-primary-lt) 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(18,89,161,0.35);
}
.zg-logo-text { font-weight: 700; font-size: 0.95rem; color: var(--zg-fg); line-height: 1.2; }
.zg-logo-text span { color: var(--zg-primary); }
.zg-header-nav { display: none; gap: 0.25rem; align-items: center; }
@media (min-width: 768px) { .zg-header-nav { display: flex; } }
.zg-header-nav a {
  color: var(--zg-muted-fg); font-weight: 500; font-size: 0.875rem;
  padding: 0.4rem 0.75rem; border-radius: 0.5rem;
  transition: color 0.2s var(--zg-ease), background 0.2s var(--zg-ease);
  position: relative;
}
.zg-header-nav a:hover { color: var(--zg-primary); background: rgba(18,89,161,0.06); }
.zg-header-cta { display: none; gap: 0.5rem; align-items: center; }
@media (min-width: 768px) { .zg-header-cta { display: flex; } }
.zg-btn-phone, .zg-btn-wa {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.95rem; border-radius: var(--zg-radius);
  font-weight: 600; font-size: 0.82rem;
  transition: transform 0.18s var(--zg-ease), box-shadow 0.18s var(--zg-ease), opacity 0.18s;
  white-space: nowrap;
}
.zg-btn-phone { background: var(--zg-primary); color: #fff; box-shadow: 0 2px 10px rgba(18,89,161,0.28); }
.zg-btn-wa    { background: var(--zg-success);  color: #fff; box-shadow: 0 2px 10px rgba(37,177,96,0.28); }
.zg-btn-phone:hover { background: var(--zg-primary-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(18,89,161,0.38); }
.zg-btn-wa:hover    { color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,177,96,0.38); }

/* Mobile menu toggle */
.zg-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 0.35rem;
  color: var(--zg-fg); border-radius: 0.5rem;
  transition: background 0.2s;
}
.zg-menu-toggle:hover { background: var(--zg-muted); }
@media (min-width: 768px) { .zg-menu-toggle { display: none; } }
.zg-mobile-menu {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 0.75rem 1.5rem 1rem;
  border-top: 1px solid var(--zg-border);
  background: rgba(255,255,255,0.97);
}
.zg-mobile-menu.open { display: flex; }
.zg-mobile-menu a {
  color: var(--zg-muted-fg); font-weight: 500; font-size: 0.9rem;
  padding: 0.6rem 0.75rem; border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.zg-mobile-menu a:hover { color: var(--zg-primary); background: rgba(18,89,161,0.06); }
.zg-mobile-menu .zg-mobile-ctarow {
  display: flex; gap: 0.5rem; padding: 0.5rem 0.75rem 0.25rem;
}
.zg-mobile-menu .zg-mobile-ctarow a {
  flex: 1; justify-content: center; font-size: 0.85rem; padding: 0.55rem 0;
}

/* ── Section layout ── */
.zg-section { padding: 5rem 1.5rem; width: 100%; }
@media (min-width: 768px) { .zg-section { padding: 6.5rem 2rem; } }
.zg-container { max-width: 1200px; margin: 0 auto; }
.zg-section-header { text-align: center; margin-bottom: 3.5rem; }
.zg-section-label {
  display: inline-block; color: var(--zg-primary);
  font-weight: 700; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 0.65rem;
}
.zg-section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800;
  color: var(--zg-fg); margin-bottom: 0.9rem; line-height: 1.15;
}
.zg-section-desc {
  color: var(--zg-muted-fg); font-size: 1.05rem;
  max-width: 580px; margin: 0 auto; line-height: 1.7;
}

/* ── Background variants ── */
.zg-bg-frost { background: var(--zg-gradient-frost); }
.zg-bg-primary { background: var(--zg-primary); }
.zg-bg-primary .zg-section-label { color: rgba(197,232,245,0.85); }
.zg-bg-primary .zg-section-title { color: #fff; }
.zg-bg-primary .zg-section-desc  { color: rgba(255,255,255,0.72); }
.zg-bg-dark { background: var(--zg-fg); }
.zg-bg-dark .zg-section-label { color: var(--zg-cta); }
.zg-bg-dark .zg-section-title { color: var(--zg-bg); }
.zg-bg-dark .zg-section-desc  { color: rgba(244,247,251,0.68); }

/* ── Scroll entrance animations ── */
@media (prefers-reduced-motion: no-preference) {
  .zg-reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.65s var(--zg-ease), transform 0.65s var(--zg-ease);
  }
  .zg-reveal.zg-visible { opacity: 1; transform: none; }
  .zg-reveal-delay-1 { transition-delay: 0.08s; }
  .zg-reveal-delay-2 { transition-delay: 0.16s; }
  .zg-reveal-delay-3 { transition-delay: 0.24s; }
  .zg-reveal-delay-4 { transition-delay: 0.32s; }
  /* Stagger children of a grid */
  .zg-stagger > * {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.55s var(--zg-ease), transform 0.55s var(--zg-ease);
  }
  .zg-stagger.zg-visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.04s; }
  .zg-stagger.zg-visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.12s; }
  .zg-stagger.zg-visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.20s; }
  .zg-stagger.zg-visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.28s; }
  .zg-stagger.zg-visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.34s; }
  .zg-stagger.zg-visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.40s; }
}
@media (prefers-reduced-motion: reduce) {
  .zg-reveal, .zg-stagger > * { opacity:1; transform:none; }
}

/* ── HERO ── */
.zg-hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; padding-top: 70px; overflow: hidden;
}
.zg-hero > .zg-container {
  width: 100%; position: relative; z-index: 1; padding: 3rem 1.5rem;
}
.zg-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.zg-hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.zg-hero.loaded .zg-hero-bg img { transform: scale(1); }
.zg-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    hsl(215,40%,10%,0.88) 0%,
    hsl(215,38%,12%,0.72) 45%,
    hsl(215,35%,16%,0.45) 100%
  );
}
.zg-hero-content {
  max-width: 740px; margin-left: 0;
  background: rgba(10,18,40,0.52);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--zg-radius-lg); padding: 2.5rem 2.25rem;
}
@media (min-width: 768px) { .zg-hero-content { padding: 3.25rem 3.5rem; } }
.zg-hero-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9999px; padding: 0.3rem 0.9rem;
  color: rgba(255,255,255,0.88); font-size: 0.82rem; font-weight: 500;
  margin-bottom: 1.5rem; letter-spacing: 0.01em;
}
.zg-hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800;
  color: #fff; line-height: 1.1; margin-bottom: 1.1rem;
}
.zg-hero h1 span { color: var(--zg-cta); }
.zg-hero-desc {
  color: rgba(255,255,255,0.78); font-size: 1.08rem;
  line-height: 1.75; margin-bottom: 2rem; max-width: 540px;
}
.zg-trust-list { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-bottom: 2.25rem; }
.zg-trust-item {
  display: flex; align-items: center; gap: 0.45rem;
  color: rgba(255,255,255,0.88); font-size: 0.875rem; font-weight: 500;
}
.zg-trust-item svg { color: var(--zg-success); flex-shrink: 0; }
.zg-hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }
.zg-btn-hero {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--zg-cta); color: #fff; font-weight: 700; font-size: 0.975rem;
  padding: 0.875rem 1.75rem; border-radius: var(--zg-radius);
  box-shadow: var(--zg-shadow-cta); transition: transform 0.2s var(--zg-ease), box-shadow 0.2s var(--zg-ease), background 0.2s;
  border: none; cursor: pointer;
}
.zg-btn-hero:hover { background: var(--zg-cta-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px -4px rgba(249,116,21,0.50); }
.zg-btn-hero-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid rgba(255,255,255,0.45); color: #fff; font-weight: 700;
  font-size: 0.975rem; padding: 0.875rem 1.75rem; border-radius: var(--zg-radius);
  transition: border-color 0.2s, background 0.2s;
}
.zg-btn-hero-outline:hover { border-color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); color: #fff; }
.zg-hero-quick { display: flex; flex-wrap: wrap; gap: 1rem; }
.zg-hero-quick a {
  display: flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.9rem;
  transition: color 0.2s;
}
.zg-hero-quick a:first-child:hover { color: var(--zg-cta); }
.zg-hero-quick a:last-child:hover  { color: #4ade80; }
.zg-hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 7rem; z-index: 1;
  background: linear-gradient(to top, var(--zg-bg), transparent);
  pointer-events: none;
}

/* ── Service cards ── */
.zg-services-grid { display: grid; gap: 1.25rem; }
@media (min-width: 680px)  { .zg-services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .zg-services-grid { grid-template-columns: repeat(3,1fr); } }
.zg-service-card {
  background: var(--zg-card);
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-lg); padding: 1.75rem;
  transition: transform 0.3s var(--zg-ease), box-shadow 0.3s var(--zg-ease), border-color 0.3s;
  position: relative; overflow: hidden;
}
.zg-service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,89,161,0.03) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.zg-service-card:hover { transform: translateY(-5px); box-shadow: var(--zg-shadow-float); border-color: rgba(18,89,161,0.18); }
.zg-service-card:hover::before { opacity: 1; }
.zg-service-icon {
  width: 50px; height: 50px; border-radius: 0.75rem;
  background: var(--zg-accent); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.1rem;
  transition: background 0.3s var(--zg-ease), transform 0.3s var(--zg-ease); color: var(--zg-primary);
}
.zg-service-icon svg { width: 22px; height: 22px; flex-shrink: 0; }
.zg-service-card:hover .zg-service-icon { background: var(--zg-primary); color: #fff; transform: scale(1.08); }
.zg-service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--zg-fg); margin-bottom: 0.5rem; }
.zg-service-card p  { color: var(--zg-muted-fg); line-height: 1.65; font-size: 0.9rem; margin: 0; }

/* ── Benefits comparison ── */
.zg-benefits-grid { display: grid; gap: 1.75rem; max-width: 900px; margin: 0 auto; }
@media (min-width: 680px) { .zg-benefits-grid { grid-template-columns: repeat(2,1fr); } }
.zg-benefits-col {
  background: var(--zg-card); border-radius: var(--zg-radius-lg);
  padding: 2rem 1.75rem; box-shadow: var(--zg-shadow-card);
}
.zg-benefits-col.good { border: 1px solid rgba(37,177,96,0.22); }
.zg-benefits-col.bad  { border: 1px solid rgba(229,62,62,0.15); }
.zg-benefits-col-hdr { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.zg-icon-circle {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.zg-icon-circle svg  { width: 18px; height: 18px; }
.zg-icon-circle.green { background: rgba(37,177,96,0.12); color: var(--zg-success); }
.zg-icon-circle.red   { background: rgba(229,62,62,0.10); color: #E53E3E; }
.zg-benefits-col h3 { font-size: 1.05rem; font-weight: 700; color: var(--zg-fg); }
.zg-benefit-item { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 0.8rem; }
.zg-benefit-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.zg-benefit-dot svg   { width: 10px; height: 10px; }
.zg-benefit-dot.green { background: rgba(37,177,96,0.12); color: var(--zg-success); }
.zg-benefit-dot.red   { background: rgba(229,62,62,0.10); color: #E53E3E; }
.zg-benefit-item span { color: var(--zg-fg); font-size: 0.92rem; line-height: 1.55; }
.zg-benefits-col.bad .zg-benefit-item span { color: var(--zg-muted-fg); }

/* ── Process steps ── */
.zg-process-grid { display: grid; gap: 2rem; position: relative; }
@media (min-width: 600px)  { .zg-process-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .zg-process-grid { grid-template-columns: repeat(4,1fr); } }
/* Connector line on desktop */
@media (min-width: 1024px) {
  .zg-process-grid::before {
    content: ''; position: absolute;
    top: 36px; left: calc(12.5% + 36px); right: calc(12.5% + 36px);
    height: 1px; background: rgba(197,232,245,0.3);
    pointer-events: none;
  }
}
.zg-step { text-align: center; position: relative; }
.zg-step-icon {
  width: 72px; height: 72px; border-radius: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(197,232,245,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem; color: #fff;
  transition: background 0.3s, transform 0.3s var(--zg-ease);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.zg-step-icon svg { width: 26px; height: 26px; flex-shrink: 0; }
.zg-step:hover .zg-step-icon { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.zg-step-num { color: var(--zg-cta); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; margin-bottom: 0.4rem; display: block; }
.zg-step h3  { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.zg-step p   { color: rgba(255,255,255,0.68); font-size: 0.88rem; line-height: 1.6; max-width: 180px; margin: 0 auto; }

/* ── Blog query / cards ── */
.wp-block-post-template.zg-blog-query {
  display: grid !important; gap: 1.25rem !important;
  grid-template-columns: 1fr; list-style: none !important; padding: 0 !important; margin: 0 !important;
}
@media (min-width: 680px)  { .wp-block-post-template.zg-blog-query { grid-template-columns: repeat(2,1fr) !important; } }
@media (min-width: 1024px) { .wp-block-post-template.zg-blog-query { grid-template-columns: repeat(3,1fr) !important; } }
.zg-blog-card {
  background: var(--zg-card); border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-lg); padding: 1.5rem;
  display: flex !important; flex-direction: column !important; gap: 0 !important;
  transition: transform 0.3s var(--zg-ease), box-shadow 0.3s var(--zg-ease), border-color 0.3s;
  height: 100%;
}
.zg-blog-card:hover { transform: translateY(-4px); box-shadow: var(--zg-shadow-float); border-color: rgba(18,89,161,0.15); }
.zg-card-meta {
  display: flex !important; align-items: center; gap: 0.5rem;
  margin-bottom: 0.85rem; color: var(--zg-muted-fg); font-size: 0.78rem; font-weight: 500;
}
.zg-blog-card .wp-block-post-author-name { display: none !important; }
.zg-blog-card .wp-block-post-date { color: var(--zg-muted-fg); font-size: 0.78rem; }
.zg-read-time { color: var(--zg-muted-fg); font-size: 0.78rem; font-weight: 500; }
.zg-card-meta [aria-hidden="true"] { color: var(--zg-border); }
.zg-blog-card .wp-block-shortcode { margin: 0 !important; display: inline; }
.zg-blog-card .wp-block-post-title {
  font-size: 1.05rem !important; font-weight: 700 !important; line-height: 1.35 !important;
  margin-bottom: 0.65rem !important; color: var(--zg-fg) !important;
  transition: color 0.2s;
}
.zg-blog-card .wp-block-post-title a { color: inherit !important; text-decoration: none !important; }
.zg-blog-card:hover .wp-block-post-title,
.zg-blog-card:hover .wp-block-post-title a { color: var(--zg-primary) !important; }
.zg-blog-card .wp-block-post-excerpt { flex: 1; margin-bottom: 0 !important; }
.zg-blog-card .wp-block-post-excerpt__excerpt {
  color: var(--zg-muted-fg) !important; font-size: 0.875rem !important; line-height: 1.65 !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.zg-blog-card .wp-block-post-excerpt__more-link {
  display: inline-flex !important; align-items: center !important;
  color: var(--zg-primary) !important; font-weight: 600 !important; font-size: 0.82rem !important;
  margin-top: 1rem !important; text-decoration: none !important;
  transition: color 0.2s, letter-spacing 0.2s;
  letter-spacing: 0;
}
.zg-blog-card:hover .wp-block-post-excerpt__more-link { color: var(--zg-cta) !important; letter-spacing: 0.01em; }
.zg-blog-card .wp-block-post-excerpt__more-link::after { content: " →"; }

/* ── FAQ accordion ── */
.zg-faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.zg-faq-item {
  background: var(--zg-card); border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius); overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.zg-faq-item[open] { border-color: rgba(18,89,161,0.22); box-shadow: var(--zg-shadow-soft); }
.zg-faq-item summary,
.wp-block-details > summary {
  padding: 1.1rem 1.4rem; font-weight: 600; font-size: 0.95rem;
  color: var(--zg-fg); cursor: pointer; user-select: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.75rem; transition: color 0.2s, background 0.2s;
  border-radius: var(--zg-radius);
}
.zg-faq-item[open] summary,
.wp-block-details[open] > summary { color: var(--zg-primary); background: rgba(18,89,161,0.04); }
.zg-faq-item summary:hover,
.wp-block-details > summary:hover { color: var(--zg-primary); }
/* Chevron icon */
.zg-faq-item summary::after,
.wp-block-details > summary::after {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%236B7A99' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  transition: transform 0.3s var(--zg-ease);
}
.zg-faq-item[open] summary::after,
.wp-block-details[open] > summary::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231259A1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.zg-faq-item p,
.wp-block-details > p {
  padding: 0 1.4rem 1.1rem; color: var(--zg-muted-fg);
  line-height: 1.75; font-size: 0.925rem; margin: 0;
  border-top: 1px solid var(--zg-border);
  padding-top: 1rem;
}

/* ── Contact ── */
.zg-contact-grid { display: grid; gap: 2.5rem; max-width: 880px; margin: 0 auto; }
@media (min-width: 960px) { .zg-contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.zg-contact-link {
  display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1rem;
  border-radius: 0.75rem; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--zg-ease);
  margin-bottom: 0.75rem;
}
.zg-contact-link:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.12); transform: translateX(3px); }
.zg-contact-link-icon {
  width: 46px; height: 46px; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff;
}
.zg-contact-link-icon.blue  { background: rgba(255,255,255,0.12); }
.zg-contact-link-icon.green { background: rgba(37,177,96,0.25); }
.zg-contact-link-label { color: rgba(244,247,251,0.5); font-size: 0.75rem; letter-spacing: 0.02em; }
.zg-contact-link-value { color: var(--zg-bg); font-weight: 600; font-size: 1rem; transition: color 0.2s; }
.zg-contact-link:hover .zg-contact-link-value { color: var(--zg-cta); }
/* Map box */
.zg-map-box {
  background: var(--zg-card); border-radius: var(--zg-radius-lg); padding: 1.5rem;
  box-shadow: var(--zg-shadow-float); display: flex; flex-direction: column; align-items: center;
}
.zg-map-box h3 { font-size: 1.05rem; font-weight: 700; color: var(--zg-fg); margin-bottom: 1.1rem; text-align: center; }
.zg-map-wrap {
  position: relative; width: 100%; max-width: 280px;
  aspect-ratio: 1; border-radius: 0.75rem; overflow: hidden; margin: 0 auto;
}
.zg-map-wrap img { width: 100%; height: 100%; object-fit: cover; }
.zg-map-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.zg-map-ring-outer {
  position: absolute; width: 84%; height: 84%; border-radius: 50%;
  background: rgba(18,89,161,0.09); border: 3px solid rgba(18,89,161,0.35);
  animation: zg-pulse-ring 3s var(--zg-ease) infinite;
}
.zg-map-ring-dash {
  position: absolute; width: 78%; height: 78%; border-radius: 50%;
  border: 3px dashed rgba(18,89,161,0.45);
  animation: zg-spin-slow 24s linear infinite;
}
.zg-map-ring-inner {
  position: absolute; width: 40%; height: 40%; border-radius: 50%;
  background: rgba(18,89,161,0.12); border: 2px solid rgba(18,89,161,0.38);
}
.zg-map-pin {
  position: relative; z-index: 2; width: 50px; height: 50px; border-radius: 50%;
  background: var(--zg-primary); display: flex; align-items: center;
  justify-content: center; color: #fff; box-shadow: 0 6px 20px rgba(18,89,161,0.45);
  animation: zg-bounce 2.5s var(--zg-ease) infinite;
}
.zg-map-badge {
  position: absolute; font-size: 0.7rem; font-weight: 700;
  color: var(--zg-fg); background: rgba(244,247,251,0.95);
  padding: 0.15rem 0.55rem; border-radius: 9999px; white-space: nowrap;
  left: 50%; transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.zg-map-badge.top    { top: 0.4rem; }
.zg-map-badge.bottom { bottom: 0.4rem; }
.zg-map-city { margin-top: 1rem; text-align: center; }
.zg-map-city p    { font-size: 1.05rem; font-weight: 700; color: var(--zg-fg); }
.zg-map-city span { color: var(--zg-muted-fg); font-size: 0.82rem; }

/* ── Footer ── */
.zg-footer { background: var(--zg-fg); padding: 3.5rem 1.5rem 1.75rem; }
.zg-footer-grid { display: grid; gap: 2rem; max-width: 1200px; margin: 0 auto 2.5rem; }
@media (min-width: 600px)  { .zg-footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .zg-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.zg-footer-brand p { color: rgba(244,247,251,0.55); font-size: 0.85rem; line-height: 1.65; margin-top: 0.75rem; }
.zg-footer .zg-logo-text { color: var(--zg-bg); }
.zg-footer .zg-logo-text span { color: var(--zg-accent); }
.zg-footer-col h4 { font-weight: 600; color: rgba(244,247,251,0.9); margin-bottom: 1rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.zg-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.zg-footer-col ul li a, .zg-footer-col ul li span {
  color: rgba(244,247,251,0.52); font-size: 0.84rem;
  display: flex; align-items: center; gap: 0.35rem;
  transition: color 0.2s; padding: 0.1rem 0;
}
.zg-footer-col ul li a:hover { color: rgba(244,247,251,0.9); }
.zg-footer-col ul li a.wa:hover { color: #4ade80; }
.zg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  align-items: center; max-width: 1200px; margin: 0 auto;
  font-size: 0.82rem; color: rgba(244,247,251,0.38);
}
@media (min-width: 700px) { .zg-footer-bottom { flex-direction: row; justify-content: space-between; } }
.zg-footer-bottom a { color: rgba(249,116,21,0.75); transition: color 0.2s; }
.zg-footer-bottom a:hover { color: var(--zg-cta); }

/* ── Floating mobile CTA ── */
.zg-float-cta {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
}
@media (min-width: 768px) { .zg-float-cta { display: none; } }
.zg-float-btn svg { flex-shrink: 0; }
.zg-float-btn {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1rem; border-radius: 9999px; font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 4px 22px rgba(0,0,0,0.28);
  transition: transform 0.2s var(--zg-ease), box-shadow 0.2s;
}
.zg-float-btn:hover { transform: scale(1.05); }
.zg-float-btn.call { background: var(--zg-primary); color: #fff; }
.zg-float-btn.wa   { background: var(--zg-success);  color: #fff; animation: zg-float-pulse 3s ease-in-out infinite; }

/* ── Single post ── */
.zg-post-hero {
  background: linear-gradient(135deg, hsl(220,38%,13%) 0%, var(--zg-primary) 100%);
  padding: 7rem 1.5rem 3.5rem;
}
.zg-post-hero .wp-block-post-title {
  font-size: clamp(1.7rem,4vw,2.75rem) !important;
  font-weight: 800 !important; color: #fff !important;
  margin-bottom: 0 !important; line-height: 1.2 !important;
}
.zg-breadcrumb {
  display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center;
  font-size: 0.8rem; margin-bottom: 1.1rem;
}
.zg-breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.zg-breadcrumb a:hover { color: rgba(255,255,255,0.88); }
.zg-breadcrumb span,
.zg-breadcrumb-current { color: rgba(255,255,255,0.3); }
.zg-post-meta { display: none !important; }
.zg-post-layout {
  display: grid; gap: 2.5rem;
  max-width: 1080px; margin: 0 auto; padding: 3rem 1.5rem 5rem;
}
@media (min-width: 960px) { .zg-post-layout { grid-template-columns: 1fr 270px; align-items: start; } }
.zg-post-body { min-width: 0; }
.zg-post-body .wp-block-post-content { max-width: 100%; }
.zg-post-body p, .zg-post-body .wp-block-paragraph {
  color: var(--zg-muted-fg); line-height: 1.82; margin-bottom: 1.35rem; font-size: 1rem;
}
.zg-post-body h2, .zg-post-body .wp-block-heading:is(h2) {
  font-size: 1.45rem; font-weight: 700; color: var(--zg-fg);
  margin: 2.5rem 0 0.85rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--zg-accent); line-height: 1.25;
}
.zg-post-body h3, .zg-post-body .wp-block-heading:is(h3) {
  font-size: 1.15rem; font-weight: 700; color: var(--zg-fg); margin: 1.85rem 0 0.65rem;
}
.zg-post-body ul, .zg-post-body ol { margin-bottom: 1.35rem; padding-left: 0; }
.zg-post-body ul li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-bottom: 0.6rem; color: var(--zg-muted-fg); line-height: 1.65;
}
.zg-post-body ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--zg-primary); flex-shrink: 0; margin-top: 0.52rem;
}
.zg-post-body ol { counter-reset: ol-list; }
.zg-post-body ol li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 0.75rem; color: var(--zg-muted-fg); line-height: 1.65; counter-increment: ol-list;
}
.zg-post-body ol li::before {
  content: counter(ol-list); background: var(--zg-primary); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 700; font-size: 0.72rem; margin-top: 0.2rem;
}
.zg-tip-box  { background: hsl(195,70%,95%); border: 1px solid hsl(195,55%,82%); border-left: 3px solid var(--zg-primary); border-radius: var(--zg-radius); padding: 1.1rem 1.4rem; margin: 1.75rem 0; }
.zg-tip-box strong { color: var(--zg-primary); display: block; margin-bottom: 0.3rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.zg-warn-box { background: hsl(25,95%,97%); border: 1px solid hsl(25,80%,84%); border-left: 3px solid var(--zg-cta); border-radius: var(--zg-radius); padding: 1.1rem 1.4rem; margin: 1.75rem 0; }
.zg-warn-box strong { color: var(--zg-cta); display: block; margin-bottom: 0.3rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.zg-cta-inline { background: linear-gradient(135deg, var(--zg-fg) 0%, hsl(215,40%,22%) 100%); border-radius: var(--zg-radius-lg); padding: 2rem; margin: 2.5rem 0; text-align: center; }
.zg-cta-inline h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.45rem; }
.zg-cta-inline p  { color: rgba(255,255,255,0.68); margin-bottom: 1.25rem; }
.zg-cta-inline-btns { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }
.zg-cta-inline-btns a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.35rem; border-radius: var(--zg-radius);
  font-weight: 700; font-size: 0.875rem;
  transition: transform 0.18s var(--zg-ease), box-shadow 0.18s;
}
.zg-cta-inline-btns a:hover { transform: translateY(-2px); }
.zg-cta-inline-btns .c-phone { background: var(--zg-cta); color: #fff; box-shadow: var(--zg-shadow-cta); }
.zg-cta-inline-btns .c-wa    { background: var(--zg-success); color: #fff; box-shadow: 0 6px 20px rgba(37,177,96,0.32); }
/* wp:button CTA in posts */
.zg-cta-inline .wp-block-buttons { justify-content: center; gap: 0.65rem; }
.zg-cta-inline .wp-block-button__link {
  display: inline-flex !important; align-items: center !important; gap: 0.4rem;
  font-weight: 700 !important; font-size: 0.875rem !important;
  padding: 0.7rem 1.35rem !important; border-radius: var(--zg-radius) !important;
  transition: transform 0.18s var(--zg-ease), box-shadow 0.18s !important;
}
.zg-cta-inline .wp-block-button__link:hover { transform: translateY(-2px) !important; }
.zg-cta-inline .wp-block-button__link svg { flex-shrink: 0; }
.zg-cta-phone .wp-block-button__link { background: var(--zg-cta) !important; color: #fff !important; }
.zg-cta-inline .wp-block-button:not(.zg-cta-phone) .wp-block-button__link { background: var(--zg-success) !important; color: #fff !important; }
/* Sidebar */
.zg-post-sidebar { min-width: 0; position: sticky; top: 90px; align-self: start; }
.zg-sidebar-box {
  background: var(--zg-card); border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-lg); padding: 1.4rem;
}
.zg-sidebar-box h4 {
  font-size: 0.8rem; font-weight: 700; color: var(--zg-fg);
  margin-bottom: 1rem; padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--zg-accent); text-transform: uppercase; letter-spacing: 0.06em;
}
.zg-sidebar-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.zg-sidebar-box ul li a {
  color: var(--zg-muted-fg); font-size: 0.845rem; line-height: 1.45; font-weight: 500;
  display: block; padding: 0.35rem 0.5rem; border-radius: 0.4rem;
  transition: color 0.2s, background 0.2s;
}
.zg-sidebar-box ul li a:hover { color: var(--zg-primary); background: rgba(18,89,161,0.06); }
.zg-sidebar-contact {
  background: linear-gradient(135deg, var(--zg-primary) 0%, var(--zg-primary-lt) 100%);
  border-radius: var(--zg-radius-lg); padding: 1.4rem; margin-top: 1.25rem; text-align: center;
}
.zg-sidebar-contact p { color: rgba(255,255,255,0.78); font-size: 0.845rem; margin-bottom: 0.9rem; }
.zg-sidebar-contact a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15); color: #fff; padding: 0.6rem 1rem;
  border-radius: 0.5rem; font-weight: 700; font-size: 0.845rem;
  margin-bottom: 0.5rem; transition: background 0.2s, transform 0.2s var(--zg-ease);
  border: 1px solid rgba(255,255,255,0.2);
}
.zg-sidebar-contact a:last-child { margin-bottom: 0; }
.zg-sidebar-contact a svg { flex-shrink: 0; }
.zg-sidebar-contact a:hover { background: rgba(255,255,255,0.24); transform: translateY(-1px); color: #fff; }
.zg-sidebar-contact a.wa { background: var(--zg-success); border-color: transparent; }

/* ── Archive / Blog page ── */
.zg-archive-hero {
  background: linear-gradient(135deg, hsl(220,38%,13%) 0%, var(--zg-primary) 100%);
  padding: 7rem 1.5rem 4.5rem; text-align: center;
}
.zg-archive-hero-label {
  display: inline-block; color: rgba(197,232,245,0.85);
  font-weight: 700; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 0.75rem;
}
.zg-archive-hero h1 { font-size: clamp(2rem,5vw,3rem); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.zg-archive-hero p  { color: rgba(255,255,255,0.68); font-size: 1rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }
/* Pagination */
.wp-block-query-pagination {
  display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 3rem;
}
.wp-block-query-pagination-numbers { display: flex; gap: 0.4rem; }
.wp-block-query-pagination a,
.wp-block-query-pagination-previous a,
.wp-block-query-pagination-next a,
.wp-block-query-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 0.6rem;
  border: 1px solid var(--zg-border); border-radius: 0.5rem;
  color: var(--zg-muted-fg); font-size: 0.875rem; font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.wp-block-query-pagination a:hover,
.wp-block-query-pagination-previous a:hover,
.wp-block-query-pagination-next a:hover { background: var(--zg-primary); color: #fff; border-color: var(--zg-primary); }
.wp-block-query-pagination .page-numbers.current { background: var(--zg-primary); color: #fff; border-color: var(--zg-primary); }

/* ── Keyframe animations ── */
@keyframes zg-pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.04); }
}
@keyframes zg-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes zg-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
@keyframes zg-float-pulse {
  0%, 100% { box-shadow: 0 4px 22px rgba(37,177,96,0.30); }
  50%       { box-shadow: 0 4px 28px rgba(37,177,96,0.55); }
}

/* ── Utilities ── */
.zg-text-center { text-align: center; }
