/* =========================================================
   AKODENT — 2026 refresh
   Jednoplikowy design system. Bez zależności zewnętrznych.
   ========================================================= */

:root {
  --primary: #1e7fbf;
  --primary-dark: #155a8a;
  --primary-soft: #dbeafe;
  --accent: #f4b316;
  --accent-dark: #d99812;
  --ink: #0f172a;
  --ink-soft: #334155;
  /* (zmienione 2026-05-11: kontrast WCAG AA — z #64748b 4.55:1 na #475569 5.74:1) */
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f1f5f9;
  --header-bg: rgba(255,255,255,.96);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 4px 12px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, .08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --maxw: 1200px;
  --container-pad: clamp(24px, 5vw, 80px);
  --section-y: clamp(21px, 3vw, 33px);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: #0e4570; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(1.35rem, 2.34vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--primary);
}
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; margin-top: 0; color: var(--primary); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; margin-top: 0; color: var(--primary); }
h1 { margin-top: 0; }
/* em w h1 — dziedziczy kolor, bez italica (zachowuje keyword wyraźny bez zmiany koloru, bo cały h1 jest niebieski) */
h1 em { font-style: normal; font-weight: inherit; color: inherit; }
/* Wyjątki: h1 na ciemnym tle (hero slider, page title z obrazem) zostają białe */
.hero-slider__title, .page-title h1, .hero h1 { color: #fff; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-y) 0;
}
main > .section:first-child,
body > .section:first-of-type {
  padding-top: clamp(36px, 5vw, 64px);
}

/* === Accessibility — focus states (keyboard navigation) === */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav-link:focus-visible,
.card:focus-visible,
.faq__q:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.topbar a:focus-visible,
.site-header a:focus-visible,
.mobile-cta__btn:focus-visible,
.desktop-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Skip-link — przeskocz nawigację dla keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: top .15s var(--ease);
}
.skip-link:focus {
  top: 8px;
}

/* prefers-reduced-motion — wyłącz animacje dla users z motion sensitivity */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.section-tight { padding: calc(var(--section-y) * .6) 0; }

.section-soft { background: var(--bg-soft); }

.section-dark {
  background: var(--ink);
  color: #cbd5e1;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

/* === Eyebrow / labels === */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 22px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--primary-dark);
  color: #fff;
}
.btn-primary:hover {
  background: #0e4570;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-accent {
  background: var(--accent);
  color: #1f1203;
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-icon { padding: 10px 12px; gap: 0; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* === Hero slider === */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0b1b2b;
}
.hero-slider__track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
@media (max-width: 600px) {
  .hero-slide--1 { background-position: calc(50% - 125px) center; }
  /* Ukryj ozdobne ikony na mobile (klucz, ząb itp. w service cards) — oszczędność wysokości strony */
  .card__icon, .service-card__icon, .why-item__icon, .feature__icon { display: none !important; }
}
@media (max-width: 800px) {
  /* Slider arrows ukryte na mobile/tablet — używamy swipe palcem */
  .hero-slider__arrow { display: none !important; }
  /* Wymuś żeby browser nie przejmował horizontal touch — JS swipe ma działać */
  .hero-slider { touch-action: pan-y; }
}
.hero-slide.is-active {
  opacity: 1;
  /* will-change + translateZ tylko na aktywnym = GPU layer tylko gdy potrzeba */
  will-change: opacity;
  transform: translateZ(0);
}

/* Mobile używa TYCH SAMYCH plików co desktop (te same zdjęcia, ta sama kolejność, ten sam flip).
   Override -800w usunięty 2026-05-12 — niespójność z desktop slidami. */
.hero-slider__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.2) 100%),
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.45) 100%);
  z-index: 1;
}
.hero-slider__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1340px;
  margin: 0 auto;
  padding: 100px max(48px, 8vw) 0;
  color: #fff;
  text-align: left;
  align-items: flex-start;
}
@media (max-width: 600px) {
  .hero-slider__content { padding-top: 80px; padding-left: 24px; padding-right: 24px; }
}
.hero-slider__title, .hero-slider__lead, .hero-slider__ctas, .hero-slider__points { max-width: 640px; }
.hero-slider .btn,
.hero-slider .hero-slider__link {
  border-radius: 8px;
}
.hero-slider .btn-lg { padding: 13px 24px; font-size: .9rem; }
.hero-slider__eyebrow {
  display: inline-block;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}
.hero-slider__eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 26px; height: 1px;
  background: rgba(255,255,255,.6);
}
.hero-slider__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding: 0 0 4px;
  transition: border-color .2s var(--ease);
}
.hero-slider__link:hover { border-bottom-color: #fff; color: #fff; }
.hero-slider__link svg { transition: transform .2s var(--ease); }
.hero-slider__link:hover svg { transform: translateX(3px); }
.hero-slider__points {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 500;
}
.hero-slider__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-slider__points svg { color: #93c5fd; flex-shrink: 0; }
.hero-slider__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.44rem, 3.7vw, 2.83rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 22ch;
  color: #fff;
}
.hero-slider__title em { font-style: normal; font-weight: 700; color: #fff; }
.hero-slider__lead { color: #fff; }
.hero-slider__lead {
  font-size: clamp(.86rem, 1.18vw, 1rem);
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  max-width: 60ch;
  margin: 0 0 26px;
}
.hero-slider__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-slider__badges { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slider__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 9px 16px;
  border-radius: 999px;
}
.hero-slider__badge svg { color: #93c5fd; }
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.hero-slider__arrow:hover { background: rgba(255,255,255,.25); transform: translateY(-50%) scale(1.08); }
.hero-slider__arrow--prev { left: 24px; }
.hero-slider__arrow--next { right: 24px; }
@media (max-width: 600px) {
  .hero-slider__arrow { width: 40px; height: 40px; }
  .hero-slider__arrow--prev { left: 12px; }
  .hero-slider__arrow--next { right: 12px; }
}
.hero-slider__dots {
  position: absolute;
  bottom: 36px;
  left: 32px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-slider__dot {
  width: 38px; height: 4px;
  background: rgba(255,255,255,.35);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s var(--ease), width .2s var(--ease);
  padding: 0;
}
.hero-slider__dot.is-active { background: #fff; width: 56px; }
@media (max-width: 600px) {
  .hero-slider { height: 100vh; min-height: 520px; }
  .hero-slider__badges { gap: 8px; }
  .hero-slider__badge { font-size: .78rem; padding: 7px 12px; }
}

/* === Top bar === */
.topbar {
  background: #0b1b2b;
  color: #cbd5e1;
  font-size: .88rem;
}
.topbar a { color: #e2e8f0; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__info {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: center;
}
.topbar__info > a,
.topbar__info > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  font-weight: 500;
}
.topbar__info > a:first-child,
.topbar__info > span:first-child { padding-left: 0; }
.topbar__info > a:last-child,
.topbar__info > span:last-child { border-right: 0; }
.topbar__info svg { color: #ff7a3a; flex-shrink: 0; }

.topbar__social { display: flex; gap: 12px; }
.topbar__social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #e2e8f0;
  transition: all .2s var(--ease);
}
.topbar__social a svg { width: 20px; height: 20px; }
.topbar__social a:hover { background: #ff7a3a; color: #fff; transform: translateY(-2px); }


/* === Topbar (cienki pasek z telefonami nad headerem) === */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 130;
  background: rgba(0,0,0,.6);
  font-size: .86rem;
}
.topbar__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 13px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  height: 42px;
  box-sizing: border-box;
}
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  transition: color .15s var(--ease);
}
.topbar__phone:hover { color: #fff; }
.topbar__phone svg { color: var(--primary); flex-shrink: 0; }
.topbar__map {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
  transition: color .15s var(--ease), transform .15s var(--ease);
  flex-shrink: 0;
}
.topbar__map:hover { color: #fff; transform: translateY(-1px); }
.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  white-space: nowrap;
  line-height: 1;
}
.topbar__status:empty { display: none; }
.topbar__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.topbar__status--open .topbar__status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.7);
  animation: akodent-pulse 2s ease-out infinite;
}
.topbar__status--closed .topbar__status-dot { background: #ef4444; }

/* === FAQ (details/summary) === */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--primary); }
.faq__q {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--primary); }
.faq__chev {
  transition: transform .2s var(--ease);
  color: var(--primary);
  flex-shrink: 0;
}
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a {
  padding: 0 22px 18px;
  color: var(--muted);
  line-height: 1.65;
}
.faq__a p { margin: 0; }

/* === Sticky desktop CTA — pływające 2 przyciski (Zadzwoń + Jak dojadę) w prawym dolnym rogu === */
.desktop-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  display: flex;
  gap: 8px;
}
.desktop-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.15);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.desktop-cta__btn:hover { transform: translateY(-2px); }
.desktop-cta__btn--primary { background: var(--primary); color: #fff; }
.desktop-cta__btn--primary:hover { background: var(--primary-dark); color: #fff; }
.desktop-cta__btn--ghost {
  background: rgba(8,12,20,.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.desktop-cta__btn--ghost:hover { background: rgba(8,12,20,.95); color: #fff; }
.desktop-cta__btn--whatsapp { background: #25D366; color: #fff; }
.desktop-cta__btn--whatsapp:hover { background: #1DA851; color: #fff; }
.desktop-cta__btn svg { flex-shrink: 0; }
@media (max-width: 600px) {
  /* Na mobile mamy już mobile-cta na dole, desktop-cta ukryty */
  .desktop-cta { display: none; }
}

/* === Opinie pacjentów (CTA do Google Maps) === */
.reviews-cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.reviews-cta__stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 18px;
}
.reviews-cta h2 { margin: 8px 0 16px; }
.reviews-cta__lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 560px;
}
.reviews-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .reviews-cta { padding: 36px 22px; }
  .reviews-cta__actions { flex-direction: column; }
  .reviews-cta__actions .btn { width: 100%; justify-content: center; }
}
@keyframes akodent-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70%  { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@media (max-width: 600px) {
  /* Mobile: topbar całkowicie ukryty, telefon + mapa lecą do sticky bottom CTA */
  .topbar { display: none; }
}

/* === Mobile sticky bottom CTA (Zadzwoń + Jak dojadę?) === */
.mobile-cta { display: none; }
@media (max-width: 600px) {
  .mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8,12,20,.94);
    border-top: 1px solid rgba(255,255,255,.08);
    z-index: 130;
    /* Wymuś własny GPU layer — bez tego iOS/Android URL bar show/hide
       powoduje skoki przy scrollowaniu (re-layout zamiast tylko paint) */
    transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
  }
  .mobile-cta__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    line-height: 1;
    transition: background .15s var(--ease), color .15s var(--ease);
  }
  .mobile-cta__btn--primary { background: var(--primary); color: #fff; }
  .mobile-cta__btn--primary:active { background: var(--primary-dark); }
  .mobile-cta__btn--whatsapp { background: #25D366; color: #fff; }
  .mobile-cta__btn--whatsapp:active { background: #1DA851; }
  .mobile-cta__btn--ghost {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
  }
  .mobile-cta__btn--ghost:active { background: rgba(255,255,255,.14); }
  .mobile-cta__btn svg { flex-shrink: 0; }
  /* Mobile: ikony bez tekstu (3 przyciski się mieszczą) */
  .mobile-cta__btn span { display: none; }
  /* zostaw miejsce na sticky CTA, żeby footer/treść nie była zasłonięta */
  body { padding-bottom: 72px; }
}

/* === Header — fixed transparent z gradientem czerń→0, scrolled solidny === */
body { padding-top: 0; }
.site-header {
  position: fixed; top: 42px; left: 0; right: 0;
  z-index: 120;
  padding: 14px 0;
  background: rgba(0,0,0,.6);
}
/* scrolled — wyłączone, header wszędzie tak samo (index i podstrony) */
@media (max-width: 600px) {
  /* Topbar ukryty na mobile → header lepi się do góry */
  .site-header { top: 0; }
}
.nav-wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.nav-cluster {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: start;
  min-width: 0;
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-link {
  color: rgba(255,255,255,.92);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: color .2s var(--ease);
  font-feature-settings: "kern" 1;
  text-rendering: geometricPrecision;
}
/* Prawa nawigacja ma więcej znaków — lekko zmniejszamy letter-spacing,
   żeby blok tekstu był wizualnie zbliżony szerokością do lewego */
.nav-right .nav-link { letter-spacing: .11em; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 1px;
  background: #fff;
  transition: width .25s var(--ease), left .25s var(--ease);
}
.nav-link:hover,
.nav-link[aria-current="page"] { color: #fff; }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { width: 100%; left: 0; }
.logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-center img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: height .3s var(--ease);
  display: block;
}
.logo-text {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 144;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  transition: font-size .3s var(--ease);
}
@media (max-width: 991px) { .logo-text { font-size: 1.4rem; } }
@media (max-width: 480px) { .logo-text { font-size: 1.25rem; } }

/* Dropdown (desktop) */
.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 19px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  background: rgba(0,0,0,.85);
  border: 1px solid rgba(255,255,255,.08);
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 28px 56px -16px rgba(0,0,0,.75);
  padding: 12px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), visibility .2s var(--ease), transform .2s var(--ease);
  z-index: 50;
}
.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 18px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 18px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 8px;
  position: relative;
  transition: color .15s var(--ease);
}
.dropdown a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 50%;
  width: 0; height: 1px;
  background: #fff;
  transition: width .25s var(--ease), left .25s var(--ease);
}
.dropdown a:hover { color: #fff; }
.dropdown a:hover::after { width: calc(100% - 36px); left: 18px; }
.has-dropdown .caret { margin-left: 8px; transition: transform .25s var(--ease); flex-shrink: 0; }
.has-dropdown:hover .caret { transform: rotate(180deg); }

/* Mega dropdown (4 grupy tematyczne) */
.has-dropdown .dropdown--mega {
  left: -45px;
  transform: translateY(6px);
  min-width: min(880px, calc(100vw - 32px));
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 14px;
}
.has-dropdown:hover .dropdown--mega,
.has-dropdown:focus-within .dropdown--mega {
  transform: translateY(0);
}
.dropdown__col { display: flex; flex-direction: column; }
.dropdown__title {
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 6px 14px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.dropdown--mega a {
  padding: 9px 14px;
  font-size: 1.02rem;
}
@media (max-width: 1180px) {
  .has-dropdown .dropdown--mega {
    grid-template-columns: repeat(2, 1fr);
    min-width: 520px;
  }
}

/* Mobile menu — accordion grupy (details/summary) */
.mobile-menu__group {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu__group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 16px 0;
  list-style: none;
  user-select: none;
  transition: color .15s var(--ease);
}
.mobile-menu__group > summary::-webkit-details-marker { display: none; }
.mobile-menu__group > summary::after {
  content: '';
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
  margin-right: 6px;
  opacity: .7;
}
.mobile-menu__group[open] > summary::after { transform: rotate(-135deg); opacity: 1; }
.mobile-menu__group[open] > summary { color: var(--primary); }
.mobile-menu__group .mobile-menu__sub:first-of-type { margin-top: 4px; }
.mobile-menu__group .mobile-menu__sub:last-of-type { margin-bottom: 8px; border-bottom: none; }

/* Nav end (phone + burger) */
.nav-end {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(30,127,191,.6);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.header-phone:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(30,127,191,.7); }
.header-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  margin-right: 4px;
}
.header-phone-alt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: color .15s var(--ease);
}
.header-phone-alt:hover { color: #fff; }
.header-phone-alt svg { color: rgba(255,255,255,.55); }
@media (max-width: 1180px) { .header-phones { display: none; } }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 10px;
  padding: 10px 11px;
  cursor: pointer;
  color: #fff;
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 9999;
  isolation: isolate;
  /* Wymuszony light color-scheme zapobiega Dark Reader / Android auto-dark inwersji */
  color-scheme: only light;
  forced-color-adjust: none;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff !important;
  margin: 0;
  border-radius: 2px;
  transition: all .2s var(--ease);
  /* Dwukolorowa obwódka — widoczna i na białym, i na ciemnym tle (Dark Reader, inwersja itp.) */
  box-shadow: 0 0 0 1px rgba(0,0,0,.55), 0 0 4px rgba(0,0,0,.35);
  forced-color-adjust: none;
}

@media (max-width: 1180px) {
  .nav-link { font-size: .85rem; letter-spacing: .12em; }
  .nav-left, .nav-right { gap: 22px; }
  .logo-center img { height: 50px; }
}

@media (max-width: 991px) {
  .nav-left, .nav-right { display: none; }
  .nav-wrap {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
    position: relative;
  }
  .logo-center {
    /* Layout-flow (nie absolute) — żeby logo nie nachodziło na hamburger;
       grid 1fr auto naturalnie ogranicza szerokość kolumny logo */
    grid-column: 1;
    justify-self: start;
    min-width: 0;
    max-width: 100%;
    z-index: 2;
  }
  .nav-cluster { grid-column: 2; justify-self: end; flex-shrink: 0; }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .header-phone span { display: none; }
  .header-phone { padding: 12px 14px; }
  .logo-center img { height: 43px; max-width: 100%; width: auto; }
}

@media (max-width: 480px) {
  .nav-wrap { padding: 0 14px; gap: 10px; }
  .logo-center img { height: 32px; max-width: 100%; width: auto; }
  .header-phone { padding: 10px 12px; }
  .site-header { padding: 12px 0; }
}

@media (max-width: 360px) {
  .nav-wrap { padding: 0 10px; gap: 8px; }
  .logo-center img { height: 28px; }
  .nav-toggle { width: 38px; height: 38px; padding: 8px 9px; }
}

/* === Hero === */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 6vw, 72px);
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #fefce8 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.15), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 { margin-bottom: 20px; font-weight: 700; letter-spacing: -.035em; }
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__badges {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(15,23,42,.08);
}
.hero__badge { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.hero__badge svg { flex-shrink: 0; color: var(--primary); }

.hero__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lg);
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transition: transform .6s var(--ease);
}
.hero__image:hover img { transform: scale(1.03); }
.hero__floating {
  position: absolute;
  bottom: 24px; left: -24px;
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; gap: 14px; align-items: center;
  max-width: 260px;
}
.hero__floating-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.hero__floating strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; }
.hero__floating span { font-size: .82rem; color: var(--muted); }

/* === Page title banner === */
.page-title {
  background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
  color: #fff;
  padding: clamp(50px, 8vw, 90px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}
.page-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(245,158,11,.18), transparent 50%);
  pointer-events: none;
}
.page-title h1 { color: #fff; margin-bottom: 8px; position: relative; }
.page-title p { color: rgba(255,255,255,.75); margin: 0; position: relative; }
.breadcrumb {
  display: flex; gap: 10px; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 20px 0 0;
  font-size: .88rem;
  position: relative;
}
.breadcrumb li { color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: '/'; margin-right: 10px; opacity: .5; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }

/* === Cards / services grid === */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0 0 16px; font-size: .95rem; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none;
  align-self: flex-start;
  transition: background .15s var(--ease);
}
.card__link::after {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .2s var(--ease);
}
.card:hover .card__link { background: var(--primary-dark); }
.card:hover .card__link::after { transform: translateX(4px); }

/* Service tiles with image */
.service-tile {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.service-tile__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tint);
}
.service-tile__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-tile:hover .service-tile__media img { transform: scale(1.05); }
.service-tile__body { padding: 24px 26px 28px; }

/* === Feature strip === */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .features { grid-template-columns: 1fr; } }
.feature {
  text-align: center;
  padding: 10px;
}
.feature__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature h3 { font-family: var(--font); font-weight: 600; font-size: 1.05rem; color: var(--primary); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* === Two-column split === */
.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.split__image img { width: 100%; height: 100%; object-fit: cover; }

/* === Content / prose === */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 0; margin-bottom: .5em; }
.prose h2:not(:first-child) { margin-top: 1em; }
.prose h3 { margin-top: 1em; margin-bottom: .4em; font-family: var(--font); font-weight: 600; font-size: 1.2rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: var(--ink-soft); }

/* === Lightbox === */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, .94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.lb.is-open { display: flex; opacity: 1; }
.lb__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transform: scale(.97);
  transition: transform .25s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.lb.is-open .lb__img { transform: scale(1); }
.lb__btn {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 0;
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
  z-index: 2;
}
.lb__btn:hover { background: rgba(255,255,255,.2); transform: scale(1.05); }
.lb__close { top: 24px; right: 24px; }
.lb__prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lb__next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb__prev:hover, .lb__next:hover { transform: translateY(-50%) scale(1.05); }
.lb__counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: #cbd5e1;
  font-size: .9rem;
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  letter-spacing: .02em;
}
@media (max-width: 640px) {
  .lb__btn { width: 44px; height: 44px; }
  .lb__close { top: 14px; right: 14px; }
  .lb__prev { left: 10px; }
  .lb__next { right: 10px; }
}

/* === Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  position: relative;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery a:hover img { transform: scale(1.08); }

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  background: var(--bg-tint);
  color: var(--ink-soft);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.contact-info h3 { color: var(--primary); }
.contact-info ul { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-info li {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info li:last-child { border-bottom: 0; }
.contact-info a { color: var(--primary); display: inline-flex; align-items: center; gap: 8px; }
.contact-info a:hover { color: var(--primary-dark); }
.contact-info a svg { flex-shrink: 0; }
.contact-info .ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }

/* Screen-reader only — utility class do hidden labels */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* === Map === */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; opacity: .9; }

/* === Footer === */
.site-footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 72px 0 0;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h5,
.site-footer .footer__h {
  color: #fff;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer li a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer li a svg { flex-shrink: 0; }
.footer-logo { height: 44px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 18px; opacity: .9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .85rem;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: #cbd5e1;
}
.socials a:hover { background: var(--primary); color: #fff; }

/* === Cookie banner === */
.cookie {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: none;
  z-index: 1000;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cookie.is-visible { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cookie p { margin: 0; font-size: .88rem; color: var(--ink-soft); flex: 1; min-width: 200px; }
.cookie p a { text-decoration: underline; }

/* === Back to top (kwadrat z ikoną strzałki, bez tekstu) === */
.back-top {
  position: fixed;
  bottom: 88px; right: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  background: rgba(8,12,20,.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .2s var(--ease), background .2s var(--ease);
  z-index: 99;
  cursor: pointer;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: rgba(8,12,20,.95); transform: translateY(-2px); }
.back-top svg { flex-shrink: 0; }
.back-top span { display: none; }
@media (max-width: 600px) {
  .back-top { bottom: 80px; right: 12px; width: 40px; height: 40px; }
}

/* === Misc utilities === */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-6 { margin-top: 48px; }
.mb-6 { margin-bottom: 48px; }
.hidden { display: none; }

/* === Reveal animations (IntersectionObserver) === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* === Section head modifiers === */
.section-head--left { text-align: left; max-width: 720px; margin: 0 0 26px; }
.section-head--left p { color: var(--muted); margin-top: 12px; }
.eyebrow--light { color: rgba(255,255,255,.7); }

/* === Featured 3 cards === */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .featured-grid { grid-template-columns: 1fr; gap: 24px; } }
.featured-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -28px rgba(15,23,42,.25);
  border-color: var(--primary-soft);
  color: var(--ink);
}
.featured-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tint);
}
.featured-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.featured-card:hover .featured-card__media img { transform: scale(1.06); }
.featured-card__body { padding: 32px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.featured-card__num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--primary);
}
.featured-card h3 { font-size: 1.4rem; font-weight: 700; margin: 0; line-height: 1.25; letter-spacing: -.01em; }
.featured-card__body p { color: var(--muted); margin: 0; flex-grow: 1; }
.featured-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: .92rem;
  margin-top: 4px;
  align-self: flex-start;
  transition: background .15s var(--ease);
}
.featured-card:hover .featured-card__link { background: var(--primary-dark); }
.featured-card__link svg { transition: transform .2s var(--ease); }
.featured-card:hover .featured-card__link svg { transform: translateX(4px); }

/* === Services grid (6 small cards) === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 12px 32px -16px rgba(30,127,191,.35);
  color: var(--ink);
}
.service-card__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0; letter-spacing: -.005em; }
.service-card p { color: var(--muted); margin: 0; font-size: .92rem; flex-grow: 1; }
.service-card__arrow {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 1.3rem;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.service-card:hover .service-card__arrow { opacity: 1; transform: translateX(0); }

/* === Why Akodent grid === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }

/* === Stats grid (Akodent w liczbach) === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.stat-card__num {
  font-family: var(--font-display, var(--font));
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.stat-card__num sup {
  font-size: .5em;
  font-weight: 700;
  vertical-align: super;
}
/* Blog index — 3-col grid postów z obrazkami, metadanymi */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px -8px rgba(0,0,0,.18); }
.post-card__media { display: block; aspect-ratio: 3/2; overflow: hidden; line-height: 0; }
.post-card__media picture, .post-card__media img { width: 100%; height: 100%; }
.post-card__media img { object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .75rem; color: var(--muted); align-items: center; }
.post-card__cat { color: var(--primary-dark); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-size: .68rem; }
.post-card__date { color: var(--muted); }
.post-card__title { font-size: 1.05rem; margin: 2px 0 0; line-height: 1.3; }
.post-card__title a { color: var(--primary); text-decoration: none; }
.post-card__title a:hover { color: var(--primary-dark); }
.post-card__lead { color: var(--ink-soft); flex-grow: 1; font-size: .88rem; line-height: 1.55; margin: 0; }
.post-card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-dark); font-weight: 600; text-decoration: none; font-size: .85rem; margin-top: 4px; transition: gap .2s var(--ease); }
.post-card__link:hover { gap: 10px; }
@media (max-width: 1100px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 700px) {
  .posts-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-card__body { padding: 16px 18px 18px; }
}

/* Blog article — zmniejszone zdjęcia, mocniejszy header (long-form content) */
.blog-article .doctor-split {
  grid-template-columns: minmax(180px, 28%) 1fr;
  gap: 48px;
  align-items: start;
}
.blog-article .doctor-split__media {
  max-width: 100%;
  margin: 0;
}
.blog-article .doctor-split__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
/* Mocniejszy header dla artykułów blogowych — żeby długie h2 nie prześwitywały */
.blog-article .site-header { background: rgba(0,0,0,.92); }
.blog-article .topbar { background: rgba(0,0,0,.92); }
@media (max-width: 800px) {
  .blog-article .doctor-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .blog-article .doctor-split__media {
    max-width: 60%;
    margin: 0 auto;
  }
}

.stat-card__stars {
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: .12em;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #f5b400 var(--stars-pct, 88%), #d1d5db var(--stars-pct, 88%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-card__label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.stat-card__label small {
  display: block;
  font-weight: 400;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 6px;
}
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { text-align: left; }
.why-item__num {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
}
.why-item__num svg { width: 32px; height: 32px; }
.why-item h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
.why-item p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.55; }

/* === Doctor split === */
.doctor-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 860px) { .doctor-split { grid-template-columns: 1fr; } }
.doctor-split__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-tint);
}
.doctor-split__media img { width: 100%; height: 100%; object-fit: cover; }
.doctor-split__body h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 6px 0 16px; letter-spacing: -.02em; }
.doctor-split__lead { font-size: 1.15rem; color: var(--ink); font-weight: 500; margin-bottom: 18px; }
.doctor-split__body p { color: var(--muted); margin-bottom: 14px; line-height: 1.65; }
.doctor-split__ctas { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 28px; }

/* === CTA strip === */
.cta-strip {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 64px 0;
  margin-top: 0;
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .cta-strip__inner { grid-template-columns: 1fr; gap: 28px; } }
.cta-strip h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 6px 0 8px; letter-spacing: -.015em; }
.cta-strip p { color: rgba(255,255,255,.75); margin: 0; font-size: 1rem; }
.cta-strip__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-strip__actions { justify-content: flex-start; } }

/* === Mobile menu drawer === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(0,0,0,.97);
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__inner {
  padding: 88px 28px 48px;
  max-width: 520px;
  margin: 0 auto;
}
.mobile-menu__close {
  position: absolute;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu__close:hover { background: rgba(255,255,255,.15); }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 16px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .15s var(--ease), padding .15s var(--ease);
}
.mobile-menu__nav a:hover { color: var(--primary); padding-left: 6px; }
.mobile-menu__num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: rgba(255,255,255,.4);
  min-width: 24px;
}
.mobile-menu__nav a.mobile-menu__sub {
  padding: 11px 0 11px 36px;
  font-size: .96rem;
  color: rgba(255,255,255,.65);
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mobile-menu__nav a.mobile-menu__sub:hover { color: var(--primary); padding-left: 42px; }
.mobile-menu__phones {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu__phones a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
}
.mobile-menu__phones a:hover { color: #fff; }
.mobile-menu__phones svg { color: var(--primary); flex-shrink: 0; }
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* === Reveal animations (IntersectionObserver) === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* === Print === */
@media print {
  .site-header, .site-footer, .cookie, .back-top { display: none; }
}
