#why-list::-webkit-scrollbar{width:6px;}
@media(max-width:900px){
  #desktop-nav{display:none !important;}
  #hamburger-btn{display:flex !important;}
}
@media(max-width:1024px){
  #hero-section{flex-direction:column !important;min-height:auto !important;}
  #hero-text{flex:none !important;padding:56px 32px !important;}
  #hero-imgwrap{height:380px !important;}
  #hero-img{object-position:22% 30% !important;}
  #dlaczego-section{grid-template-columns:1fr !important;}
  #dlaczego-imgcol{height:320px !important;}
  #ctaform-section{flex-direction:column !important;}
  #mapa-grid{grid-template-columns:1fr !important;}
  #faq-grid{grid-template-columns:1fr !important;}
  #uslugi-grid > a{flex:0 0 calc(50% - 12px) !important;}
  #counters-bar{grid-template-columns:repeat(3,1fr) !important;}
  #logo-img{height:46px !important;}
}
@media(max-width:640px){
  /* naglowek "Dlaczego Klienci Nam Ufaja" - na srodek (mobile) */
  div:has(> div > #why-list){text-align:center !important;align-items:center !important;}
  div:has(> div > #why-list) > div:first-child{margin-left:auto !important;margin-right:auto !important;}
  div:has(> div > #why-list) > p{max-width:none !important;}
  /* sekcja mapy - przycisk i tresc na srodek (mobile) */
  section[id^="mapa"] div[id^="mapa-grid"] > div:last-child{text-align:center !important;}
  section[id^="mapa"] div[id^="mapa-grid"] > div:last-child > a,div[id^="mapa-grid"] > div:last-child > a{display:flex !important;width:100% !important;justify-content:center !important;text-align:center !important;}
  div[id^="mapa-grid"] > div:last-child > div{justify-content:center !important;}
  /* Nasze Realizacje - mniejszy podglad na mobile */
  #realiz-viewer{height:auto !important;aspect-ratio:1/1 !important;max-width:320px !important;margin:0 auto !important;}
  #realiz-viewer .realiz-slide > div{padding:18px 20px !important;}
  #realiz-viewer .realiz-slide > div > div > div:first-of-type{font-size:16px !important;}
  #realiz-viewer .realiz-slide > div > div > div:last-of-type{font-size:11.5px !important;}
  #realiz-viewer .realiz-slide > div > div > span{font-size:10.5px !important;}
  #realiz-viewer .realiz-slide > div > span{font-size:10.5px !important;}
  /* === POPRAWKI MOBILE (09.09) === */
  /* H1 hero + akapit na srodek */
  section:has(h1) h1,section:has(h1) > div,section:has(h1) > div > div,section:has(h1) p{text-align:center !important;}
  section:has(h1) h1,section:has(h1) p{max-width:none !important;margin-left:auto !important;margin-right:auto !important;}
  /* zaokraglone przyciski */
  section a[href],section button,form button,footer a[href^="tel"],footer a[href*="wa.me"]{border-radius:8px !important;}
  .faq-q,.opinie-nav,div[id^="uslugi-grid"] > a,div[id^="galeria-grid"] a,div[id*="grid"] > a[style*="border-radius:14px"],div[id*="grid"] > a[style*="border-radius:16px"],nav a,header a,#mobile-menu a{border-radius:inherit !important;}
  div[id^="uslugi-grid"] > a{border-radius:14px !important;}
  .faq-q{border-radius:0 !important;}
  .opinie-nav{border-radius:50% !important;}
  /* "Gwarantujemy efekt" - takze trzecia kolumna */
  #trust-strip3b,#trust-strip3b > *,#trust-strip3b *{text-align:center !important;}
  #trust-strip3b > * > div[style*="display:flex"],#trust-strip3b > * > a,#trust-strip3b a{justify-content:center !important;margin-left:auto !important;margin-right:auto !important;}
  #trust-strip3b > *{align-items:center !important;}
  /* pas "Profesjonalny sprzet, sprawdzone srodki i doswiadczenie" */
  div[style*="background:#F7F6F2"][style*="justify-content:center"]{flex-direction:column !important;text-align:center !important;}
  div[style*="background:#F7F6F2"][style*="justify-content:center"] div[style*="text-align:left"]{text-align:center !important;}
  /* "Gwarantujemy efekt" + pas zaufania (plytki) */
  #trust-strip3b > div,#trust-strip3b > div > div{text-align:center !important;}
  #trust-strip3b > div > div[style*="display:flex"]{justify-content:center !important;}
  #trust-strip3 > div{flex-direction:column !important;align-items:center !important;text-align:center !important;}
  /* karty "Sprawdz, zanim..." */
  section div[style*="border-radius:16px"][style*="padding:34px 32px"]{text-align:center !important;}
  section div[style*="border-radius:16px"][style*="padding:34px 32px"] > span{display:flex !important;justify-content:center !important;}
  /* kafelek na zdjeciu (osuszacze DRIPOD) - pod zdjecie */
  div[style*="position:absolute"][style*="top:20px"][style*="left:20px"]{position:static !important;max-width:none !important;margin-top:12px !important;box-shadow:0 4px 16px rgba(0,0,0,0.08) !important;text-align:center !important;}
  /* "Wieczory i weekendy" (wykladziny) */
  #poza-godzinami-wyklad div[style*="flex:0 0 300px"]{flex:1 1 auto !important;text-align:center !important;}
  #poza-godzinami-wyklad div[style*="flex:0 0 300px"] > span{display:flex !important;justify-content:center !important;}
  .opinie-card p,div[id^="opinie-grid"] > div p{display:-webkit-box !important;-webkit-line-clamp:9 !important;-webkit-box-orient:vertical !important;overflow:hidden !important;}
  #opinie-track{scrollbar-width:none !important;}
  #opinie-track > div,.opinie-card{flex:0 0 100% !important;width:100% !important;max-width:100% !important;min-width:100% !important;scroll-snap-align:start !important;}
  #proces-line{display:none !important;}
  #proces-desktop{display:none !important;}
  #proces-mobile{display:block !important;}
  #opinie-grid{grid-template-columns:1fr !important;overflow-x:auto !important;display:flex !important;}
  #realiz-thumbs{grid-template-columns:repeat(4,1fr) !important;}
  #uslugi-grid > a{flex:0 0 100% !important;}
  /* Nasze Uslugi - kompaktowe kafle na mobile (zdjecie 104px po lewej) */
  #uslugi-grid{gap:12px !important;}
  #uslugi-grid > a{height:auto !important;flex-direction:row !important;align-items:stretch !important;}
  #uslugi-grid > a > div:first-child{flex:0 0 132px !important;width:132px !important;height:auto !important;min-height:132px !important;aspect-ratio:1/1 !important;}
  #uslugi-grid > a > div:first-child img{width:100% !important;height:100% !important;object-fit:cover !important;}
  #uslugi-grid > a > div:last-child{padding:12px 14px !important;justify-content:center !important;}
  #uslugi-grid > a > div:last-child h3{font-size:14.5px !important;margin:0 0 5px !important;}
  #uslugi-grid > a > div:last-child p{font-size:12.5px !important;line-height:1.5 !important;margin:0 !important;display:-webkit-box !important;-webkit-line-clamp:3 !important;-webkit-box-orient:vertical !important;overflow:hidden !important;}
  #uslugi-grid > a > div:last-child span{font-size:11.5px !important;}

  #counters-bar{grid-template-columns:1fr !important;}
  #counters-bar > div{border-right:none !important;border-bottom:1px solid rgba(0,178,199,0.18);padding:28px 24px !important;}
  #counters-bar > div:last-child{border-bottom:none;}
  #hero-ctas{flex-direction:column !important;align-items:stretch !important;}
  #hero-ctas > a:first-child{width:100% !important;text-align:center !important;justify-content:center !important;}
  #hero-ctas-sub{width:100% !important;}
  #hero-ctas-sub a{flex:1 !important;width:auto !important;}
  #logo-img{height:38px !important;}
  #hero-img{object-position:32% 28% !important;}
}
@media(max-width:900px){
  .opinie-card{flex:0 0 calc(50% - 10px) !important;}
}
@media(max-width:640px){
  .opinie-card{flex:0 0 100% !important;}
}
