/* ════════════════════════════════════════
   DESIGN TOKENS — FemiMea 2026
   global.css — Wspólny arkusz stylów
════════════════════════════════════════ */
:root {
  --max-outer: calc(var(--max) + 2 * var(--px));  /* use on elements that have max-width + padding: X var(--px) */
  --mag:      #DF3BA3;
  --mag-d:    #C9308F;
  --mag-dim:  #B8318A;
  --mag-g:    #F7E0F1;
  --mag-w:    #FDF0FA;
  --ink:      #1A1523;
  --slate:    #54595F;
  --gray:     #6B7280;
  --teal:     #0CB8B6;
  --teal-g:   #E0F7F7;
  --green:    #22C55E;
  --green-g:  #DCFCE7;
  --blush:    #FFDAED;
  --white:    #FFFFFF;
  --bg:       #F8F9FA;

  --f-serif: 'DM Serif Display', Georgia, serif;
  --f-ui:    'Outfit', system-ui, sans-serif;

  --r-btn:  8px;
  --r-card: 14px;
  --r-pill: 100px;

  --nav-h:  92px;
  --top-h:  42px;
  --max:    1665px;
  --px:     clamp(16px, 4vw, 56px);

  --tf: 150ms;
  --tn: 250ms;
  --ts: 400ms;
  --eo:     cubic-bezier(0, 0, 0.2, 1);
  --spring: cubic-bezier(.34,1.56,.64,1);

  /* ─── SPACING SCALE (8px base) ─── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* ─── SEMANTIC COLOR TOKENS (warstwa 2 — używaj tych zamiast prymityw) ─── */
  --color-text-primary:   var(--ink);
  --color-text-secondary: var(--slate);
  --color-text-muted:     var(--gray);
  --color-text-inverse:   var(--white);
  --color-text-brand:     var(--mag);

  --color-surface:          var(--white);
  --color-surface-muted:    var(--bg);
  --color-surface-brand:    var(--mag-w);
  --color-surface-hover:    rgba(0,0,0,.03);

  --color-border:           rgba(0,0,0,.07);
  --color-border-strong:    rgba(0,0,0,.12);
  --color-border-brand:     rgba(223,59,163,.22);

  --color-brand:           var(--mag);
  --color-brand-hover:     var(--mag-d);

  /* ─── BREAKPOINTY (konwencja — używaj tylko tych w nowym CSS) ─────
     --bp-sm:  640px   (tablet portrait)
     --bp-md:  768px   (tablet landscape / small laptop)
     --bp-lg:  1024px  (desktop)
     --bp-xl:  1280px  (wide desktop)
     Migracja starych breakpointów stopniowo do mediów (640/768/1024/1280).
  */
}

/* ════ RESET ════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  font-family: var(--f-ui);
  /* Mobile 16px → desktop 18px. WCAG mobile readability + lepszy komfort czytania. */
  font-size: clamp(16px, 0.9vw + 13px, 18px);
  line-height: 1.65;
  color: var(--slate);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; transition: color var(--tf) var(--eo); }
button { font-family: inherit; cursor: pointer; border: none; background: none; outline: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--mag); border-radius: 4px; }

/* ════ TYPOGRAPHY SCALE — czytelne, zhierarchizowane ════ */
h1 { font-size: clamp(34px, 5vw, 60px); font-family: var(--f-serif); line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-family: var(--f-serif); line-height: 1.18; color: var(--ink); letter-spacing: -0.005em; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.3; color: var(--ink); }
h4 { font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; line-height: 1.35; color: var(--ink); }
p  { line-height: 1.65; }
small, .text-sm { font-size: 0.875em; }

/* Wspólny H1 dla nagłówków archiwów/landingu (blog, cennik, personel itp.) */
.page-h1 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
}
.page-h1-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--color-text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ════ ACCESSIBILITY ════ */
/* Skip link — widoczny tylko po focusie klawiaturą (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 99999;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--r-btn);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: top var(--tn) var(--eo);
}
.skip-link:focus,
.skip-link:focus-visible { top: 16px; outline: 3px solid var(--mag); outline-offset: 2px; }

/* Widoczny focus dla nawigacji klawiaturą (WCAG 2.4.7) */
:focus-visible {
  outline: 2px solid var(--mag);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Wewnątrz przycisków/linków z własnym tłem — lepszy kontrast */
.btn-p:focus-visible,
.tc-btn-p:focus-visible,
.us-btn-primary:focus-visible,
button.f-btn:focus-visible {
  outline-color: var(--white);
  outline-offset: -4px;
  box-shadow: 0 0 0 4px var(--mag);
}

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

/* ════ ANIMATIONS ════ */
@keyframes dotBlink  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.45;transform:scale(.68)} }
@keyframes ringPulse { 0%{opacity:.8;transform:scale(1)} 65%,100%{opacity:0;transform:scale(1.95)} }
@keyframes fadeIn    { from{opacity:0} to{opacity:1} }
@keyframes slideUp   { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes scaleIn   { from{opacity:0;transform:scale(.92)} to{opacity:1;transform:scale(1)} }
@keyframes spinAnim  { to{transform:rotate(360deg)} }
@keyframes bounceAnim{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes shakeAnim { 0%,100%{transform:rotate(0)} 20%{transform:rotate(-8deg)} 40%{transform:rotate(8deg)} 60%{transform:rotate(-5deg)} 80%{transform:rotate(5deg)} }

.anim-spin   { animation: spinAnim   3s linear infinite; display: inline-block; }
.anim-bounce { animation: bounceAnim 2.2s ease-in-out infinite; display: inline-block; }
.anim-shake  { animation: shakeAnim  3s ease-in-out infinite; display: inline-block; }

/* ════ SCROLL REVEAL ════
 * Domyślnie content jest WIDOCZNY (no-JS fallback + SEO).
 * JS opcjonalnie dodaje klasę .reveal-anim PRZED IntersectionObserver,
 * by uruchomić efekt fade-up tylko gdy JS faktycznie działa.
 */
.reveal { opacity: 1; transform: none; }
html.reveal-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s var(--eo), transform .5s var(--eo);
}
html.reveal-anim .reveal.in { opacity: 1; transform: none; }
.stagger-children > * { opacity: 1; transform: none; }
html.reveal-anim .stagger-children > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--eo), transform .4s var(--eo);
}
html.reveal-anim .stagger-children.in > *:nth-child(1){opacity:1;transform:none;transition-delay:.06s}
html.reveal-anim .stagger-children.in > *:nth-child(2){opacity:1;transform:none;transition-delay:.13s}
html.reveal-anim .stagger-children.in > *:nth-child(3){opacity:1;transform:none;transition-delay:.20s}
html.reveal-anim .stagger-children.in > *:nth-child(4){opacity:1;transform:none;transition-delay:.27s}
html.reveal-anim .stagger-children.in > *:nth-child(5){opacity:1;transform:none;transition-delay:.34s}
html.reveal-anim .stagger-children.in > *:nth-child(6){opacity:1;transform:none;transition-delay:.41s}

/* ════════════════════════════════════════
   MODERN MICRO-INTERACTIONS (2025)
   Inspirowane scroll-reveal-libraries + modern-web-design
════════════════════════════════════════ */

/* ── Hero stagger: pill → h1 → sub → buttons w spring physics ── */
.hero-stagger > [data-stagger] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--eo), transform .7s var(--spring);
}
html:not(.reveal-anim) .hero-stagger > [data-stagger] { opacity: 1; transform: none; }
.hero-stagger.in > [data-stagger="1"] { opacity: 1; transform: none; transition-delay: .05s; }
.hero-stagger.in > [data-stagger="2"] { opacity: 1; transform: none; transition-delay: .18s; }
.hero-stagger.in > [data-stagger="3"] { opacity: 1; transform: none; transition-delay: .32s; }
.hero-stagger.in > [data-stagger="4"] { opacity: 1; transform: none; transition-delay: .48s; }

/* ── Magnetic CTA: hover scale + spring lift + active press ── */
.btn-magnetic {
  transition: transform .25s var(--spring), box-shadow .25s var(--eo);
  will-change: transform;
}
.btn-magnetic:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(223,59,163,.32);
}
.btn-magnetic:active {
  transform: translateY(-1px) scale(.98);
  transition-duration: .08s;
}

/* ── Card hover: subtle scale + glow shadow (dla .svc-dcg-card, .doc, .bcard, .t-card) ── */
.svc-dcg-card, .doc, .bcard, .t-card {
  transition: transform .35s var(--spring), box-shadow .35s var(--eo);
  will-change: transform;
}
.svc-dcg-card:hover, .doc:hover, .bcard:hover, .t-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(223,59,163,.12), 0 8px 16px rgba(0,0,0,.06);
}

/* ── Scroll progress bar (cienki na samej górze viewport) ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100000;
  background: rgba(0,0,0,.04);
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--mag) 0%, var(--mag-d) 100%);
  width: 0;
  transition: width .12s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(223,59,163,.45);
}

/* ── Counter — leciutka pulsacja gdy animowane ── */
[data-counter].counting {
  background: linear-gradient(135deg, var(--mag) 0%, var(--mag-d) 50%, var(--mag) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: counterShimmer 1.2s var(--eo);
}
@keyframes counterShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* ── Respektujemy preferencje ruchu ── */
@media (prefers-reduced-motion: reduce) {
  .hero-stagger > [data-stagger],
  .btn-magnetic,
  .svc-dcg-card, .doc, .bcard, .t-card {
    transition: none !important;
    animation: none !important;
  }
  .hero-stagger > [data-stagger] { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}

/* ════════════════════════════════════════
   TOPBAR
════════════════════════════════════════ */
.topbar {
  height: var(--top-h);
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  position: relative;
  z-index: 110;
}
.tb-l, .tb-r { display: flex; align-items: center; gap: clamp(10px,2vw,22px); }
.tb-sep { width: 1px; height: 16px; background: rgba(0,0,0,.1); flex-shrink: 0; }
.tb-link { display: flex; align-items: center; gap: 6px; color: var(--slate); font-weight: 500; white-space: nowrap; }
.tb-link i { color: var(--mag); font-size: 14px; }
.tb-link:hover { color: var(--mag); }
.tb-hours { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gray); white-space: nowrap; }
.tb-hours i { color: var(--mag); font-size: 13px; }
.tb-soc { display: flex; gap: 4px; }
.tb-soc a {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--slate);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: background var(--tf), color var(--tf);
}
.tb-soc a:hover { background: var(--mag); color: var(--white); }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  /* Anchor mega-menu: mega ma `position: absolute; top: 100%` i pozycjonuje się względem navbara */
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: box-shadow var(--tn) var(--eo);
}
.navbar.sc { box-shadow: 0 4px 28px rgba(26,21,35,.08); }

.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.nav-logo > img { height: 54px !important; width: auto !important; max-width: 220px; display: block; object-fit: contain; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo-txt .lb { font-family: var(--f-serif); font-size: 1.5rem; color: var(--ink); }
.logo-txt .ls { font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mag); }

.nav-list { display: flex; align-items: center; height: 100%; margin: 0 auto; padding: 0 clamp(8px,2vw,24px); }
.nav-item { position: static; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  font-size: 17px; font-weight: 600;
  color: var(--slate);
  border-radius: var(--r-btn);
  transition: color var(--tf), background var(--tf);
  cursor: pointer;
  white-space: nowrap;
}
.nav-item:hover > .nav-link,
.nav-item.hov  > .nav-link,
.nav-link.active { color: var(--mag); background: var(--mag-w); }
.nav-link .ci { font-size: 11px; transition: transform var(--tf) var(--eo); }
.nav-item:hover > .nav-link .ci,
.nav-item.hov  > .nav-link .ci { transform: rotate(180deg); }

.nav-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.tb-phone {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 16px;
  color: var(--ink);
  transition: color var(--tf);
  white-space: nowrap;
}
.tb-phone:hover { color: var(--mag); }
.phone-dot-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; flex-shrink: 0;
}
.phone-dot-wrap::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: ringPulse 1.8s ease-in-out infinite;
}
.phone-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  animation: dotBlink 1.8s ease-in-out infinite;
}

/* Wariant zamkniete: czerwona pulsacja + dluzszy interwal (klinika nieczynna) */
.phone-dot-wrap.closed::before {
  border-color: #e74c3c;
  animation: ringPulse 2.4s ease-in-out infinite;
}
.phone-dot-wrap.closed .phone-dot {
  background: #e74c3c;
  animation: dotBlink 2.4s ease-in-out infinite;
}

/* ════ BUTTONS ════ */
.btn-p {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  background: var(--mag);
  color: var(--white) !important;
  font-family: var(--f-ui);
  font-weight: 600; font-size: 16px;
  border-radius: var(--r-btn);
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf);
  white-space: nowrap;
  cursor: pointer;
}
.btn-p:hover {
  background: var(--mag-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(223,59,163,.28);
}
.btn-p:active { transform: translateY(0); }

.btn-s {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 24px;
  background: transparent;
  color: var(--mag) !important;
  font-family: var(--f-ui);
  font-weight: 600; font-size: 16px;
  border: 1.5px solid var(--mag);
  border-radius: var(--r-btn);
  transition: background var(--tf), border-color var(--tf), transform var(--tf), box-shadow var(--tf);
  white-space: nowrap;
  cursor: pointer;
}
.btn-s:hover {
  background: var(--mag-w);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(223,59,163,.15);
}
.btn-s:active { transform: translateY(0); }

/* Tertiary — tekstowy link CTA (np. "Czytaj dalej", "Zobacz profil") */
.btn-t {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-text-brand);
  font-family: var(--f-ui);
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--tf), gap var(--tf), color var(--tf);
  cursor: pointer;
}
.btn-t:hover {
  border-color: var(--color-text-brand);
  gap: 10px;
  color: var(--color-brand-hover);
}
.btn-t i { font-size: 16px; transition: transform var(--tf); }
.btn-t:hover i { transform: translateX(2px); }

/* ════ SKELETON LOADING ════ */
.skeleton {
  background: linear-gradient(90deg,
    rgba(0,0,0,.04) 25%,
    rgba(0,0,0,.08) 50%,
    rgba(0,0,0,.04) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; background: rgba(0,0,0,.05); }
}


/* ════════════════════════════════════════
   BURGER
════════════════════════════════════════ */
.burger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
  border-radius: var(--r-btn);
  flex-shrink: 0; background: none; border: none; cursor: pointer;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--tn) var(--eo);
}

/* ════════════════════════════════════════
   MOBILE CTA (phone + book + burger — visible on mobile)
════════════════════════════════════════ */
.mob-cta {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Phone pill — biały chip z zielonym statusem (jak screen ze strony) */
.mob-phone {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink) !important;
  font-family: var(--f-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: background var(--tf);
}
.mob-phone:hover { background: rgba(0,0,0,.04); }
.mob-phone .mob-phone-num { display: inline; }
.mob-phone i { display: none; } /* ikona telefonu ukryta — chcemy tylko dot + numer */
.mob-phone-pulse {
  position: relative; inset: auto;
  display: inline-block;
  width: 9px; height: 9px;
  border: 0; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(67,160,71,.55);
  animation: mobDotPulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
.mob-phone.closed { color: var(--ink) !important; }
.mob-phone.closed .mob-phone-pulse {
  background: #e74c3c;
  box-shadow: 0 0 0 0 rgba(231,76,60,.55);
  animation-duration: 2.4s;
}
@keyframes mobDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(67,160,71,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(67,160,71,0); }
  100% { box-shadow: 0 0 0 0 rgba(67,160,71,0); }
}

/* Burger — always square, high contrast */
.burger {
  display: flex;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bg);
  border: 1.5px solid rgba(0,0,0,.1);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--tf), border-color var(--tf);
}
.burger:hover { background: var(--mag-g); border-color: var(--mag); }
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--tn) var(--eo);
}
.burger[aria-expanded="true"] { background: var(--mag-g); border-color: var(--mag); }
.burger[aria-expanded="true"] span { background: var(--mag); }

.mob-group { border: none; }
.mob-group-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px;
  font-family: var(--f-ui);
  font-size: 15.5px; font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background var(--tf);
  user-select: none;
}
.mob-group-head::-webkit-details-marker { display: none; }
.mob-group-head:hover { background: var(--mag-w); }
.mob-group-title { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.mob-group-ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--mag-w) 0%, var(--blush, #FFDAED) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--tn) var(--spring), box-shadow var(--tn) var(--eo);
}
.mob-group-ico img { width: 24px; height: 24px; display: block; }
.mob-group[open] .mob-group-ico,
.mob-group-head:hover .mob-group-ico {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 4px 12px rgba(223,59,163,.18);
}
.mob-arrow {
  font-size: 22px; color: var(--mag);
  transition: transform var(--tf);
  flex-shrink: 0;
}
.mob-group[open] .mob-arrow { transform: rotate(180deg); }
.mob-group[open] .mob-group-head { color: var(--mag); background: var(--mag-w); }
.mob-group-body {
  padding: 4px 20px 14px 72px;
  display: flex; flex-direction: column; gap: 0;
  background: linear-gradient(180deg, rgba(253,240,250,.6) 0%, transparent 80%);
}
.mob-group-body a {
  position: relative;
  display: block;
  padding: 11px 0 11px 18px;
  font-family: var(--f-ui);
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -.005em;
  color: var(--slate);
  line-height: 1.4;
  border-bottom: 1px solid rgba(0,0,0,.04);
  transition: color var(--tf), padding-left var(--tf);
}
.mob-group-body a::before {
  content: ""; position: absolute; left: 2px; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(223,59,163,.3);
  transition: background var(--tf), width var(--tf), height var(--tf);
}
.mob-group-body a:last-child { border-bottom: none; }
.mob-group-body a:hover { color: var(--mag); padding-left: 22px; }
.mob-group-body a:hover::before { background: var(--mag); width: 7px; height: 7px; }


/* ════════════════════════════════════════
   MEGA MENU
════════════════════════════════════════ */
.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%; /* dokładnie pod navbarem niezależnie od --nav-h */
  background: var(--white);
  border-top: 2px solid var(--mag);
  box-shadow: 0 24px 64px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--tn) var(--eo), visibility var(--tn);
  z-index: 90; /* poniżej navbara (100), żeby nie przykrył samego siebie */
  max-height: calc(100vh - var(--nav-h) - 20px);
  overflow-y: auto;
}
.mega.show { opacity: 1; visibility: visible; pointer-events: auto; }
.mega-in {
  max-width: var(--max); margin: 0 auto;
  padding: 20px var(--px) 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.mega-col {
  position: relative;
  display: flex; flex-direction: column;
  padding: 14px 20px;
  border-radius: 14px;
  transition: background var(--tn) var(--eo), transform var(--tn) var(--eo);
}
.mega-col::after {
  content: ""; position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(223,59,163,.0), transparent);
  transition: background var(--tn) var(--eo);
  pointer-events: none;
}
.mega-col:hover {
  background: linear-gradient(180deg, rgba(223,59,163,.04) 0%, transparent 100%);
  transform: translateY(-1px);
}
.mega-col:hover::after {
  background: linear-gradient(90deg, transparent, rgba(223,59,163,.4), transparent);
}
.mega-col:hover { background: linear-gradient(180deg, rgba(223,59,163,.025) 0%, transparent 80%); }

.mega-ch {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-ui); font-size: 18px; font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 18px; padding: 2px 0;
  text-decoration: none; line-height: 1.2;
  transition: color var(--tf);
}
.mega-ch:hover { color: var(--mag); }
.mega-ch-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--mag-w) 0%, var(--blush, #FFDAED) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--tn) var(--spring), box-shadow var(--tn) var(--eo);
}
.mega-col:hover .mega-ch-ico {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(223,59,163,.22);
}
.mega-ch-ico img { width: 28px; height: 28px; display: block; }
.mega-ch-lbl { flex: 1; min-width: 0; }

.mega-a {
  position: relative;
  display: flex; align-items: center;
  padding: 10px 8px 10px 18px;
  margin-left: -18px;
  font-family: var(--f-ui);
  font-size: 15px; font-weight: 500;
  color: var(--slate);
  line-height: 1.35;
  text-decoration: none;
  border-radius: 10px;
  transition: color var(--tf), background var(--tf), padding-left var(--tf);
}
.mega-a::before {
  content: ""; position: absolute; left: 6px; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(223,59,163,.3);
  transition: background var(--tf), width var(--tf), height var(--tf), transform var(--tf);
}
.mega-a:hover {
  color: var(--mag); background: rgba(223,59,163,.06);
  padding-left: 22px;
}
.mega-a:hover::before {
  background: var(--mag); width: 7px; height: 7px;
}

.mega-all {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  align-self: flex-start;
  font-family: var(--f-ui);
  font-size: 13.5px; font-weight: 600;
  letter-spacing: .015em;
  color: var(--mag);
  text-decoration: none;
  padding: 8px 14px 8px 16px;
  border-radius: var(--r-pill);
  background: var(--mag-w);
  transition: background var(--tf), color var(--tf), gap var(--tf), box-shadow var(--tf);
}
.mega-all i { font-size: 14px; transition: transform var(--tf); }
.mega-all:hover {
  background: var(--mag); color: var(--white); gap: 10px;
  box-shadow: 0 6px 16px rgba(223,59,163,.28);
}
.mega-all:hover i { transform: translateX(3px); }

.mega-foot {
  background: linear-gradient(135deg, var(--mag-w) 0%, #fff 100%);
  border-top: 1px solid rgba(223,59,163,.10);
  padding: 10px var(--px);
  display: flex; align-items: center; justify-content: flex-end; gap: 20px;
  flex-wrap: wrap;
}
.mega-foot-info {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-ui);
  font-size: 14px; color: var(--slate);
}
.mega-foot-info i { color: var(--mag); font-size: 19px; flex-shrink: 0; }
.mega-foot-tel {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--white); color: var(--mag);
  font-family: var(--f-ui);
  font-weight: 600; font-size: 14px;
  text-decoration: none;
  border: 1.5px solid var(--mag);
  transition: background var(--tf), color var(--tf), transform var(--tf), box-shadow var(--tf);
}
.mega-foot-tel:hover {
  background: var(--mag); color: var(--white); transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(223,59,163,.28);
}
.mega-foot-tel i { font-size: 16px; }

@media(max-width:1024px){
  .mega-in { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:768px){
  .mega-in { grid-template-columns: 1fr; padding: 16px var(--px); }
  .mega-col { padding: 12px 16px; }
}

.mega-widget {
  background: var(--ink); color: var(--white);
  padding: 28px 22px;
  border-radius: var(--r-card);
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
}
.mega-widget .mw-title { font-family: var(--f-serif); font-size: 24px; margin-bottom: 10px; line-height: 1.2; color: var(--white); font-weight: 400; }
.mega-widget p  { font-size: 14.5px; color: rgba(255,255,255,.78); margin-bottom: 20px; line-height: 1.55; }
.mw-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px;
  background: var(--mag); color: var(--white) !important;
  font-weight: 600; font-size: 15px;
  border-radius: var(--r-btn);
  margin-bottom: 14px;
  transition: background var(--tf);
}
.mw-btn:hover { background: var(--mag-d); }
.mw-tel {
  background: rgba(255,255,255,.07);
  padding: 12px; border-radius: var(--r-btn);
}
.mw-tel-lbl { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blush); margin-bottom: 5px; }
.mw-tel-num {
  font-size: 17px; font-weight: 600;
  color: var(--white) !important;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: color var(--tf);
}
.mw-tel-num:hover { color: var(--blush) !important; }

/* ════════════════════════════════════════
   MOBILE NAV
════════════════════════════════════════ */
/* Stare reguły .mob-nav (top: calc(...)) — usunięte, zob. nowa definicja niżej (top:0, slide-in z lewej) */
.mob-nav-inner { padding: 16px; flex: 1; }
.mn-cat {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mag); padding: 16px 10px 8px;
}
.mn-a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 10px;
  font-size: 16px; font-weight: 500;
  color: var(--slate);
  border-radius: var(--r-btn);
  transition: background var(--tf), color var(--tf);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.mn-a i { font-size: 20px; color: var(--mag); width: 24px; text-align: center; flex-shrink: 0; }
.mn-a:hover { background: var(--mag-w); color: var(--mag); }
.mn-btns { padding: 20px 10px; display: flex; flex-direction: column; gap: 10px; }
.mn-btns .btn-p,
.mn-btns .btn-s { width: 100%; justify-content: center; font-size: 16px; padding: 14px; }

/* ════ SHARED FILTER STRIP ════ */
.f-btn {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0,0,0,.09);
  font-family: var(--f-ui); font-size: 15px; font-weight: 500;
  color: var(--slate);
  background: var(--white);
  white-space: nowrap;
  transition: all var(--tf);
  cursor: pointer;
  flex-shrink: 0;
}
.f-btn:hover { background: var(--mag-g); color: var(--mag-dim); }
.f-btn.active { background: var(--mag); color: var(--white); border-color: var(--mag); box-shadow: 0 4px 10px rgba(223,59,163,.22); }

/* ════ HERO (shared) ════ */
.ch-hero {
  background: linear-gradient(145deg, var(--mag-w) 0%, rgba(255,218,237,.3) 100%);
  padding: clamp(56px,8vw,96px) var(--px) clamp(40px,5vw,64px);
  text-align: center;
}
.ch-title { margin-bottom: 16px; }
.ch-desc { font-size: clamp(15px,1.8vw,18px); color: var(--slate); max-width: 680px; margin: 0 auto; line-height: 1.65; }

/* ════ SIDEBAR WIDGETS ════ */
.sidebar { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.sb-widget {
  background: var(--ink); color: var(--white);
  padding: 32px 24px;
  border-radius: var(--r-card);
  text-align: center;
}
.sb-widget h3 { font-family: var(--f-serif); font-size: 24px; margin-bottom: 12px; line-height: 1.15; color: var(--white); }
.sb-widget p  { font-size: 15px; color: rgba(255,255,255,.78); margin-bottom: 24px; line-height: 1.55; }
.btn-w-mag {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px;
  background: var(--mag); color: var(--white) !important;
  font-weight: 600; font-size: 15px;
  border-radius: var(--r-btn);
  transition: background var(--tf);
  cursor: pointer;
}
.btn-w-mag:hover { background: var(--mag-d); }
.sb-widget .sub { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 16px; display: block; }

.sb-card { border: 1px solid rgba(0,0,0,.07); background: var(--white); border-radius: var(--r-card); padding: 24px; }
.sb-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.sb-title a { color: var(--mag); text-transform: none; letter-spacing: normal; font-weight: 500; font-size: 12px; }
.sb-title a:hover { text-decoration: underline; }
.sb-list { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--slate); }
.sb-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; line-height: 1.45; }
.sb-list strong { font-weight: 600; color: var(--ink); white-space: nowrap; }
.sb-info-list { display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; color: var(--slate); }
.sb-info-list li { display: flex; align-items: flex-start; gap: 10px; }
.sb-info-list i { color: var(--mag); font-size: 17px; margin-top: 1px; flex-shrink: 0; }

/* ════ CALLOUT ════ */
.callout {
  background: var(--mag-w);
  border-left: 3px solid var(--mag);
  padding: 20px 24px;
  border-radius: 0 var(--r-btn) var(--r-btn) 0;
  margin: 32px 0;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.65;
}
.callout strong { color: var(--mag-dim); }

/* ════ BLOG CARDS (shared) ════ */
.bcard {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  transition: box-shadow var(--tn), transform var(--tn);
  display: flex; flex-direction: column;
}
.bcard:hover { box-shadow: 0 12px 32px rgba(26,21,35,.07); transform: translateY(-4px); }
.bcard.hide { display: none; }
.bthumb { height: 200px; position: relative; overflow: hidden; flex-shrink: 0; }
.bthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--eo); }
.bcard:hover .bthumb img { transform: scale(1.06); }
.bcat {
  position: absolute; top: 14px; left: 14px;
  background: var(--white); color: var(--ink);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.bbody { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.bmeta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.bmeta-l { display: flex; align-items: center; gap: 5px; }
.btit { font-size: clamp(17px,1.5vw,20px); font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 10px; }
.bexc { font-size: 15px; color: var(--slate); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.b-more { font-size: 14px; font-weight: 600; color: var(--slate); display: flex; align-items: center; gap: 7px; transition: color var(--tf); margin-top: auto; }
.b-more:hover { color: var(--mag); }
.b-more-icon { background: var(--mag-w); color: var(--mag); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 16px; transition: background var(--tf); }
.b-more:hover .b-more-icon { background: var(--mag-g); }

/* ════ TESTIMONIALS ════ */
.testi { background: var(--blush); padding: clamp(48px,6vw,80px) var(--px); }
.testi-head { text-align: center; margin-bottom: 36px; }
.testi-head h2 { font-size: clamp(28px,3vw,40px); }
.testi-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; max-width: var(--max); margin: 0 auto; }
.tcard { background: var(--white); border-radius: var(--r-card); padding: 28px; position: relative; border: .5px solid rgba(0,0,0,.06); }
.tq { font-family: var(--f-serif); font-size: 56px; line-height: .45; color: var(--blush); position: absolute; top: 16px; left: 16px; }
.tstars { display: flex; gap: 2px; color: #F59E0B; font-size: 16px; margin-bottom: 14px; position: relative; z-index: 1; }
.ttxt { font-size: 16px; color: var(--slate); line-height: 1.65; font-style: italic; position: relative; z-index: 1; }
.tauth { margin-top: 18px; }
.tname { font-size: 15px; font-weight: 600; color: var(--ink); }
.tsrc  { font-size: 13px; color: var(--gray); }

/* ════════════════════════════════════════
   PRENATAL BANNER (above footer)
════════════════════════════════════════ */
.prenatal-banner {
  background: linear-gradient(135deg, #0a0613 0%, #1A1523 50%, #2d1040 100%);
  padding: clamp(40px,5vw,64px) var(--px);
  position: relative;
  overflow: hidden;
}
.prenatal-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,59,163,.18) 0%, transparent 70%);
  pointer-events: none;
}
.prenatal-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12,184,182,.1) 0%, transparent 70%);
  pointer-events: none;
}
.pb-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(24px,4vw,64px);
  position: relative;
  z-index: 1;
}
.pb-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(97,206,112,.15);
  color: #4ade80;
  border: 1px solid rgba(97,206,112,.25);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.pb-badge i { font-size: 12px; }
.pb-title {
  font-family: var(--f-serif);
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.pb-title em { font-style: normal; color: var(--mag); }
.pb-desc {
  font-size: clamp(14px,1.2vw,16px);
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 28px;
}
.pb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pb-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.pb-tag i { font-size: 13px; color: var(--teal); }
.pb-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.pb-btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--mag); color: var(--white) !important;
  font-weight: 600; font-size: 15px;
  border-radius: var(--r-btn);
  transition: background var(--tf), box-shadow var(--tf), transform var(--tf);
  white-space: nowrap;
}
.pb-btn-p:hover { background: var(--mag-d); box-shadow: 0 6px 20px rgba(223,59,163,.35); transform: translateY(-1px); }
.pb-btn-s {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white) !important;
  font-weight: 500; font-size: 15px;
  border-radius: var(--r-btn);
  transition: background var(--tf);
  white-space: nowrap;
}
.pb-btn-s:hover { background: rgba(255,255,255,.15); }
.pb-visual {
  display: flex; flex-direction: column; gap: 12px;
  flex-shrink: 0; min-width: 260px;
}
.pb-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-card);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
}
.pb-stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pb-stat-val { font-size: clamp(20px,2vw,26px); font-weight: 700; color: var(--white); line-height: 1; }
.pb-stat-lbl { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 3px; }

/* ════════════════════════════════════════
   BOOKING POPUP
════════════════════════════════════════ */
.booking-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,6,19,.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tn) var(--eo), visibility var(--tn);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.booking-overlay.open { opacity: 1; visibility: visible; }
.booking-modal {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
  width: 100%;
  max-width: 1024px;
  height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(.94) translateY(16px);
  transition: transform var(--tn) var(--eo);
  animation: scaleIn .25s var(--eo) both;
}
.booking-overlay.open .booking-modal { transform: none; }
.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  flex-shrink: 0;
  background: var(--white);
}
.booking-header-l { display: flex; align-items: center; gap: 12px; }
.booking-header-l i { font-size: 24px; color: var(--mag); }
.booking-header-l .bh-title { font-family: var(--f-serif); font-size: 20px; color: var(--ink); }
.booking-header-l .bh-sub  { font-size: 12px; color: var(--gray); margin-top: 1px; }
.booking-close {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--slate);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--tf), color var(--tf);
  flex-shrink: 0;
  border: none;
}
.booking-close:hover { background: var(--mag); color: var(--white); }
.booking-body {
  flex: 1;
  position: relative;
  background: var(--bg);
}
.booking-body iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.booking-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg);
  color: var(--gray);
  font-size: 15px;
}
.booking-loading i { font-size: 36px; color: var(--mag); animation: dotBlink 1.4s ease-in-out infinite; }
.booking-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  background: var(--white);
  flex-wrap: wrap;
  gap: 8px;
}
.booking-footer-info { font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.booking-footer-info i { color: var(--mag); }
.booking-tel { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.booking-tel i { color: var(--mag); }
.booking-tel:hover { color: var(--mag); }

/* ════════════════════════════════════════
   FOOTER — premium v2.2 (4-col grid, ikony przy linkach, status)
════════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, #ffffff 0%, #fdf8fb 100%);
  border-top: 1px solid rgba(223,59,163,.08);
  padding: clamp(56px,7vw,96px) var(--px) 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--mag, #DF3BA3) 50%, transparent 100%);
  opacity: .4;
}
.ft-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: clamp(32px,4vw,56px);
  padding-bottom: clamp(40px,5vw,64px);
}
.ft-brand .logo-txt { display: flex; flex-direction: column; line-height: 1.1; margin-bottom: 16px; }
.ft-brand .lb { font-family: var(--f-serif); font-size: 1.5rem; color: var(--ink); }
.ft-brand .ls { font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mag); }
.ft-brand p { font-size: 15px; color: var(--slate); margin-bottom: 22px; line-height: 1.65; max-width: 360px; }

/* Footer logo */
.ft-logo {
  display: inline-flex; align-items: center;
  margin-bottom: 20px;
  line-height: 0;
}
.ft-logo img {
  height: 48px; width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
}
@media (max-width: 640px) {
  .ft-logo img { height: 40px; max-width: 150px; }
}

/* Footer CTA button */
.ft-brand-cta { margin-bottom: 22px; }
.ft-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--mag, #DF3BA3);
  color: #fff;
  border: none;
  border-radius: var(--r-btn, 12px);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .005em;
  cursor: pointer;
  box-shadow: 0 4px 14px -2px rgba(223,59,163,.32);
  transition: background var(--tf), box-shadow var(--tf), transform var(--tf);
}
.ft-cta-btn:hover {
  background: #C1268A;
  box-shadow: 0 6px 18px -2px rgba(223,59,163,.42);
  transform: translateY(-1px);
}
.ft-cta-btn i { font-size: 17px; }

.ft-soc { display: flex; gap: 10px; }
.ft-soc a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(223,59,163,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  color: var(--mag);
  transition: background var(--tf), color var(--tf), transform var(--tf), border-color var(--tf);
}
.ft-soc a:hover {
  background: var(--mag);
  color: var(--white);
  border-color: var(--mag);
  transform: translateY(-2px);
}

/* Column headings */
.ft-col h5 {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(223,59,163,.15);
  position: relative;
}
.ft-col h5::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 28px;
  height: 2px;
  background: var(--mag, #DF3BA3);
}

/* Column links with icons — full row, pionowa lista */
.ft-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: 14.5px;
  color: var(--slate);
  margin-bottom: 11px;
  transition: color var(--tf), padding-left var(--tf);
  text-decoration: none;
  line-height: 1.4;
}
.ft-col a i {
  font-size: 16px;
  color: var(--mag);
  flex-shrink: 0;
  transition: transform var(--tf);
}
.ft-col a:hover {
  color: var(--mag);
  padding-left: 3px;
}
.ft-col a:hover i { transform: translateX(2px); color: var(--mag); }

/* Contact info — ikony fixed 22px box, wyrównane do pierwszej linii tekstu */
.ft-ci {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.55;
}
.ft-ci i {
  color: var(--mag);
  font-size: 18px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
}
.ft-ci > span,
.ft-ci > a {
  min-width: 0;
}
.ft-ci a {
  color: var(--slate);
  text-decoration: none;
  transition: color var(--tf);
  margin: 0;
}
.ft-ci a:hover { color: var(--mag); }
.ft-ci .ft-ci-strong {
  color: var(--ink);
  font-weight: 600;
}

/* Open / closed status */
.ft-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(223,59,163,.06);
  border: 1px solid rgba(223,59,163,.14);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.ft-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239,68,68,.5);
}
.ft-status-dot.is-open {
  background: #22c55e;
  animation: ft-pulse 2.5s ease-in-out infinite;
}
@keyframes ft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .ft-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .ft-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .ft-brand p { max-width: none; }
}

/* ── FOOTER: Boxy z usługami (internal linking, SEO) ── */
.ft-svc-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.ft-svc-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.ft-svc-title {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.ft-svc-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600;
  color: var(--mag);
  transition: gap var(--tf);
}
.ft-svc-all:hover { gap: 10px; }
.ft-svc-all i { font-size: 18px; }

.ft-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.ft-svc-box {
  display: flex; flex-direction: column;
}
.ft-svc-box-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(223,59,163,.18);
  letter-spacing: 0;
  text-transform: none;
}
.ft-svc-box-title i {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--mag-w);
  color: var(--mag);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ft-svc-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 8px;
}
.ft-svc-list li { line-height: 1.3; }
.ft-svc-list a {
  display: inline-block;
  font-size: 15px;
  color: var(--slate);
  text-decoration: none;
  transition: color var(--tf), padding-left var(--tf);
  padding: 4px 0;
}
.ft-svc-list a:hover {
  color: var(--mag);
  padding-left: 4px;
}

@media (max-width: 1024px) {
  .ft-svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ft-svc-grid { grid-template-columns: 1fr; }
  .ft-svc-head { flex-direction: column; align-items: flex-start; }
}
.ft-bot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--gray);
}
.ft-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.ft-links a {
  color: var(--slate);
  text-decoration: none;
  transition: color var(--tf);
  font-size: 13px;
}
.ft-links a:hover { color: var(--mag); }

/* ════════════════════════════════════════
   CONTENT GRID (2-col)
════════════════════════════════════════ */
.page-grid {
  max-width: var(--max-outer);
  margin: 0 auto;
  padding: clamp(40px,6vw,80px) var(--px);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(32px,5vw,72px);
  align-items: start;
}
.main-content h2 { margin: 44px 0 18px; }
.main-content h2:first-child { margin-top: 0; }
.main-content h3 { margin: 32px 0 14px; }
.main-content p  { margin-bottom: 18px; font-size: clamp(15px,1vw+12px,17px); color: var(--slate); }
.ul-list { margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.ul-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--slate); }
.ul-list li i { color: var(--mag); font-size: 17px; margin-top: 2px; flex-shrink: 0; }

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
════════════════════════════════════════ */

/* Tablet */

/* ════════════════════════════════════════
   MOBILE NAV DRAWER INTERNALS
════════════════════════════════════════ */

/* Overlay */
.mob-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(10,6,19,.5);
  z-index: 10009; /* Tuż pod drawerem (10010), wyżej niż TOC drawer (9999) i FAB (9998) */
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.mob-nav-overlay.open { opacity: 1; visibility: visible; }

/* Drawer panel */
.mob-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(400px, 90vw);
  background: var(--white);
  z-index: 10010; /* Wyżej niż TOC drawer (9999), FAB (9998), navbar (100) — mob-nav ma najwyższy priorytet */
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform .3s cubic-bezier(0,0,.2,1);
  visibility: hidden;
  box-shadow: 4px 0 32px rgba(0,0,0,.15);
  overflow: hidden;
}
.mob-nav.open { transform: translateX(0); visibility: visible; }

/* Drawer top bar */
.mob-nav-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  flex-shrink: 0;
}
.mob-nav-logo {
  font-family: var(--f-serif);
  font-size: 1.25rem; color: var(--ink);
}
.mob-nav-close {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--slate);
  transition: background var(--tf), color var(--tf);
}
.mob-nav-close:hover { background: var(--mag); color: var(--white); }

/* CTA area */
.mob-nav-cta {
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  flex-shrink: 0;
  background: var(--mag-w);
}
.mob-nav-book {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px; width: 100%;
  background: var(--mag); color: var(--white) !important;
  font-family: var(--f-ui); font-weight: 700; font-size: 16px;
  border-radius: var(--r-btn); border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(223,59,163,.28);
  transition: background var(--tf);
  text-decoration: none;
}
.mob-nav-book:hover { background: var(--mag-d); }
.mob-nav-book i { font-size: 18px; }
.mob-nav-tel {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 16px; background: var(--white);
  border: 1.5px solid rgba(34,197,94,.3); border-radius: var(--r-btn);
  text-decoration: none;
  transition: border-color var(--tf);
}
.mob-nav-tel:hover { border-color: var(--green); }
.mob-nav-tel-num {
  font-size: 17px; font-weight: 700; color: var(--ink);
  letter-spacing: .02em;
}

/* Scrollable content */
.mob-nav-scroll {
  flex: 1; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 24px);
}

/* Nav sections */
.mob-section { border-bottom: 1px solid rgba(0,0,0,.06); }
.mob-section-label {
  display: block;
  padding: 12px 20px 6px;
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mag);
}
.mob-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px;
  font-size: 16px; font-weight: 500; color: var(--slate);
  border-bottom: 1px solid rgba(0,0,0,.04);
  text-decoration: none;
  transition: background var(--tf), color var(--tf);
}
.mob-link i {
  font-size: 18px; color: var(--mag);
  width: 22px; text-align: center; flex-shrink: 0;
}
.mob-link:hover, .mob-link:active {
  background: var(--mag-w); color: var(--mag);
}

/* Service accordions — style w bloku .mob-group-head wyżej (zachowuje SVG ikony, hover, padding).
   Tu tylko overrides specyficzne dla całej grupy w drawerze mobilnym. */
.mob-services { background: var(--white); }
.mob-group { border-bottom: 1px solid rgba(223,59,163,.08); }
.mob-group:last-of-type { border-bottom: none; }

/* Hide phone when drawer is open (mob-book-btn już nie istnieje) */
body.drawer-open .mob-phone {
  opacity: 0; pointer-events: none; transition: opacity .2s;
}

@media (max-width: 1024px) {
  .nav-list { display: none; }
  .nav-cta  { display: none; }
  .mob-cta  { display: flex; }
  .navbar   { padding: 0 clamp(12px, 3vw, 24px); gap: 10px; }
  .mega-in  { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .ft-top   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-grid{ grid-template-columns: 1fr; }
  .sidebar  { position: static; order: -1; }
  .pb-inner { grid-template-columns: 1fr; }
  .pb-visual { display: none; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --top-h: 0px; --nav-h: 72px; --px: 16px; }
  .topbar   { display: none; }
  .nav-logo > img { height: 42px !important; max-width: 170px; }
  .mob-book-btn { padding: 9px 14px; font-size: 13px; }
  .ft-top   { grid-template-columns: 1fr; gap: 28px; }
  .ft-bot   { flex-direction: column; align-items: flex-start; gap: 8px; }
  .testi-g  { grid-template-columns: 1fr; }
  .pb-btns  { flex-direction: column; }
  .pb-btns .pb-btn-p,
  .pb-btns .pb-btn-s { justify-content: center; }
  .booking-modal { height: min(96vh, 580px); }
  .booking-footer { display: none; }
  .page-grid { padding-top: 32px; }
  .mega { display: none; }
}


/* Wide screens */
@media (min-width: 1400px) {
  :root { --px: clamp(48px, 5vw, 80px); }
}

/* ════════════════════════════════════════
   ACCESSIBILITY — FOCUS STYLES
════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--mag);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove default outline only when :focus-visible is supported */
:focus:not(:focus-visible) { outline: none; }

/* ════════════════════════════════════════
   MISSING COMPONENT STYLES
════════════════════════════════════════ */

/* Blog card "Czytaj więcej" — .bmore used in homepage HTML */
.bmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mag);
  margin-top: 12px;
  transition: gap var(--tf) var(--eo), color var(--tf);
}
.bmore i {
  font-size: 14px;
  transition: transform var(--tf) var(--eo);
}
.bcard:hover .bmore i { transform: translateX(4px); }

/* Testimonial avatar circle */
.tav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blush), var(--mag));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
}
.tauth {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* NFZ badge children (truncated inline CSS fix) */
.nfz-badge span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2d8a3a; }
.nfz-badge strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }

/* ════════════════════════════════════════
   UX POLISH
════════════════════════════════════════ */

/* Ghost button (used in locations section) */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: transparent;
  color: var(--mag) !important;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid rgba(223,59,163,.3);
  border-radius: var(--r-btn);
  transition: background var(--tf), border-color var(--tf), transform var(--tf);
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover {
  background: var(--mag-w);
  border-color: var(--mag);
  transform: translateY(-1px);
}

/* Service card link (bottom of card) */
.svc-lnk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mag);
  transition: gap var(--tf) var(--eo);
}
.svc-lnk i { font-size: 14px; transition: transform var(--tf) var(--eo); }
.svc:hover .svc-lnk i { transform: translateX(4px); }

/* Improved hero visual on small tablets */
@media (max-width: 1024px) {
  .hero-vis { display: none; }
  .hero     { grid-template-columns: 1fr; }
  .hero-txt { padding: clamp(40px,6vw,72px) var(--px); }
}

/* CTA banner: ensure dark bg spans full width with contained inner */
.cta-ban-wrap {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-ban-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 8% 50%, rgba(223,59,163,.12) 0%, transparent 50%),
              radial-gradient(ellipse at 88% 20%, rgba(12,184,182,.07) 0%, transparent 45%);
  pointer-events: none;
}

/* Improved card hover shadow richness */
.svc:hover   { box-shadow: 0 16px 48px rgba(223,59,163,.12), 0 4px 16px rgba(0,0,0,.06); }
.doc:hover   { box-shadow: 0 12px 40px rgba(223,59,163,.12), 0 4px 12px rgba(0,0,0,.05); }
.bcard:hover { box-shadow: 0 12px 40px rgba(26,21,35,.09),  0 3px 10px rgba(0,0,0,.05); }

/* Stats counter numbers — boost visual weight */
.st-n { font-weight: 400; letter-spacing: -.02em; }
.hs-n { letter-spacing: -.02em; }

/* Improve topbar link tap targets on medium screens */
@media (max-width: 768px) {
  .tb-link { min-height: 44px; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE BOTTOM BAR — Umów wizytę + Telefon (jak DCG)
═════════════════════════════════════════════════════════════ */
.mob-bottom-bar {
  display: none; /* default ukryty — widoczny tylko na mobile */
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  /* przypięty do dołu — safe-area chroni przed gestem/notchem,
     mniejszy padding górny żeby pasek był niższy i schludny */
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 12px;
  background: rgba(255,255,255,.99);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid rgba(223,59,163,.12);
  box-shadow: 0 -8px 28px rgba(26,21,35,.10);
  align-items: center;
}
/* Subtelny gradient-separator nad paskiem — ładniejsze odcięcie od treści */
.mob-bottom-bar::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -16px;
  height: 16px;
  background: linear-gradient(to top, rgba(26,21,35,.05), transparent);
  pointer-events: none;
}

/* Telefon — sama ikona (bez tekstu), zielony pulsujący circle */
.mbb-tel {
  position: relative;
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green-g);
  color: var(--green) !important;
  font-size: 21px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(12,184,182,.22);
  transition: transform .15s, background .2s;
}
.mbb-tel:active { transform: scale(.94); }
.mbb-tel.closed {
  background: rgba(231,76,60,.15);
  color: #c0392b !important;
}
.mbb-tel-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: .5;
  animation: mbbTelPulse 1.8s ease-out infinite;
  pointer-events: none;
}
.mbb-tel.closed .mbb-tel-pulse {
  border-color: #e74c3c;
  animation-duration: 2.4s;
}
.mbb-tel i {
  animation: mbbTelIcon 1.8s ease-in-out infinite;
}
.mbb-tel.closed i {
  animation-duration: 2.4s;
}
@keyframes mbbTelPulse {
  0%   { transform: scale(.92); opacity: .5; }
  100% { transform: scale(1.5);  opacity: 0; }
}
@keyframes mbbTelIcon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .7; transform: scale(.94); }
}

/* Umów wizytę — wypełnia pozostałą szerokość, magenta z animacją */
.mbb-book {
  flex: 1; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px;
  padding: 0 18px;
  background: var(--mag);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--f-ui);
  font-size: 16px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(223,59,163,.35);
  position: relative;
  overflow: hidden;
  /* Subtelna animacja "breath" — delikatne pulsowanie cienia */
  animation: mbb-breath 3s ease-in-out infinite;
}
.mbb-book:active {
  transform: scale(.97);
  animation-play-state: paused;
}
.mbb-book i {
  font-size: 19px;
  transition: transform .35s var(--spring);
}
.mbb-book:hover i { transform: rotate(-8deg) scale(1.1); }

/* Shimmer overlay — subtelny pasek światła co 3.5s */
.mbb-book::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: mbb-shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mbb-breath {
  0%, 100% { box-shadow: 0 6px 18px rgba(223,59,163,.32); }
  50%      { box-shadow: 0 10px 28px rgba(223,59,163,.52); }
}
@keyframes mbb-shimmer {
  0%   { transform: translateX(-100%); }
  40%  { transform: translateX(110%); }
  100% { transform: translateX(110%); }
}

/* SHOW na mobile + nie sticky header */
@media (max-width: 768px) {
  .mob-bottom-bar { display: flex; }
  /* odsuń treść tak, by pasek (≈68px + safe-area) nigdy jej nie zasłaniał */
  body.has-mob-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

  /* Header na mobile: domyślnie w normalnym flow (przy górze strony).
     Po przewinięciu chowa się przy scrollu w dół, a wraca przyklejony
     u góry przy scrollu w górę (klasy nav-hide / nav-show z global.js). */
  .navbar {
    position: static;
    transition: transform .28s var(--eo, cubic-bezier(.22,.61,.36,1));
    will-change: transform;
  }
  .navbar.nav-show {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 94;
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(26,21,35,.10);
  }
  .navbar.nav-hide {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 94;
    transform: translateY(-100%);
  }

  /* /personel/ ma własny sticky pasek filtrów (.c-controls).
     Koordynacja ze scroll-up navbarem, żeby się nie nakładały
     (stan navbara dublowany na <body> przez global.js):
      - navbar widoczny (body.nav-is-shown) → filtry przyklejone POD navbarem
      - navbar schowany/neutralny            → filtry przyklejone do góry ekranu
     Płynne przejście, żeby pasek filtrów nie „skakał". */
  .post-type-archive-lekarz .c-controls {
    top: 0 !important;
    transition: top .28s var(--eo, cubic-bezier(.22,.61,.36,1));
  }
  body.nav-is-shown.post-type-archive-lekarz .c-controls {
    top: var(--nav-h, 72px) !important;
  }

  /* Cookiebot — pływający widget ustawień cookie nachodzi na mobilny
     pasek kontaktu. Na mobile chowamy pływający przycisk; zgodę cookie
     użytkownik zmienia przez link w stopce (wystarcza dla RODO).
     Dialog zgody (CybotCookiebotDialog) NIE jest chowany — tylko widget. */
  #CookiebotWidget,
  .CookiebotWidget,
  #CybotCookiebotDialogBodyButtonAccept ~ #CookiebotWidget {
    display: none !important;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .mbb-book { animation: none; }
  .mbb-book::before { animation: none; }
  .navbar { transition: none !important; }
  .post-type-archive-lekarz .c-controls { transition: none !important; }
}
