/* ==========================================================================
   KREATYWNE DZIECI & KOLOROWE KROKI — Design System & Stylesheet
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-canvas: #fffdfb;
  --bg-surface: #ffffff;
  --bg-soft: #faf6f8;
  --ink-primary: #232946;
  --ink-body: #4a5168;
  --ink-muted: #6c748c;
  --border-subtle: rgba(35, 41, 70, 0.08);
  --border-strong: rgba(35, 41, 70, 0.14);

  /* Brand Accents */
  --accent: #e84c7f;
  --accent-hover: #d4376b;
  --accent-soft: #fde8ef;
  --accent-ring: rgba(232, 76, 127, 0.25);

  /* Pastel Tints */
  --tint-rose: #fff0f5;
  --tint-rose-ink: #d93b6f;
  --tint-mint: #edfbf3;
  --tint-mint-ink: #1f8a58;
  --tint-lavender: #f4eeff;
  --tint-lavender-ink: #6d4ce6;
  --tint-sky: #edf7ff;
  --tint-sky-ink: #2279c9;
  --tint-amber: #fff7e6;
  --tint-amber-ink: #c97710;
  --tint-teal: #eaf9f8;
  --tint-teal-ink: #16857f;

  /* Typography */
  --font-display: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-h1: clamp(2.05rem, 1.45rem + 2.3vw, 3.25rem);
  --fs-h2: clamp(1.65rem, 1.3rem + 1.4vw, 2.45rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);

  /* Elevation */
  --shadow-xs: 0 2px 8px rgba(35, 41, 70, 0.04);
  --shadow-sm: 0 6px 22px rgba(35, 41, 70, 0.06);
  --shadow-md: 0 14px 36px rgba(35, 41, 70, 0.08);
  --shadow-lg: 0 24px 56px rgba(35, 41, 70, 0.11);
  --shadow-accent: 0 10px 24px rgba(232, 76, 127, 0.28);

  /* Geometry & Motion */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-pill: 9999px;
  --container-max: 1220px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-body);
  background-color: var(--bg-canvas);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink-primary);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Skip link for a11y */
.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--ink-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* Watercolor Ambient Backdrop */
.watercolor-bg {
  position: relative;
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(640px 440px at 6% 8%, rgba(253, 218, 232, 0.55) 0%, transparent 72%),
    radial-gradient(580px 420px at 94% 12%, rgba(214, 238, 255, 0.55) 0%, transparent 72%),
    radial-gradient(520px 420px at 85% 65%, rgba(218, 248, 232, 0.45) 0%, transparent 70%),
    radial-gradient(540px 380px at 14% 78%, rgba(255, 242, 208, 0.5) 0%, transparent 72%);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s var(--ease-out), background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-block: 4px;
}

.brand-logo__svg {
  width: 64px;
  height: 46px;
  flex-shrink: 0;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-logo__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.brand-logo__sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink-primary);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  white-space: nowrap;
}

.nav-link:hover {
  background-color: rgba(232, 76, 127, 0.08);
  color: var(--accent);
}

.nav-link.is-active {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: var(--tint-sky);
  color: var(--tint-sky-ink);
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  white-space: nowrap;
}

.nav-phone-pill:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink-primary);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 78px 0 0 0;
  background: rgba(255, 253, 251, 0.98);
  backdrop-filter: blur(18px);
  z-index: 99;
  padding: 24px 20px 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.mobile-drawer.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-list .nav-link {
  width: 100%;
  padding: 14px 18px;
  font-size: 1.12rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.mobile-nav-list .nav-link.is-active {
  background: var(--accent-soft);
  border-color: rgba(232, 76, 127, 0.25);
}

.mobile-drawer__footer {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--tint-rose);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background-color 0.22s ease, border-color 0.22s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #ef5d8e 0%, #e14175 100%);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(232, 76, 127, 0.34);
  background: linear-gradient(135deg, #e84c7f 0%, #cc3264 100%);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-soft {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn-soft:hover {
  background: #fbd6e3;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.pill-badge--mint {
  background: var(--tint-mint);
  color: var(--tint-mint-ink);
}

.pill-badge--sky {
  background: var(--tint-sky);
  color: var(--tint-sky-ink);
}

.pill-badge--lavender {
  background: var(--tint-lavender);
  color: var(--tint-lavender-ink);
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(32px, 5vw, 68px) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-top: 16px;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink-primary);
}

.hero-title__heart {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  color: var(--accent);
}

.hero-lead {
  margin-top: 18px;
  font-size: var(--fs-lead);
  color: var(--ink-body);
  max-width: 52ch;
}

.hero-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-media {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--tint-rose);
  border: 6px solid rgba(255, 255, 255, 0.92);
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 70% center;
}

.hero-float-card {
  position: absolute;
  bottom: -16px;
  left: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tint-mint);
  color: var(--tint-mint-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-float-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--ink-primary);
}

.hero-float-sub {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Doodle accents */
.doodle-sun {
  position: absolute;
  top: -14px;
  right: 12%;
  width: 58px;
  height: 58px;
  opacity: 0.85;
  pointer-events: none;
}

/* ==========================================================================
   5 PILLARS STRIP (UNDER HERO)
   ========================================================================== */
.pillars-section {
  padding: 12px 0 clamp(40px, 5vw, 68px);
}

.pillars-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 30px);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 12px;
  border-radius: var(--radius-md);
  transition: transform 0.22s var(--ease-out), background-color 0.22s ease;
}

.pillar-item:hover {
  transform: translateY(-3px);
  background: var(--bg-soft);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.pillar-icon--rose { background: var(--tint-rose); color: var(--tint-rose-ink); }
.pillar-icon--sky { background: var(--tint-sky); color: var(--tint-sky-ink); }
.pillar-icon--mint { background: var(--tint-mint); color: var(--tint-mint-ink); }
.pillar-icon--amber { background: var(--tint-amber); color: var(--tint-amber-ink); }
.pillar-icon--lavender { background: var(--tint-lavender); color: var(--tint-lavender-ink); }

.pillar-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ink-primary);
  line-height: 1.3;
}

/* ==========================================================================
   SECTION HEADERS & SHARED BANDS
   ========================================================================== */
.section {
  padding: clamp(44px, 6vw, 84px) 0;
}

.section--surface {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 46px);
  position: relative;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-subtitle {
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--ink-body);
}

.section-cta {
  margin-top: 34px;
  text-align: center;
}

/* ==========================================================================
   NEWS / AKTUALNOSCI CARDS
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-pill {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-body);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-card.is-hidden {
  display: none;
}

.news-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.news-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.news-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--tint-amber);
  color: var(--tint-amber-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
}

.news-date-pill--sky {
  background: var(--tint-sky);
  color: var(--tint-sky-ink);
}

.news-date-pill--rose {
  background: var(--tint-rose);
  color: var(--tint-rose-ink);
}

.news-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.news-card__excerpt {
  font-size: 0.94rem;
  color: var(--ink-body);
  flex: 1;
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}

.news-card__more {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
}

.arrow-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}

.news-card:hover .arrow-circle-btn,
.arrow-circle-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(2px);
}

/* ==========================================================================
   FACILITY OVERVIEW CARDS (HOME)
   ========================================================================== */
.places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.place-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out);
}

.place-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.place-card__img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--tint-lavender);
}

.place-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-card__emblem {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fdf3f7 0%, #eff8ff 52%, #effbf4 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.place-card__addr {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.place-card__desc {
  font-size: 0.95rem;
  flex: 1;
}

/* ==========================================================================
   FACILITY DETAIL PAGES (PLACOWKA 1 & PLACOWKA 2)
   ========================================================================== */
.page-hero-split {
  padding: clamp(28px, 4vw, 52px) 0;
}

.facility-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-md);
}

.facility-hero__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.facility-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-hero__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.facility-hero__title {
  font-size: var(--fs-h1);
  font-weight: 800;
}

.facility-hero__sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-primary);
}

.facility-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding-top: 4px;
}

.facility-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Features + Calendar Row */
.facility-mid-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.mini-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.mini-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.mini-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.mini-feature-card__title {
  font-size: 1.06rem;
  font-weight: 800;
}

.mini-feature-card__desc {
  font-size: 0.9rem;
  color: var(--ink-body);
}

/* Calendar Widget */
.calendar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.calendar-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.calendar-card__badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.calendar-card__title {
  font-size: 1.2rem;
  font-weight: 800;
}

.calendar-card__sub {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.calendar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calendar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid rgba(35, 41, 70, 0.04);
}

.calendar-date {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-surface);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.calendar-event-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-primary);
}

/* ==========================================================================
   STAFF / KADRA GRID
   ========================================================================== */
.staff-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.staff-header__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-h2);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.staff-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  cursor: pointer;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.staff-card__photo {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 3px solid var(--accent-soft);
}

.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.staff-card__name {
  font-size: 1.06rem;
  font-weight: 800;
}

.staff-card__role {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--tint-sky);
  color: var(--tint-sky-ink);
}

.staff-card__desc {
  font-size: 0.88rem;
  color: var(--ink-body);
  line-height: 1.5;
  flex: 1;
}

.staff-card__hint {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================================================
   KOLOROWE KROKI — THERAPIES GRID
   ========================================================================== */
.kolorowe-hero {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding-bottom: 24px;
}

.kolorowe-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.therapies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.therapy-card {
  border-radius: var(--radius-md);
  padding: 26px 24px;
  border: 1px solid rgba(35, 41, 70, 0.06);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}

.therapy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.therapy-card--rose { background: var(--tint-rose); }
.therapy-card--mint { background: var(--tint-mint); }
.therapy-card--lavender { background: var(--tint-lavender); }
.therapy-card--sky { background: var(--tint-sky); }
.therapy-card--amber { background: var(--tint-amber); }
.therapy-card--teal { background: var(--tint-teal); }

.therapy-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
}

.therapy-card__title {
  font-size: 1.15rem;
  font-weight: 800;
}

.therapy-card__desc {
  font-size: 0.93rem;
  color: var(--ink-body);
  flex: 1;
}

.therapy-card__cta {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   KONTAKT PAGE & FORM
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.location-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
  border-color: rgba(232, 76, 127, 0.35);
  box-shadow: var(--shadow-md);
}

.location-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.location-card__icon--sky {
  background: var(--tint-sky);
  color: var(--tint-sky-ink);
}

.location-card__icon--mint {
  background: var(--tint-mint);
  color: var(--tint-mint-ink);
}

.location-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.location-card__title {
  font-size: 1.1rem;
  font-weight: 800;
}

.location-card__sub {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.location-card__address {
  font-size: 0.95rem;
  color: var(--ink-body);
}

.location-card__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 6px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--ink-primary);
}

.phone-link:hover {
  color: var(--accent);
}

/* Contact Form */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink-primary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-canvas);
  font-size: 0.96rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-ring);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-body);
}

.form-consent input {
  margin-top: 4px;
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: var(--tint-mint);
  color: var(--tint-mint-ink);
  border: 1px solid rgba(31, 138, 88, 0.25);
}

.form-status.is-error {
  background: var(--tint-rose);
  color: var(--tint-rose-ink);
  border: 1px solid rgba(217, 59, 111, 0.25);
}

/* Map Card */
.map-section {
  margin-top: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.map-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.map-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-soft);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* ==========================================================================
   MOTTO BANNER & FAQ ACCORDION
   ========================================================================== */
.motto-banner {
  background: linear-gradient(135deg, #fdeef4 0%, #eef7ff 52%, #effbf4 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.motto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem);
  font-weight: 800;
  color: var(--ink-primary);
  max-width: 780px;
  margin-inline: auto;
  margin-top: 12px;
}

.faq-list {
  max-width: 840px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.faq-trigger {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  color: var(--ink-primary);
  cursor: pointer;
}

.faq-chevron {
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
  color: var(--accent);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease-out);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel__inner {
  overflow: hidden;
}

.faq-panel__content {
  padding: 0 22px 18px;
  font-size: 0.96rem;
  color: var(--ink-body);
}

/* ==========================================================================
   LEGAL / DOCUMENT PAGES (STATUT, REGULAMIN, POLITYKA)
   ========================================================================== */
.doc-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
  max-width: 920px;
  margin-inline: auto;
}

.doc-shell h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.35rem;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.doc-shell h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.08rem;
  color: var(--accent);
}

.doc-shell p,
.doc-shell li {
  margin-bottom: 8px;
  color: var(--ink-body);
}

.doc-shell ul,
.doc-shell ol {
  padding-left: 22px;
  margin-bottom: 12px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #232946;
  color: rgba(255, 255, 255, 0.84);
  padding: clamp(40px, 5vw, 64px) 0 28px;
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: #ff8eb3;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   ACCESSIBLE MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(35, 41, 70, 0.56);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.24s var(--ease-out);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-soft);
  color: var(--ink-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.modal-body-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 14px 0 18px;
  max-height: 300px;
  object-fit: cover;
}

.modal-body-text p {
  margin-bottom: 12px;
}

.modal-body-text ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (320px -> 4K)
   ========================================================================== */
@media (max-width: 1080px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .nav-links,
  .nav-phone-pill {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .facility-hero,
  .facility-mid-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .news-grid,
  .places-grid,
  .therapies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid,
  .places-grid,
  .therapies-grid,
  .staff-grid,
  .mini-features-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-float-card {
    position: static;
    margin-top: 12px;
  }
  .hero-photo-frame {
    border-width: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
