:root {
  --bg: #070d18;
  --surface: #101a2a;
  --surface-soft: #18263a;
  --text: #f5f9ff;
  --muted: #b9c5d8;
  --line: #2a3a53;
  --accent: #4b8dff;
  --accent-strong: #8ab8ff;
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top right, #1a2d49 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 2.2rem));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #111318;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: grid;
  place-content: center;
  gap: 0.8rem;
  z-index: 999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader img {
  width: 56px;
  margin-inline: auto;
  animation: turboSpin 1.3s linear infinite;
  filter: drop-shadow(0 0 10px rgba(75, 141, 255, 0.3));
}

.loader-brand {
  width: min(220px, 62vw) !important;
  animation: none !important;
  filter: drop-shadow(0 0 18px rgba(75, 141, 255, 0.18)) !important;
  opacity: 0.95;
}

#page-loader p {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes turboSpin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(7, 13, 24, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  gap: 1.5rem;
  color: #dce8fd;
}

.desktop-nav a {
  font-size: 0.95rem;
}

.desktop-nav a:hover {
  color: #ffffff;
}

.menu-toggle {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-content: center;
  gap: 0.32rem;
  padding: 0;
}

.menu-toggle span {
  width: 1.05rem;
  height: 2px;
  background: #f5f9ff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 24, 0.97);
  z-index: 35;
  display: grid;
  place-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-nav {
  display: grid;
  gap: 1.1rem;
  text-align: center;
}

.mobile-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.mobile-brand img {
  width: min(230px, 58vw);
  object-fit: contain;
}

.mobile-menu-nav a {
  font-size: 1.55rem;
  font-weight: 600;
}

.menu-cta {
  margin-top: 0.9rem;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0f1218;
  padding: 0.8rem 1rem;
  border-radius: 999px;
}

/* ── Hero Slider ── */
.hero-slider {
  position: relative;
  height: calc(100vh - 4.5rem);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 13, 24, 0.48) 0%,
    rgba(7, 13, 24, 0.58) 45%,
    rgba(7, 13, 24, 0.68) 100%
  );
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  text-align: center;
  animation: slideFadeUp 0.7s ease both;
}

.slide:not(.active) .slide-content {
  animation: none;
}

@keyframes slideFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-content h1 {
  font-size: clamp(2rem, 7.2vw, 4.6rem);
  max-width: 16ch;
  margin-inline: auto;
}

.hero-lead {
  max-width: 58ch;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
  justify-content: center;
}

.slide--ultracoat {
  background-color: #000;
  background-position: center;
  background-size: cover;
}

.slide-overlay--ultracoat {
  background: linear-gradient(
    180deg,
    rgba(7, 13, 24, 0.72) 0%,
    rgba(7, 13, 24, 0.82) 50%,
    rgba(7, 13, 24, 0.9) 100%
  );
}

.slide-content--ultracoat {
  max-height: calc(100vh - 5.5rem);
  overflow-y: auto;
  padding: 2rem 1rem 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 184, 255, 0.4) transparent;
}

.slide-content--ultracoat h1 {
  font-size: clamp(1.35rem, 4.5vw, 2.35rem);
  max-width: 28ch;
}

.slide-subheading {
  margin: 1rem auto 0.45rem;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--accent-strong);
  font-weight: 600;
}

.hero-lead--compact {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem auto 0.75rem;
  max-width: 62ch;
  text-align: left;
  display: grid;
  gap: 0.55rem;
}

.hero-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

.hero-list strong {
  color: #fff;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2.2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
  line-height: 1;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.slider-dot.active {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

@media (max-width: 599px) {
  .slider-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.6rem; }
  .slider-prev { left: 0.5rem; }
  .slider-next { right: 0.5rem; }
}

.split {
  display: grid;
  gap: 2rem;
}

.turbo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.turbo-list li {
  position: relative;
  padding-left: 2rem;
  color: #dce8fb;
}

.turbo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  background: url("../svg/turbo.svg") center / contain no-repeat;
  opacity: 0.9;
}

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(138, 184, 255, 0.45);
  box-shadow: 0 16px 34px rgba(7, 20, 38, 0.36);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
  min-height: 160px;
}

.card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 10, 20, 0.55) 0%, transparent 60%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.card:hover .card-img-wrap::after {
  opacity: 0.7;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  flex: 1;
}

.therapy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0.75rem;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 184, 255, 0.45);
  background: rgba(75, 141, 255, 0.12);
  color: #ecf4ff;
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
}

.therapy-link:hover {
  transform: translateY(-2px);
  background: rgba(75, 141, 255, 0.24);
  border-color: rgba(138, 184, 255, 0.72);
}

.therapy-page {
  min-height: 100vh;
}

.therapy-main {
  padding: 5.4rem 0 4rem;
}

.therapy-hero {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.25rem;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.therapy-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
}

.therapy-hero > *:not(.therapy-hero-bg) {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: #ecf3ff;
  font-weight: 600;
}

.back-link:hover {
  border-color: rgba(138, 184, 255, 0.65);
}

.therapy-lead {
  max-width: 66ch;
  margin-bottom: 0;
}

.therapy-content {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.therapy-panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.therapy-panel h2 {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
}

.therapy-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #dce8fb;
}

.therapy-panel li + li {
  margin-top: 0.42rem;
}

.therapy-cta-box {
  margin-top: 1rem;
  border: 1px solid rgba(138, 184, 255, 0.35);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(170deg, rgba(75, 141, 255, 0.15), rgba(255, 255, 255, 0.01));
}

.therapy-cta-actions {
  display: grid;
  gap: 0.7rem;
}

.therapy-cta-actions .btn {
  width: 100%;
}

.pricing {
  position: relative;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(75, 141, 255, 0.11), transparent 34%),
    radial-gradient(circle at 90% 85%, rgba(138, 184, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.pricing .container {
  position: relative;
  z-index: 1;
}

.pricing-lead {
  max-width: 68ch;
  margin-bottom: 1.6rem;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.pricing-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.15rem;
  box-shadow: 0 10px 26px rgba(2, 6, 13, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(138, 184, 255, 0.45);
  box-shadow: 0 16px 34px rgba(7, 20, 38, 0.36);
}

.pricing-card-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 0.8rem;
}

.pricing-card h3 {
  margin: 0;
}

.price-icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 184, 255, 0.35);
  display: inline-grid;
  place-items: center;
  color: #dce8ff;
  font-size: 0.82rem;
  background: linear-gradient(145deg, rgba(75, 141, 255, 0.24), rgba(16, 26, 42, 0.18));
  flex-shrink: 0;
}

.price-icon--lakier::before {
  content: "✦";
}

.price-icon--powloka::before {
  content: "🛡";
}

.price-icon--dodatkowe::before {
  content: "◈";
}

.price-icon--reflektory::before {
  content: "◉";
}

.price-icon--wnetrze::before {
  content: "▣";
}

.price-note {
  margin: 0 0 0.8rem;
  color: #d7e6ff;
  font-size: 0.9rem;
}

.price-group-title {
  margin: 1.1rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.price-group-title:first-of-type {
  margin-top: 0.5rem;
}

.price-item {
  border-top: 1px solid rgba(138, 184, 255, 0.16);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}

.price-item h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.price-item p {
  margin-bottom: 0.42rem;
}

.price-item.compact .price-value {
  margin-bottom: 0.1rem;
}

.price-value {
  font-size: clamp(1.15rem, 3.9vw, 1.72rem);
  font-weight: 800;
  line-height: 1.15;
  color: #f4f8ff;
  letter-spacing: 0.01em;
}

.is-featured {
  background: linear-gradient(165deg, rgba(75, 141, 255, 0.22), rgba(75, 141, 255, 0.08));
  border: 1px solid rgba(138, 184, 255, 0.45);
  border-radius: 0.9rem;
  padding: 0.78rem;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(138, 184, 255, 0.2);
  border: 1px solid rgba(138, 184, 255, 0.52);
  color: #eff5ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  margin-bottom: 0.5rem;
}

.pricing-cta {
  margin-top: 1.35rem;
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(138, 184, 255, 0.3);
  background: linear-gradient(170deg, rgba(75, 141, 255, 0.12), rgba(255, 255, 255, 0.01));
}

.pricing-cta p {
  color: #e3eeff;
  margin-bottom: 0.9rem;
}

.pricing-cta-actions {
  display: grid;
  gap: 0.7rem;
}

.pricing-cta-actions .btn {
  width: 100%;
  min-height: 2.9rem;
}

.gallery {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}

.gallery img {
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery img:hover {
  transform: translateY(-4px);
  filter: brightness(1.06);
}

/* ── Realizacje feed (Facebook-style) ── */
.realizacje-feed {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}

.realizacje-empty {
  text-align: center;
  color: var(--muted);
  margin-top: 1rem;
}

.post-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(2, 8, 18, 0.28);
}

.post-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem 0.35rem;
}

.post-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: #000;
  overflow: hidden;
  flex-shrink: 0;
}

.post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .18rem;
}

.post-author {
  margin: 0;
  font-weight: 600;
}

.post-date {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.post-title {
  margin: 0;
  padding: 0 1rem 0.5rem;
  font-size: 1.05rem;
}

.post-images img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.post-images--multi {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.post-images--multi img {
  max-height: 260px;
}

.post-body {
  padding: 0.85rem 1rem 1.1rem;
}

.post-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

/* ══════════════════════════════════════
   POST PAGE — full-screen subpage
══════════════════════════════════════ */

.post-view[hidden] { display: none !important; }

.post-view {
  position: fixed;
  inset: 0;
  z-index: 8500;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: pv-fade-in .22s ease;
}

@keyframes pv-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── sticky top bar ── */
.post-view-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.2rem;
  background: rgba(7,13,24,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.post-view-meta {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.post-view-avatar {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: #000;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
}
.post-view-avatar img { width: 100%; height: 100%; object-fit: contain; padding: .13rem; }
.post-view-author { font-weight: 700; font-size: .9rem; margin: 0; }
.post-view-date   { font-size: .74rem; color: var(--muted); margin: 0; }

.post-view-close {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  color: var(--text);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}
.post-view-close:hover { background: rgba(255,255,255,.17); transform: scale(1.08); }

/* ── centred content wrapper ── */
.post-view-body-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

/* ── gallery — fixed height, contains any orientation ── */
.post-view-gallery {
  position: relative;
  background: #000;
  height: 55vw;        /* aspect-ratio feel on mobile */
  max-height: 62vh;
  min-height: 200px;
  overflow: hidden;
}
.post-view-gallery[hidden] { display: none !important; }

.pv-gallery-track {
  display: flex;
  height: 100%;
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}

/* each slide: fills container, image contained */
.pv-gallery-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.pv-gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
}

.pv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.52);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: 1.6rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, transform .2s;
  z-index: 2;
  line-height: 1;
}
.pv-arrow:hover { background: rgba(0,0,0,.85); }
.pv-arrow--prev { left: .75rem; }
.pv-arrow--next { right: .75rem; }
.pv-arrow[hidden] { display: none !important; }

/* dots bar */
.pv-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  padding: .55rem 0;
  background: #000;
}
.pv-dots[hidden] { display: none !important; }

.pv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .18s, transform .18s;
}
.pv-dot.is-active { background: #fff; transform: scale(1.35); }

/* ── text content ── */
.post-view-content {
  padding: 1.5rem 1.4rem .8rem;
  border-bottom: 1px solid var(--line);
}

.post-view-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 .75rem;
  line-height: 1.25;
}
.post-view-title[hidden] { display: none !important; }

.post-view-desc {
  color: rgba(255,255,255,.78);
  font-size: .93rem;
  line-height: 1.7;
  margin: 0;
  white-space: pre-line;
}

/* ── inne realizacje ── */
.post-view-more {
  padding: 1.5rem 1.4rem 2rem;
}

.post-view-more-heading {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0 0 1rem;
}

.post-view-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}

@media (min-width: 480px) {
  .post-view-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) {
  .post-view-thumbs { grid-template-columns: repeat(5, 1fr); }
}

.post-view-thumb {
  aspect-ratio: 1;
  border-radius: .7rem;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--surface-soft);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.post-view-thumb:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.post-view-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.post-view-thumb:hover img { transform: scale(1.06); }

.post-view-no-thumb {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: .7rem;
  color: var(--muted);
}

.post-view-thumb-title {
  font-size: .68rem;
  color: var(--muted);
  text-align: center;
  padding: .25rem .3rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── "Czytaj dalej" link ── */
.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin: 0 1rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color .15s, gap .15s;
}
.post-read-more:hover { color: var(--accent-strong); gap: .5rem; }
.post-read-more::after { content: '→'; }


/* badge "+X zdjęć" na karcie */
.post-more-imgs {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
  pointer-events: none;
}


.team-section {
  position: relative;
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(75, 141, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(138, 184, 255, 0.06), transparent 38%);
  pointer-events: none;
}

.team-section .container {
  position: relative;
  z-index: 1;
}

.team-lead {
  max-width: 62ch;
  margin-bottom: 1.75rem;
}

.team-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.team-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(2, 8, 18, 0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(138, 184, 255, 0.45);
  box-shadow: 0 20px 44px rgba(7, 20, 42, 0.42);
}

.team-photo-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo-wrap img {
  transform: scale(1.04);
}

.team-card .team-name,
.team-card .team-role,
.team-card .team-bio {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.team-name {
  margin: 1rem 0 0.25rem;
  font-size: 1.25rem;
}

.team-role {
  margin: 0 0 0.65rem;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-bio {
  margin: 0;
  padding-bottom: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ── Certyfikaty ── */
.cert-showcase {
  margin: 1.5rem auto 0;
  max-width: 720px;
}

.cert-showcase img {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  display: block;
}

.why-section {
  position: relative;
}

.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(75, 141, 255, 0.1), transparent 36%),
    radial-gradient(circle at 88% 80%, rgba(138, 184, 255, 0.07), transparent 32%);
  pointer-events: none;
}

.why-section .container {
  position: relative;
  z-index: 1;
}

.why-lead {
  max-width: 68ch;
  margin-bottom: 1.75rem;
  color: var(--muted);
  line-height: 1.65;
}

.stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.stat-card {
  position: relative;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 1.25rem 1.2rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 10px 26px rgba(2, 6, 13, 0.22);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.why-section.is-visible .stat-card {
  opacity: 1;
  transform: translateY(0);
}

.why-section.is-visible .stat-card:nth-child(1) {
  transition-delay: 0.06s;
}

.why-section.is-visible .stat-card:nth-child(2) {
  transition-delay: 0.14s;
}

.why-section.is-visible .stat-card:nth-child(3) {
  transition-delay: 0.22s;
}

.why-section.is-visible .stat-card:nth-child(4) {
  transition-delay: 0.3s;
}

.stat-card:hover {
  border-color: rgba(138, 184, 255, 0.45);
  box-shadow: 0 16px 34px rgba(7, 20, 38, 0.36);
}

.why-section.is-visible .stat-card:hover {
  transform: scale(1.02);
}

.stat-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.stat-value {
  display: block;
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--text);
}

.stat-label {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.stat-note {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  opacity: 0.7;
  line-height: 1.4;
}


.contact-grid {
  display: grid;
  gap: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-meta {
  margin: 0 0 1rem;
}

.contact-meta p {
  margin: 0 0 0.35rem;
  color: #e8f0ff;
}

.contact-meta a {
  color: var(--accent-strong);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: #e8f0ff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.menu-toggle:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.map-wrap {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
}

.footer-wrap p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: var(--accent-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .desktop-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .split {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .therapy-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapy-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 460px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 460px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .realizacje-feed {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .contact-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }

}

@media (min-width: 1080px) {
  .section {
    padding: 6.2rem 0;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .realizacje-feed {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Realizacje: "Zobacz więcej" ── */
.realizacje-more-wrap {
  text-align: center;
  margin-top: 2rem;
}

.realizacje-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: .7rem 1.8rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.realizacje-more-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(75,141,255,.07);
}
.realizacje-more-btn[hidden] { display: none; }
