/* =========================================================
   ZWIERZAK 5.0.9 — JEDEN AUTORYTATYWNY UKŁAD
   Poprzednie nakładające się hotfixy 5.0.3–5.0.6 zostały usunięte.
   ========================================================= */

/* ---------- wspólne zabezpieczenia layoutu ---------- */




/* ---------- hotspoty: osobny rozmiar na każde urządzenie ---------- */








/* ---------- HOME desktop: zwarty panel, pełne napisy, mniejszy pies ---------- */























/* ---------- pełna diagnostyka desktop ---------- */










/* ---------- Usługi ---------- */
.services-round3-page{background:#fff}
.services-round3-hero{padding:76px 0 68px;background:linear-gradient(135deg,#eef8f2 0%,#fbfdfc 62%,#edf7f1 100%)}
.services-round3-hero__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr);gap:58px;align-items:end}
.services-round3-hero h1{max-width:900px;margin:12px 0 22px;font-size:clamp(44px,5.2vw,76px);line-height:.96;letter-spacing:-.055em;color:#12221b}
.services-round3-hero__lead{max-width:790px;font-size:18px;line-height:1.65;color:#4c6257}
.services-round3-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.services-round3-hero__help{padding:28px;border:1px solid #cfe4d7;border-radius:24px;background:rgba(255,255,255,.88);box-shadow:0 20px 55px rgba(18,89,49,.10)}
.services-round3-hero__help>span{display:grid;width:50px;height:50px;place-items:center;margin-bottom:18px;border-radius:15px;background:#e8f7ee;color:#087d3f}
.services-round3-hero__help svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}
.services-round3-hero__help h2{margin:5px 0 12px;font-size:25px;line-height:1.12}
.services-round3-hero__help>p:not(.eyebrow){color:#586c61;line-height:1.58}
.services-round3-hero__help>a{display:inline-flex;align-items:center;gap:9px;margin-top:17px;color:#087d3f;font-weight:900}
.services-round3-content{padding-top:34px;padding-bottom:86px}
.services-round3-jump{position:sticky;z-index:20;top:8px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 56px;padding:9px;border:1px solid #d7e8de;border-radius:17px;background:rgba(255,255,255,.94);box-shadow:0 14px 38px rgba(16,72,42,.08);backdrop-filter:blur(14px)}
.services-round3-jump a{display:flex;min-height:48px;align-items:center;justify-content:center;padding:9px 14px;border-radius:11px;color:#234034;font-size:12px;font-weight:900;text-align:center}
.services-round3-jump a:hover,.services-round3-jump a:focus-visible{background:#eaf7ef;color:#087d3f;outline:none}
.services-round3-intro{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:end;margin-bottom:64px;padding:34px;border:1px solid #dceae2;border-radius:24px;background:#fff;box-shadow:0 20px 60px rgba(14,74,41,.07)}
.services-round3-intro h2,.services-round3-group h2,.services-round3-path h2,.services-round3-team h2,.services-round3-cta h2{margin:6px 0 0;font-size:clamp(31px,3.4vw,52px);line-height:1.03;letter-spacing:-.04em}
.services-round3-intro>p{font-size:16px;line-height:1.7;color:#53675d}
.services-round3-group{scroll-margin-top:90px;margin-bottom:74px}
.services-round3-group>header{display:grid;grid-template-columns:minmax(0,.95fr) minmax(300px,.55fr);gap:36px;align-items:end;margin-bottom:25px}
.services-round3-group>header .eyebrow{grid-column:1/-1;margin-bottom:-22px}
.services-round3-group>header>p:last-child{color:#5b7065;line-height:1.65}
.services-round3-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.services-round3-card{position:relative;display:flex;min-height:350px;flex-direction:column;padding:25px;border:1px solid #dbe9e1;border-radius:21px;background:linear-gradient(180deg,#fff,#f8fcfa);box-shadow:0 14px 42px rgba(11,67,37,.06);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.services-round3-card:hover{border-color:#91c9a7;box-shadow:0 22px 55px rgba(11,76,42,.12);transform:translateY(-4px)}
.services-round3-card>i{display:grid;width:52px;height:52px;place-items:center;margin-bottom:24px;border-radius:16px;background:#eaf7ef;color:#07813f}
.services-round3-card>i svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7}
.services-round3-card h3{margin:7px 0 13px;font-size:23px;line-height:1.08;letter-spacing:-.03em}
.services-round3-card div>p:not(.eyebrow){color:#5a6d63;font-size:13px;line-height:1.6}
.services-round3-card>a{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:24px;color:#087d3f;font-size:12px;font-weight:900}
.services-round3-card>a svg{width:15px;height:15px;fill:none;stroke:currentColor}
.services-round3-path{display:grid;grid-template-columns:.75fr 1.25fr;gap:48px;margin:84px 0;padding:42px;border-radius:27px;background:#eaf7ef}
.services-round3-path__intro>p:last-child{margin-top:18px;color:#526a5d;line-height:1.65}
.services-round3-path ol{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.services-round3-path li{display:grid;grid-template-columns:52px 1fr;gap:15px;align-items:center;padding:17px;border:1px solid rgba(8,125,63,.13);border-radius:15px;background:#fff}
.services-round3-path li>span{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#087d3f;color:#fff;font-size:11px;font-weight:900}
.services-round3-path h3{margin:0 0 5px;font-size:17px}.services-round3-path li p{margin:0;color:#607268;font-size:12px;line-height:1.48}
.services-round3-team{margin:76px 0}
.services-round3-team>header{max-width:760px;margin-bottom:27px}
.services-round3-team>header>p:last-child{margin-top:16px;color:#596d62;line-height:1.65}
.services-round3-team>div{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.services-round3-team article{overflow:hidden;border:1px solid #dbe8e1;border-radius:18px;background:#fff}
.services-round3-team img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.services-round3-team article div{padding:15px}.services-round3-team h3{margin:0 0 5px;font-size:16px}.services-round3-team article p{margin:0;color:#65776e;font-size:11px;line-height:1.45}
.services-round3-team__link{display:inline-flex;align-items:center;gap:8px;margin-top:22px;color:#087d3f;font-size:12px;font-weight:900}
.services-round3-cta{display:grid;grid-template-columns:1fr auto;gap:34px;align-items:center;margin-top:76px;padding:38px 42px;border-radius:25px;background:#087d3f;color:#fff}
.services-round3-cta .eyebrow{color:#bce9cd}.services-round3-cta h2{font-size:clamp(30px,3vw,47px)}.services-round3-cta p:last-child{margin-top:14px;color:#d8f1e2;line-height:1.6}
.services-round3-cta>div:last-child{display:flex;flex-direction:column;gap:9px;min-width:230px}.services-round3-cta .btn{justify-content:center;background:#fff;color:#0a6838;border-color:#fff}.services-round3-cta .btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}

/* ---------- Szczegół usługi ---------- */
.service-detail-round3__hero{padding:64px 0;background:linear-gradient(135deg,#eef8f2,#fbfdfc)}
.service-detail-round3__hero .container{max-width:1120px}.service-detail-round3__back{display:inline-block;margin-bottom:28px;color:#087d3f;font-size:12px;font-weight:900}
.service-detail-round3__hero h1{max-width:950px;margin:10px 0 20px;font-size:clamp(42px,5vw,70px);line-height:.99;letter-spacing:-.05em}.service-detail-round3__hero>div>p:last-child{max-width:860px;color:#53685d;font-size:17px;line-height:1.65}
.service-detail-round3__content{padding-top:58px;padding-bottom:80px}

/* ---------- Galeria ---------- */
.clinic-gallery-page{background:#fff}
.clinic-gallery-hero{padding:72px 0 62px;background:linear-gradient(135deg,#eef8f2,#fbfdfc 65%,#edf7f1)}
.clinic-gallery-hero__grid{display:grid;grid-template-columns:1.2fr .65fr;gap:58px;align-items:end}
.clinic-gallery-hero h1{margin:11px 0 20px;font-size:clamp(45px,5.2vw,74px);line-height:.96;letter-spacing:-.055em}.clinic-gallery-hero__grid>div>p:last-child{max-width:760px;color:#53685d;font-size:17px;line-height:1.65}
.clinic-gallery-hero aside{padding:26px;border:1px solid #d1e5d8;border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 18px 45px rgba(13,72,40,.08)}
.clinic-gallery-hero aside>span{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;background:#e8f7ee;color:#087d3f}.clinic-gallery-hero aside svg{width:24px;height:24px;fill:none;stroke:currentColor}.clinic-gallery-hero aside h2{margin:15px 0 9px;font-size:23px}.clinic-gallery-hero aside p{color:#5b6f64;line-height:1.55}
.clinic-gallery-content{padding-top:40px;padding-bottom:82px}.clinic-gallery-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}.clinic-gallery-filters button{min-height:44px;padding:9px 16px;border:1px solid #d5e6dc;border-radius:999px;background:#fff;color:#345044;font-size:12px;font-weight:800;cursor:pointer}.clinic-gallery-filters button:hover,.clinic-gallery-filters button:focus-visible,.clinic-gallery-filters button.is-active{border-color:#087d3f;background:#087d3f;color:#fff;outline:none}
.clinic-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.clinic-gallery-card,.clinic-gallery-card:first-child,.clinic-gallery-card:nth-child(5){grid-column:auto;margin:0;overflow:hidden;border:1px solid #dce9e2;border-radius:20px;background:#fff;box-shadow:0 14px 40px rgba(13,70,40,.07)}.clinic-gallery-card[hidden]{display:none!important}
.clinic-gallery-card button{position:relative;display:block;width:100%;padding:0;border:0;background:#eef5f1;cursor:zoom-in}.clinic-gallery-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .35s ease}.clinic-gallery-card button:hover img{transform:scale(1.035)}.clinic-gallery-card button>span{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:rgba(12,29,22,.82);color:#fff;font-size:10px;font-weight:800;backdrop-filter:blur(8px)}.clinic-gallery-card button>span svg{width:14px;height:14px;fill:none;stroke:currentColor}.clinic-gallery-card figcaption{display:flex;justify-content:space-between;gap:12px;padding:15px}.clinic-gallery-card figcaption strong{font-size:13px}.clinic-gallery-card figcaption small{color:#789087;font-size:9px;text-transform:uppercase}
.clinic-gallery-cta{display:grid;grid-template-columns:1fr auto;gap:36px;align-items:center;margin-top:56px;padding:34px 38px;border-radius:24px;background:#eaf7ef}.clinic-gallery-cta h2{margin:6px 0 10px;font-size:clamp(30px,3.2vw,48px);line-height:1.03}.clinic-gallery-cta p:last-child{color:#586e62}.clinic-gallery-cta>div:last-child{display:flex;gap:9px;flex-wrap:wrap}
.clinic-gallery-empty{padding:60px;border:1px dashed #b9d4c4;border-radius:22px;text-align:center;background:#f7fbf9}
.clinic-gallery-lightbox{position:fixed;z-index:99999;inset:0;display:grid;grid-template-columns:70px minmax(0,1fr) 70px;align-items:center;padding:40px;background:rgba(3,12,8,.92);backdrop-filter:blur(14px)}.clinic-gallery-lightbox[hidden]{display:none}.clinic-gallery-lightbox figure{max-width:1200px;margin:auto}.clinic-gallery-lightbox img{display:block;max-width:100%;max-height:78vh;margin:auto;border-radius:14px;object-fit:contain}.clinic-gallery-lightbox figcaption{padding:16px 6px 0;color:#fff;text-align:center}.clinic-gallery-lightbox button{display:grid;width:50px;height:50px;place-items:center;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:34px;cursor:pointer}.clinic-gallery-lightbox__close{position:absolute;top:22px;right:22px}.clinic-gallery-lightbox__next{justify-self:end}.clinic-gallery-lightbox__prev{justify-self:start}
body.is-gallery-lightbox-open{overflow:hidden}



/* =========================================================
   5.0.9 — rozdzielenie O przychodni / Zespół
   ========================================================= */
























/* Widok porównawczy 5.0.9 — dwie warstwy w identycznej pozie. */









/* =========================================================
   ZWIERZAK 5.1.0 — CZYSTY SYSTEM HOME
   Breakpointy: 1024 / 768 / 480.
   ========================================================= */
body.zw-v510{overflow-x:hidden}
body.zw-v510 .home-stack,
body.zw-v510 .diagnostic-card,
body.zw-v510 .diagnostic-card *{box-sizing:border-box;min-width:0}

/* Hotspoty: zachowanie wymaga !important, ponieważ wcześniejszy arkusz
   atlasu ustawia te same właściwości z !important. */
body.zw-v510 .zw-atlas__hotspot{
  --hotspot-hit:30px;
  --hotspot-dot:30px;
  appearance:none!important;
  -webkit-appearance:none!important;
  width:var(--hotspot-hit)!important;
  height:var(--hotspot-hit)!important;
  min-width:var(--hotspot-hit)!important;
  min-height:var(--hotspot-hit)!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  transform:translate(-50%,-50%)!important;
  isolation:isolate!important;
  overflow:visible!important;
}
body.zw-v510 .zw-atlas__hotspot::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:var(--hotspot-dot)!important;
  height:var(--hotspot-dot)!important;
  transform:translate(-50%,-50%)!important;
  border:2px solid rgba(255,255,255,.98)!important;
  border-radius:50%!important;
  background:#62d99a!important;
  box-shadow:0 0 0 5px rgba(44,185,103,.14),0 7px 18px rgba(0,0,0,.22)!important;
}
body.zw-v510 .zw-atlas__hotspot::after,
body.zw-v510 .zw-atlas__hotspot span{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  left:50%!important;
  top:50%!important;
  width:10px!important;
  height:2px!important;
  margin:0!important;
  border:0!important;
  border-radius:2px!important;
  background:#075f35!important;
  transform:translate(-50%,-50%)!important;
}
body.zw-v510 .zw-atlas__hotspot span{transform:translate(-50%,-50%) rotate(90deg)!important}
body.zw-v510 .zw-atlas__hotspot:hover::before,
body.zw-v510 .zw-atlas__hotspot:focus-visible::before,
body.zw-v510 .zw-atlas__hotspot.is-active::before{
  background:#fff!important;
  box-shadow:0 0 0 6px rgba(44,185,103,.19),0 9px 22px rgba(0,0,0,.25)!important;
}
body.zw-v510.home .zw-atlas--home .zw-atlas__hotspot{
  --hotspot-hit:28px;
  --hotspot-dot:28px;
}

/* Desktop pozostaje zgodny z efektywnym układem bazowej paczki 5.1.0.
   Zmieniono tylko granicę breakpointu na 1025 px, aby system miał 1024/768/480. */
/* =========================================================
   HOME — DESKTOP 5.1.0 ZACHOWANY BEZ ZMIAN WIZUALNYCH
   ========================================================= */
@media (min-width:1025px){
  body.zw-v510.home .diagnostic-card--pseudo-atlas{
    display:grid!important;
    grid-template-columns:minmax(190px,215px) minmax(300px,340px) minmax(500px,1fr) minmax(190px,215px)!important;
    grid-template-areas:"timeline copy stage tabs"!important;
    min-height:478px!important;height:auto!important;overflow:hidden!important;
    border:1px solid #dbe8e0!important;border-radius:20px!important;background:#fff!important;
  }
  body.zw-v510.home .diagnostic-card--pseudo-atlas>.visit-timeline{grid-area:timeline!important}
  body.zw-v510.home .diagnostic-card--pseudo-atlas>.diagnostic-copy{grid-area:copy!important}
  body.zw-v510.home .diagnostic-card--pseudo-atlas>.diagnostic-visual,
  body.zw-v510.home .diagnostic-card--pseudo-atlas .zw-atlas--home{display:contents!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__stage{grid-area:stage!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tabs{grid-area:tabs!important}

  body.zw-v510.home .visit-timeline{
    display:flex!important;min-height:478px!important;flex-direction:column!important;
    padding:24px 17px 18px!important;border:0!important;border-right:1px solid #dbe8e0!important;
    background:#f7fcf9!important;overflow:visible!important;
  }
  body.zw-v510.home .visit-timeline .mini-label{
    display:grid!important;gap:7px!important;margin:0 0 15px!important;font-size:11px!important;line-height:1.13!important;
  }
  body.zw-v510.home .timeline-clinic-status{width:max-content;max-width:100%;font-size:8px!important;white-space:normal!important}
  body.zw-v510.home .visit-timeline ol{gap:6px!important;flex:1!important}
  body.zw-v510.home .visit-timeline li{min-height:58px!important;padding:8px 4px!important;gap:9px!important}
  body.zw-v510.home .visit-timeline li>span{flex-basis:27px!important;width:27px!important;height:27px!important}
  body.zw-v510.home .visit-timeline li div{padding-right:36px!important}
  body.zw-v510.home .visit-timeline b{font-size:10px!important;line-height:1.1!important}
  body.zw-v510.home .visit-timeline small{font-size:8px!important;line-height:1.22!important}
  body.zw-v510.home .visit-timeline em{font-size:8px!important}
  body.zw-v510.home .diagnostic-home-care-note{margin-top:auto!important;padding:12px 10px!important;font-size:9px!important}

  body.zw-v510.home .diagnostic-copy{
    display:flex!important;min-height:478px!important;flex-direction:column!important;justify-content:center!important;
    padding:30px 28px!important;border:0!important;border-right:1px solid #dbe8e0!important;background:#fff!important;
    overflow:visible!important;
  }
  body.zw-v510.home .diagnostic-copy .eyebrow{margin-bottom:12px!important;font-size:10px!important}
  body.zw-v510.home .diagnostic-copy h2{
    margin:0!important;font-size:42px!important;line-height:.98!important;letter-spacing:-.04em!important;font-weight:800!important;
  }
  body.zw-v510.home .diagnostic-copy>p{margin:22px 0 18px!important;font-size:12.5px!important;line-height:1.55!important}
  body.zw-v510.home .diagnostic-copy ul{gap:8px!important;margin:0 0 22px!important}
  body.zw-v510.home .diagnostic-copy li{font-size:10px!important;line-height:1.35!important}
  body.zw-v510.home .diagnostic-copy .btn{align-self:flex-start!important;min-height:44px!important;padding:0 17px!important}

  body.zw-v510.home .zw-atlas--home .zw-atlas__stage{
    position:relative!important;display:block!important;min-height:478px!important;height:478px!important;
    overflow:hidden!important;background:radial-gradient(circle at 54% 50%,#fff 0,#f4fbf7 66%,#edf8f1 100%)!important;
  }
  body.zw-v510.home .zw-atlas--home .zw-atlas__label,
  body.zw-v510.home .zw-atlas--home .zw-atlas__sheet,
  body.zw-v510.home .zw-atlas--home .zw-atlas__detail-card{display:none!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__media{
    --atlas-canvas-pad-x:14px;--atlas-canvas-pad-top:24px;--atlas-canvas-pad-bottom:24px;
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important;
  }
  body.zw-v510.home .zw-atlas--home .zw-atlas__canvas{display:block!important;visibility:visible!important;opacity:1!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__image{object-fit:contain!important;padding:0!important;filter:drop-shadow(0 17px 22px rgba(24,65,43,.16))!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tabs{
    display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(6,minmax(0,1fr))!important;
    gap:8px!important;min-height:478px!important;height:478px!important;padding:10px!important;
    border:0!important;border-left:1px solid #dbe8e0!important;background:#fbfefc!important;overflow:visible!important;
  }
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab{
    position:relative!important;display:grid!important;grid-template-columns:31px minmax(0,1fr) 25px!important;
    align-items:center!important;gap:8px!important;width:100%!important;min-height:0!important;height:auto!important;
    padding:8px 8px!important;border:1px solid #d8e7de!important;border-radius:12px!important;background:#fff!important;
    text-align:left!important;overflow:hidden!important;
  }
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-index{position:static!important;width:28px!important;height:28px!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-copy{display:block!important;min-width:0!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-copy b{display:block!important;font-size:10px!important;line-height:1.08!important;white-space:normal!important;overflow-wrap:normal!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-copy small{display:block!important;margin-top:2px!important;font-size:8px!important;line-height:1.08!important;white-space:normal!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-icon{position:static!important;display:grid!important;width:24px!important;height:24px!important;place-items:center!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-icon svg{width:21px!important;height:21px!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab.is-active{border-color:#0b8d49!important;box-shadow:inset 3px 0 #0b8d49!important}
}

/* ---------- Tablet i telefon: 1024 px i mniej ---------- */
@media (max-width:1024px){
  body.zw-v510.home{padding-bottom:82px}
  body.zw-v510.home .container{width:min(calc(100% - 32px),760px)}
  body.zw-v510.home .topbar{display:none}
  body.zw-v510.home .site-header{
    position:sticky;
    top:0;
    z-index:90;
    background:#fff;
    box-shadow:0 8px 25px rgba(20,56,37,.08);
  }
  body.zw-v510.home .header-row{height:86px;gap:12px}
  body.zw-v510.home .brand{width:126px;height:72px;flex:0 0 126px}
  body.zw-v510.home .header-cta{
    display:inline-flex;
    order:2;
    margin-left:auto;
    min-height:48px;
    padding:0 16px;
    border-radius:9px;
    font-size:12px;
  }
  body.zw-v510.home .nav-toggle{
    order:3;
    display:grid;
    width:48px;
    height:48px;
    margin:0;
    place-content:center;
    gap:5px;
    border:0;
    background:#fff;
  }
  body.zw-v510.home .nav-toggle span{width:28px;height:3px;border-radius:3px;background:#102336}
  body.zw-v510.home .site-nav{top:94px}
  body.zw-v510.home .home-main{padding-top:0}
  body.zw-v510.home .home-stack{grid-template-columns:minmax(0,1fr);width:100%;gap:16px;padding-top:0}

  /* HERO: naturalny przepływ. hero-copy ma display:contents, dzięki czemu
     obraz może być między tekstem a CTA bez zmiany HTML. */
  body.zw-v510.home .hero-card{
    display:grid;
    width:100%;
    max-width:100%;
    min-width:0;
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:
      "visual"
      "title"
      "intro"
      "actions"
      "facts";
    min-height:0;
    height:auto;
    overflow:hidden;
    border:1px solid #dfe9e3;
    border-radius:0 0 18px 18px;
    background:#fff;
    box-shadow:none;
  }
  body.zw-v510.home .hero-copy{display:contents}
  body.zw-v510.home .hero-card>*,
  body.zw-v510.home .hero-copy>*{min-width:0;max-width:100%}
  body.zw-v510.home .hero-copy h1{
    grid-area:title;
    margin:0;
    padding:32px 24px 0;
    font-size:clamp(34px,7vw,46px);
    line-height:1.04;
    letter-spacing:-.035em;
  }
  body.zw-v510.home .hero-copy>p{
    grid-area:intro;
    max-width:none;
    margin:0;
    padding:20px 24px 22px;
    color:#34443c;
    font-size:16px;
    line-height:1.58;
  }
  body.zw-v510.home .hero-visual{
    grid-area:visual;
    position:relative;
    inset:auto;
    min-height:0;
    aspect-ratio:16/7;
    overflow:hidden;
  }
  body.zw-v510.home .hero-visual::before{content:none;display:none}
  body.zw-v510.home .hero-visual picture,
  body.zw-v510.home .hero-visual img{display:block;width:100%;max-width:100%;height:100%;min-width:0}
  body.zw-v510.home .hero-visual img{object-fit:cover;object-position:center}
  body.zw-v510.home .hero-actions{
    grid-area:actions;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:20px 24px 0;
  }
  body.zw-v510.home .hero-actions .btn{width:100%;min-width:0;min-height:50px;padding:0 14px}
  body.zw-v510.home .hero-facts{
    grid-area:facts;
    position:static;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin:0;
    padding:24px;
  }
  body.zw-v510.home .hero-facts>a,
  body.zw-v510.home .hero-facts>span{gap:9px;font-size:11px}
  body.zw-v510.home .hero-facts svg{flex:0 0 24px;width:24px;height:24px}
  body.zw-v510.home .hero-facts b{font-size:12px;line-height:1.25}
  body.zw-v510.home .hero-facts small{font-size:10px;line-height:1.3}

  body.zw-v510.home .service-ribbon{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    min-height:0;
    overflow:hidden;
    border:1px solid #dce8e1;
    border-radius:18px;
    background:#fff;
  }
  body.zw-v510.home .service-tile{
    min-height:118px;
    padding:14px 8px;
    gap:9px;
    border-right:1px solid #e4ece7;
    border-bottom:1px solid #e4ece7;
  }
  body.zw-v510.home .service-tile:nth-child(4n){border-right:0}
  body.zw-v510.home .service-tile:nth-last-child(-n+4){border-bottom:0}
  body.zw-v510.home .service-tile i{width:42px;height:42px}
  body.zw-v510.home .service-tile i svg{width:37px;height:37px}
  body.zw-v510.home .service-tile b{font-size:11px;line-height:1.28}

  /* Atlas HOME: auto-height, bez insetów i sztywnych wysokości. */
  /* !important poniżej wyłącza stary finalny blok atlasu, który wymusza display:flex. */
  body.zw-v510.home .diagnostic-card--pseudo-atlas{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:
      "copy stage"
      "tabs timeline";
    gap:14px;
    min-height:0;
    height:auto;
    overflow:visible;
    border:0;
    background:transparent;
  }
  body.zw-v510.home .diagnostic-card--pseudo-atlas>.diagnostic-copy{grid-area:copy}
  body.zw-v510.home .diagnostic-card--pseudo-atlas>.visit-timeline{grid-area:timeline}
  body.zw-v510.home .diagnostic-card--pseudo-atlas>.diagnostic-visual,
  body.zw-v510.home .diagnostic-card--pseudo-atlas .zw-atlas--home{display:contents!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__stage{grid-area:stage!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tabs{grid-area:tabs!important}

  body.zw-v510.home .diagnostic-copy{
    display:flex!important;
    min-height:0;
    flex-direction:column;
    justify-content:center;
    padding:26px 22px;
    border:1px solid #dce8e1;
    border-radius:18px;
    background:#fff;
    overflow:visible;
  }
  body.zw-v510.home .diagnostic-copy .eyebrow{margin:0 0 10px;font-size:11px}
  body.zw-v510.home .diagnostic-copy h2{margin:0;font-size:clamp(30px,5vw,40px);line-height:1.02}
  body.zw-v510.home .diagnostic-copy>p{max-width:none;margin:18px 0;font-size:13px;line-height:1.5}
  body.zw-v510.home .diagnostic-copy ul{display:none}
  body.zw-v510.home .diagnostic-copy .btn{align-self:flex-start;min-height:44px}

  body.zw-v510.home .zw-atlas--home .zw-atlas__stage{
    position:relative;
    min-height:0;
    aspect-ratio:14/10!important;
    overflow:hidden;
    border:1px solid #dce8e1;
    border-radius:18px;
    background:radial-gradient(circle at 50% 54%,#fff 0,#f4fbf7 72%,#edf8f1 100%);
  }
  body.zw-v510.home .zw-atlas--home .zw-atlas__label,
  body.zw-v510.home .zw-atlas--home .zw-atlas__sheet,
  body.zw-v510.home .zw-atlas--home .zw-atlas__detail-card{display:none!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__media{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    aspect-ratio:14/10!important;
    overflow:hidden!important;
  }
  body.zw-v510.home .zw-atlas--home .zw-atlas__image{padding:20px 10px 14px!important;object-fit:contain!important;transform:scale(1)!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__hotspot{--hotspot-hit:46px;--hotspot-dot:28px}

  body.zw-v510.home .zw-atlas--home .zw-atlas__tabs{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:none!important;
    flex-direction:initial!important;
    gap:0!important;
    height:auto!important;
    min-height:0!important;
    padding:8px 12px;
    overflow:visible!important;
    border:1px solid #dce8e1;
    border-radius:18px;
    background:#fff;
  }
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab{
    display:grid!important;
    flex:0 1 auto!important;
    grid-template-columns:30px minmax(0,1fr) 24px!important;
    align-items:center;
    gap:9px;
    width:100%;
    min-height:54px!important;
    padding:8px 2px!important;
    border:0;
    border-bottom:1px solid #e6ede9;
    border-radius:0;
    background:#fff;
    text-align:left;
  }
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab:last-child{border-bottom:0}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-index{position:static;width:27px;height:27px}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-copy b{font-size:10px;line-height:1.15}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-copy small{display:block;margin-top:2px;font-size:8px;line-height:1.2}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-icon{position:static;display:grid;width:22px;height:22px;place-items:center}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab-icon svg{width:20px;height:20px}

  body.zw-v510.home .visit-timeline{
    display:flex!important;
    min-height:0;
    height:auto;
    flex-direction:column;
    padding:22px 18px;
    overflow:visible;
    border:1px solid #dce8e1;
    border-radius:18px;
    background:#fff;
  }
  body.zw-v510.home .visit-timeline .mini-label{margin:0 0 14px;font-size:12px;line-height:1.2}
  body.zw-v510.home .timeline-clinic-status{display:none}
  body.zw-v510.home .visit-timeline ol{gap:5px}
  body.zw-v510.home .visit-timeline li{min-height:52px;padding:7px 0;gap:10px}
  body.zw-v510.home .visit-timeline li>span{flex:0 0 28px;width:28px;height:28px}
  body.zw-v510.home .visit-timeline li div{padding-right:45px}
  body.zw-v510.home .visit-timeline b{font-size:11px;line-height:1.15}
  body.zw-v510.home .visit-timeline small{font-size:9px;line-height:1.25}
  body.zw-v510.home .visit-timeline em{font-size:9px}
  body.zw-v510.home .diagnostic-home-care-note{display:none}

  body.zw-v510.home .team-review{display:block}
  body.zw-v510.home .team-block{padding:20px 16px;border-radius:18px}
  body.zw-v510.home .review-card{display:none}
  body.zw-v510.home .team-cards{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:2px 0 8px;
    scrollbar-width:none;
  }
  body.zw-v510.home .team-cards::-webkit-scrollbar{display:none}
  body.zw-v510.home .team-card{flex:0 0 180px;scroll-snap-align:start}
  body.zw-v510.home .team-card img{height:170px}

  body.zw-v510.home .phone-banner{
    position:fixed;
    z-index:85;
    left:0;
    right:0;
    bottom:0;
    display:grid;
    grid-template-columns:44px minmax(0,1fr) auto 44px;
    min-height:76px;
    gap:10px;
    padding:9px 16px;
    border:0;
    border-top:1px solid #dce8e1;
    border-radius:0;
    background:rgba(255,255,255,.97);
    box-shadow:0 -10px 30px rgba(18,57,35,.10);
    backdrop-filter:blur(15px);
  }
  body.zw-v510.home .phone-banner p{display:none}
  body.zw-v510.home .phone-banner>div:nth-child(2)::after{content:"76 853 29 58";display:block;font-size:19px;font-weight:900;line-height:1.1;color:#183228}
  body.zw-v510.home .phone-banner>a{min-width:130px;padding:10px 15px;border-radius:8px}
  body.zw-v510.home .phone-banner>a strong{display:none}
}

/* ---------- Telefon: 768 px i mniej ---------- */
@media (max-width:768px){
  body.zw-v510.home .container{width:calc(100% - 24px)}
  body.zw-v510.home .header-row{height:80px}
  body.zw-v510.home .brand{width:116px;height:66px;flex-basis:116px}
  body.zw-v510.home .header-cta{min-height:44px;padding:0 13px;font-size:11px}
  body.zw-v510.home .nav-toggle{width:44px;height:44px}

  body.zw-v510.home .hero-copy h1{padding:28px 18px 0;font-size:clamp(31px,9vw,40px)}
  body.zw-v510.home .hero-copy>p{padding:18px 18px 20px;font-size:15px}
  body.zw-v510.home .hero-visual{min-height:0;aspect-ratio:16/7}
  body.zw-v510.home .hero-actions{grid-template-columns:1fr;padding:18px 18px 0}
  body.zw-v510.home .hero-facts{grid-template-columns:repeat(3,minmax(0,1fr));padding:22px 18px;gap:10px}

  body.zw-v510.home .service-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.zw-v510.home .service-tile{min-height:116px}
  body.zw-v510.home .service-tile:nth-child(4n){border-right:1px solid #e4ece7}
  body.zw-v510.home .service-tile:nth-child(2n){border-right:0}
  body.zw-v510.home .service-tile:nth-last-child(-n+4){border-bottom:1px solid #e4ece7}
  body.zw-v510.home .service-tile:nth-last-child(-n+2){border-bottom:0}

  body.zw-v510.home .diagnostic-card--pseudo-atlas{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:
      "copy"
      "stage"
      "tabs"
      "timeline";
  }
  body.zw-v510.home .diagnostic-copy{padding:24px 20px}
  body.zw-v510.home .diagnostic-copy h2{font-size:34px}
  body.zw-v510.home .zw-atlas--home .zw-atlas__stage,
  body.zw-v510.home .zw-atlas--home .zw-atlas__media{min-height:0!important;aspect-ratio:14/9!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tabs{padding:7px 14px}
  body.zw-v510.home .visit-timeline{padding:22px 18px}
  body.zw-v510.home .team-card{flex-basis:165px}
  body.zw-v510.home .team-card img{height:155px}
}

/* ---------- Mały telefon: 480 px i mniej ---------- */
@media (max-width:480px){
  body.zw-v510.home .container{width:calc(100% - 20px)}
  body.zw-v510.home .header-row{height:76px;gap:8px}
  body.zw-v510.home .brand{width:104px;height:62px;flex-basis:104px}
  body.zw-v510.home .header-cta{min-height:42px;padding:0 10px;font-size:10px}
  body.zw-v510.home .header-cta svg{width:16px;height:16px}
  body.zw-v510.home .nav-toggle{width:40px;height:42px}
  body.zw-v510.home .nav-toggle span{width:25px}

  body.zw-v510.home .hero-copy h1{padding:24px 15px 0;font-size:30px}
  body.zw-v510.home .hero-copy>p{padding:16px 15px 18px;font-size:14px;line-height:1.52}
  body.zw-v510.home .hero-visual{min-height:0;aspect-ratio:4/3}
  body.zw-v510.home .hero-actions{padding:16px 15px 0}
  body.zw-v510.home .hero-actions .btn{min-height:46px;font-size:11px}
  body.zw-v510.home .hero-facts{padding:20px 15px}
  body.zw-v510.home .hero-facts>a,
  body.zw-v510.home .hero-facts>span{gap:6px}
  body.zw-v510.home .hero-facts svg{flex-basis:20px;width:20px;height:20px}
  body.zw-v510.home .hero-facts b{font-size:10px}
  body.zw-v510.home .hero-facts small{font-size:8px}

  body.zw-v510.home .service-tile{min-height:108px;padding:12px 7px}
  body.zw-v510.home .service-tile i{width:38px;height:38px}
  body.zw-v510.home .service-tile i svg{width:34px;height:34px}
  body.zw-v510.home .service-tile b{font-size:10px}

  body.zw-v510.home .diagnostic-copy{padding:22px 17px}
  body.zw-v510.home .diagnostic-copy h2{font-size:31px}
  body.zw-v510.home .diagnostic-copy>p{font-size:12px}
  body.zw-v510.home .zw-atlas--home .zw-atlas__stage,
  body.zw-v510.home .zw-atlas--home .zw-atlas__media{min-height:0!important;aspect-ratio:4/3!important}
  body.zw-v510.home .zw-atlas--home .zw-atlas__tab{min-height:52px}
  body.zw-v510.home .visit-timeline{padding:20px 15px}
  body.zw-v510.home .visit-timeline li div{padding-right:40px}
  body.zw-v510.home .team-block{padding:18px 13px}
  body.zw-v510.home .team-card{flex-basis:150px}
  body.zw-v510.home .team-card img{height:142px}

  body.zw-v510.home .phone-banner{
    grid-template-columns:40px minmax(0,1fr) auto;
    min-height:70px;
    padding:8px 12px;
  }
  body.zw-v510.home .phone-banner h2{font-size:10px}
  body.zw-v510.home .phone-banner>div:nth-child(2)::after{font-size:17px}
  body.zw-v510.home .phone-banner>a{min-width:112px;padding:9px 12px}
  body.zw-v510.home .phone-banner>a span{font-size:11px}
  body.zw-v510.home .pulse{display:none}
}

/* =========================================================
   ZWIERZAK 5.2.4 — numerowane hotspoty HOME i FULL
   Wcześniejsze arkusze rysują znak plus przez ::after i obrócony span,
   dlatego te trzy właściwości wymagają końcowego override'u.
   ========================================================= */
body.zw-v510 .zw-atlas__hotspot::after{
  content:none!important;
  display:none!important;
}
body.zw-v510 .zw-atlas__hotspot span{
  z-index:3!important;
  display:grid!important;
  width:var(--hotspot-dot)!important;
  height:var(--hotspot-dot)!important;
  place-items:center!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:#075f35!important;
  font-size:clamp(10px,calc(var(--hotspot-dot) * .42),14px)!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
  transform:translate(-50%,-50%)!important;
}
body.zw-v510 .zw-atlas__hotspot:hover span,
body.zw-v510 .zw-atlas__hotspot:focus-visible span,
body.zw-v510 .zw-atlas__hotspot.is-active span{color:#064b2c!important}


/* 5.3.0 — opcjonalna treść z edytora WordPressa w szablonach dedykowanych. */
.zw-page-editor-content{margin:clamp(28px,4vw,56px) 0;padding:clamp(22px,3vw,38px);border:1px solid rgba(25,75,54,.12);border-radius:24px;background:#fff;box-shadow:0 16px 48px rgba(20,58,43,.06)}
.zw-page-editor-content>:first-child{margin-top:0}.zw-page-editor-content>:last-child{margin-bottom:0}.zw-page-editor-content img{max-width:100%;height:auto}.zw-page-editor-content a{overflow-wrap:anywhere}


/* 5.6.9 — lead dedykowanych podstron, treść edytowalna bez zmiany hero. */
.page-hero__lead{max-width:760px;margin-top:18px}
.page-hero__lead p{margin:0;color:#50645a;font-size:16px;line-height:1.65;text-transform:none;font-weight:500;letter-spacing:0}
@media(max-width:620px){.page-hero__lead p{font-size:14px}}
