/* ============================================================
   Synaptio Design System — merged from all page templates
   All custom classes: display, editorial, paper-card, btn,
   ulink, section-label, blob, portrait, marquee, etc.
   Tailwind CDN handles utility classes; this file handles
   the design-system classes that Tailwind cannot generate.
   ============================================================ */

:root { color-scheme: light; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, #DCD3B3 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, #D6E2D0 0%, transparent 55%),
    #F4EFE0;
  color: #0F2419;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  overflow-x: clip;
}

section, header, footer { overflow-x: clip; }

/* Paper grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.08  0 0 0 0 0.06  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ── Typography ── */
.display {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  letter-spacing: -0.02em;
}
.display-tight {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.035em;
}
.editorial {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  letter-spacing: -0.01em;
}
.mono-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ── Lines ── */
.hairline { border-color: rgba(15,36,25,.18); }
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25,71,48,.45), transparent);
}

/* ── Cards ── */
.paper-card {
  background: linear-gradient(180deg, #F8F2DF 0%, #ECE0BE 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 24px 50px -30px rgba(15,36,25,.45),
    0 2px 8px -4px rgba(15,36,25,.18);
}
.ink-card {
  background: linear-gradient(180deg, #194730 0%, #0E2C1E 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 24px 50px -30px rgba(15,36,25,.65);
}

/* ── Animations ── */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.d-1 { animation-delay: .05s; }
.d-2 { animation-delay: .18s; }
.d-3 { animation-delay: .32s; }
.d-4 { animation-delay: .46s; }
.d-5 { animation-delay: .6s;  }
.d-6 { animation-delay: .74s; }

@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: drift 70s linear infinite;
}

/* ── Links ── */
.ulink {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s ease;
}
.ulink:hover {
  background-size: 0 1px;
  background-position: 100% 100%;
}

/* ── Therapist cards ── */
.therapist {
  transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s ease;
}
.therapist:hover { transform: translateY(-6px) rotate(0deg) !important; }
.therapist .reveal {
  max-height: 600px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .6s ease, opacity .35s ease .15s;
}
.therapist:hover .reveal { max-height: 360px; opacity: 1; }

/* ── Decorative ── */
.blob {
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  position: absolute;
  border-radius: 999px;
}

/* ── Portrait placeholders ── */
.portrait {
  aspect-ratio: 4/5;
  background: radial-gradient(120% 90% at 30% 20%, #E9D8B8 0%, #2F5D44 55%, #0E2C1E 110%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.portrait-wide { aspect-ratio: 5/4; }
@media (min-width: 768px) {
  .portrait-wide { aspect-ratio: 4/5; height: 100%; }
}
.portrait.var-2 { background: radial-gradient(120% 90% at 70% 30%, #F4E5C5 0%, #B69026 50%, #194730 110%); }
.portrait.var-3 { background: radial-gradient(120% 90% at 50% 30%, #F1DCBC 0%, #2F5D44 50%, #194730 110%); }
.portrait.var-4 { background: radial-gradient(120% 90% at 35% 25%, #EFE0BC 0%, #194730 55%, #0E2C1E 110%); }
.portrait.var-5 { background: radial-gradient(120% 90% at 65% 25%, #F4E5C5 0%, #7A8A6E 50%, #2F5D44 110%); }
.portrait.var-6 { background: radial-gradient(120% 90% at 40% 30%, #F1DCBC 0%, #B69026 45%, #7A2E1B 115%); }
.portrait.var-7 { background: radial-gradient(120% 90% at 60% 25%, #E9D8B8 0%, #194730 50%, #0F2419 110%); }
.portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: .5;
}
.portrait svg.fig { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait img.photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  z-index: 2;
  filter: contrast(1.02) saturate(.95);
}
.portrait.has-photo svg.fig { display: none; }
.portrait.has-photo::after { opacity: .25; }
.portrait .stamp {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 46px;
  height: 24px;
  opacity: .7;
  z-index: 3;
  mix-blend-mode: screen;
}

/* ── Labels ── */
.section-label {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .68rem;
  font-weight: 500;
  color: #194730;
}
.section-label-light {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .68rem;
  font-weight: 500;
  color: #E8DEC4;
}
.asterism::before {
  content: '✻';
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}

/* ── Form fields ── */
.field {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(15,36,25,.25);
  padding: 12px 0;
  font: 400 1rem/1.4 'Instrument Sans', sans-serif;
  color: #0F2419;
  width: 100%;
  transition: border-color .3s;
}
.field:focus { outline: none; border-color: #B69026; }
.field::placeholder { color: rgba(15,36,25,.45); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  background: #194730;
  color: #F4EFE0;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background .35s, transform .35s, box-shadow .35s;
  box-shadow: 0 12px 30px -16px rgba(15,36,25,.7);
}
.btn:hover { background: #B69026; color: #0F2419; transform: translateY(-1px); }
.btn .arrow { transition: transform .35s; }
.btn:hover .arrow { transform: translate(4px,-4px) rotate(-12deg); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.3rem;
  border: 1px solid rgba(15,36,25,.35);
  border-radius: 999px;
  color: #0F2419;
  transition: background .35s, color .35s, border-color .35s;
}
.btn-ghost:hover { background: #194730; color: #F4EFE0; border-color: #194730; }

/* ── Misc layout helpers ── */
.vert { writing-mode: vertical-rl; transform: rotate(180deg); }

.squiggle { display: inline-block; vertical-align: middle; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%       { transform: translateY(-8px) rotate(4deg); }
}
.float-soft {
  animation: float-soft 7s ease-in-out infinite;
  transform-origin: center;
}

.age-pill {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border: 1px solid rgba(25,71,48,.4);
  border-radius: 999px;
}

.crayon {
  background-image: linear-gradient(transparent 75%, rgba(182,144,38,.45) 75%);
  padding: 0 .15em;
}

/* ── Full-bleed photo sections ── */
.photo-break { position: relative; overflow: hidden; }
.photo-break img { width: 100%; display: block; filter: contrast(1.03) saturate(.92); }
.photo-break .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 48px;
  background: linear-gradient(0deg, rgba(14,44,30,.75) 0%, rgba(14,44,30,.3) 60%, transparent 100%);
  color: #F4EFE0;
}

/* ── Photo gallery ── */
.photo-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
@media (max-width: 767px) {
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery .tall { grid-row: auto; }
}
.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  filter: contrast(1.02) saturate(.95);
  border-radius: 4px;
}
.photo-gallery .tall { grid-row: span 2; min-height: 420px; }

/* ── Per-page unique classes ── */

/* diagnoza-adhd.php */
.tool-card { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.tool-card:hover { transform: translateY(-4px); }
.step-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(15,36,25,.1);
}
.step-row:last-child { border-bottom: none; }
.outcome-card { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.outcome-card:hover { transform: translateY(-3px); }

/* akademia-rodzica.php, tus.php, psychoterapia.php */
.topic-card { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.topic-card:hover { transform: translateY(-4px); }

/* ============================================================
   Mobile overflow safety net — fix "tekst ucina się po prawej"
   ============================================================ */

/* Body-level: zamiast clip (cut) → hidden (allows wrap, no scroll) */
html, body { overflow-x: hidden; max-width: 100vw; }

/* Display typography — break long Polish words (psychologicznego, psychoterapeutycznego…) */
.display, .display-tight, .editorial, h1, h2, h3, h4 {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Blog content prose — scrollable tables, pre, wide inline elements */
.synaptio-prose,
.prose,
article {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.synaptio-prose pre,
.synaptio-prose table,
.prose pre,
.prose table,
article pre,
article table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
}
.synaptio-prose img,
.synaptio-prose video,
.synaptio-prose iframe,
.prose img,
.prose video,
.prose iframe,
article img,
article video,
article iframe {
  max-width: 100%;
  height: auto;
}
.synaptio-prose a,
.prose a,
article a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Mobile-only: hero H1 clamp + tighter container padding */
@media (max-width: 640px) {
  h1.display-tight {
    font-size: clamp(28px, 8.5vw, 44px) !important;
    line-height: 1.04;
    letter-spacing: -0.02em;
  }
  h2.display-tight {
    font-size: clamp(22px, 6vw, 32px) !important;
    line-height: 1.1;
  }
  /* Container padding 16px na mobile (zamiast Tailwind default px-6 = 24px) */
  .max-w-\[1400px\],
  .max-w-\[1100px\],
  .max-w-\[820px\],
  .max-w-\[760px\] {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* WP gutenberg blocks fallback */
  .wp-block-image,
  .wp-block-table,
  .wp-block-code,
  .wp-block-preformatted {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* Section-label letterspacing nie zarywa overflow */
.section-label { white-space: normal; }

/* ============================================================
   Parent-focused warmth additions — soft, czytelne, friendly
   (used na /zespol/ + single-synaptio_team.php)
   ============================================================ */

/* Subtle drop cap — tylko pierwszy paragraf bio. Bottle green, niewielki. */
.synaptio-prose.first-letter-drop > p:first-of-type::first-letter {
  font-family: var(--display-font, 'EB Garamond'), Georgia, serif;
  font-weight: 500;
  font-size: 3.6em;
  float: left;
  line-height: 0.85;
  margin: 0.08em 0.12em -0.04em 0;
  color: #194730;
}

/* Service mini-card — warm hover (lift + soft shadow grow) */
.service-mini-card {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .service-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -16px rgba(15, 36, 25, 0.18);
  }
}

/* Soft photo shadow dla team cards na grid */
.team-card-shadow {
  box-shadow: 0 8px 28px -12px rgba(15, 36, 25, 0.18);
  transition: box-shadow 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .team-card:hover .team-card-shadow {
    box-shadow: 0 20px 44px -16px rgba(15, 36, 25, 0.28);
  }
}

/* Profile hero photo — desktop soft shadow */
@media (min-width: 1024px) {
  .profile-hero-photo {
    box-shadow: 0 24px 60px -24px rgba(15, 36, 25, 0.22);
  }
}

/* Scroll-reveal — gentle entrance dla parent-friendly feel.
   Progressive enhancement: domyślnie visible (dla noscript / crawlers / preview).
   Klasa .js-ready dodawana przez JS na DOMContentLoaded aktywuje opacity:0 +
   IntersectionObserver ją zdejmuje gdy element wjeżdża do viewport. */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .js-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Team cards — zespół grid (page-zespol.php)
   Desktop: hover scale + overlay; Mobile: tap = navigate
   ============================================================ */
.team-card-img { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.team-card-overlay {
  background-color: rgba(15, 36, 25, 0);
  transition: background-color 0.3s ease;
}
.team-card-arrow {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.team-card-name { transition: color 0.25s ease; }

@media (hover: hover) and (pointer: fine) {
  .team-card:hover .team-card-img { transform: scale(1.04); }
  .team-card:hover .team-card-overlay { background-color: rgba(15, 36, 25, 0.35); }
  .team-card:hover .team-card-arrow { opacity: 1; transform: translateY(0); }
  .team-card:hover .team-card-name { color: #194730; }
}

@media (hover: none) {
  .team-card-arrow {
    opacity: 1;
    transform: translateY(0);
    background-color: rgba(25, 71, 48, 0.85);
  }
}

.team-card a:focus-visible .team-card-img { transform: scale(1.04); }
.team-card a:focus-visible .team-card-overlay { background-color: rgba(15, 36, 25, 0.35); }
.team-card a:focus-visible .team-card-arrow { opacity: 1; transform: translateY(0); }

/* ============================================================
   FRONT-PAGE LIVE — Editorial Therapeutic homepage (test.synaptio.pl)
   v1.8 / 2026-05-12
   ============================================================ */

/* ── Hero pill z floating amber dot ── */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem 1rem .55rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15,36,25,.12);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(15,36,25,.78);
  box-shadow: 0 6px 18px -10px rgba(15,36,25,.25);
}
.amber-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #D9A938;
  box-shadow: 0 0 0 4px rgba(217,169,56,.18);
  animation: amber-pulse 2.6s ease-in-out infinite;
}
@keyframes amber-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,169,56,.42); transform: scale(1); }
  50%      { box-shadow: 0 0 0 6px rgba(217,169,56,0);   transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .amber-dot { animation: none; }
}

/* ── Vertical rotated labels (hero corners) ── */
.vert-label {
  position: absolute;
  top: 50%;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 10.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(15,36,25,.42);
  writing-mode: vertical-rl;
  z-index: 5;
  pointer-events: none;
}
.vert-label-left  { left: 16px;  transform: translateY(-50%) rotate(180deg); }
.vert-label-right { right: 16px; transform: translateY(-50%); }

/* ── Stats bar — editorial belka ── */
.stats-bar { position: relative; }
.stats-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 1.5rem;
  border-top: 1px solid rgba(15,36,25,.18);
  border-bottom: 1px solid rgba(15,36,25,.18);
  padding: 2.5rem 0;
  list-style: none;
  margin: 0;
}
.stats-list li {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(15,36,25,.1);
}
.stats-list li:last-child { border-right: none; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #194730;
  font-feature-settings: "tnum";
}
.stat-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(15,36,25,.62);
}
@media (max-width: 767px) {
  .stats-list {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
  .stats-list li:nth-child(2) { border-right: none; }
  .stats-list li:nth-child(2n) { border-right: none; }
}

/* ── Ornament rule between sections ── */
.ornament-rule {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-size: 18px;
  letter-spacing: 1.2em;
  padding-left: 1.2em;
  color: #B69026;
  opacity: .65;
  margin: 1.5rem 0;
  user-select: none;
}

/* ── Drop-cap dla lead paragraph ── */
.lead-dropcap .dropcap {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 4.6em;
  float: left;
  line-height: .85;
  margin: 0.06em 0.14em -0.05em 0;
  color: #194730;
  font-weight: 500;
}

/* ── Roman numerals (filozofia, walkthrough) ── */
.roman-num {
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-feature-settings: "tnum";
  font-weight: 500;
}

/* ── Manifesto / pull-quote ── */
.manifesto {
  position: relative;
  background:
    radial-gradient(800px 400px at 50% 100%, rgba(217,169,56,.10) 0%, transparent 70%),
    linear-gradient(180deg, rgba(244,239,224,0) 0%, rgba(232,222,196,.4) 50%, rgba(244,239,224,0) 100%);
}
.pull-quote {
  position: relative;
  font-style: normal;
  margin: 0;
}
.pull-quote::before,
.pull-quote::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(182,144,38,.6), transparent);
}
.pull-quote::before { margin-bottom: 2.5rem; }
.pull-quote::after  { margin-top: 2.5rem; }
.pull-quote p {
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}

/* ── Price tag (oferta cards) ── */
.price-tag {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .75rem 0;
  border-top: 1px solid rgba(15,36,25,.1);
  border-bottom: 1px solid rgba(15,36,25,.1);
}
.price-amount {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 26px;
  color: #194730;
  line-height: 1;
  font-feature-settings: "tnum";
}
.price-meta {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  color: rgba(15,36,25,.55);
  letter-spacing: .02em;
}

/* ── Walkthrough — Pierwsza wizyta ── */
.walkthrough {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: walk;
}
.walk-step {
  position: relative;
  padding-right: 1rem;
}
.walk-step-meta {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(182,144,38,.85);
  padding-top: .9rem;
  border-top: 1px solid rgba(15,36,25,.1);
}

/* ── Event cards (Akademia) ── */
.event-date {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: #194730;
  font-feature-settings: "tnum";
}
.event-day {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.025em;
}
.event-month {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(15,36,25,.65);
}
.event-year {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  color: rgba(15,36,25,.4);
  letter-spacing: .1em;
}
.event-price {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── FAQ accordion (native <details>) ── */
.faq-list {
  border-top: 1px solid rgba(15,36,25,.14);
}
.faq-item {
  border-bottom: 1px solid rgba(15,36,25,.14);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 0;
  padding-right: 2.5rem;
  position: relative;
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: #0F2419;
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 300;
  color: #B69026;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), content 0s;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}
.faq-item summary:hover { color: #194730; }
.faq-item summary:focus-visible {
  outline: 2px solid #194730;
  outline-offset: 4px;
  border-radius: 4px;
}
.faq-body {
  padding: 0 2.5rem 1.8rem 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(15,36,25,.78);
}
.faq-body p { margin: 0; }
.faq-body p + p { margin-top: .8rem; }
.faq-body strong { color: #194730; }

/* ── Hero collage offset photos ── */
.hero-collage { position: relative; }
@media (min-width: 1024px) {
  .hero-photo-tr { transform: rotate(2deg); }
  .hero-photo-bl { transform: rotate(-3deg); }
}

/* ── Skip-to-content (a11y) ── */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #194730;
  color: #F4EFE0;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-size: 13px;
  z-index: 100;
  transition: top .25s ease;
}
.skip-link:focus { top: 1rem; outline: 2px solid #B69026; outline-offset: 2px; }

/* ── Walkthrough icons (Heroicons strokes) ── */
.walk-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(122,138,110,.12);
  color: #194730;
  margin-bottom: 1rem;
}

/* ============================================================
   SPRINT 5 — Service pages + Cennik (2026-05-13)
   ============================================================ */

/* ── Service outcome cards (4-col grid na service pages) ── */
.service-outcome-card {
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.service-outcome-card .outcome-icon {
  color: #194730;
  opacity: .85;
}
@media (hover: hover) and (pointer: fine) {
  .service-outcome-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -16px rgba(15,36,25,.22);
  }
}

/* ── Cennik table (page-cennik.php) ── */
.cennik-table {
  border-top: 1px solid rgba(15,36,25,.14);
}
.cennik-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(15,36,25,.14);
  transition: background .25s ease;
}
.cennik-row:hover {
  background: linear-gradient(90deg, rgba(217,169,56,.04) 0%, transparent 100%);
}
.cennik-row-name h3 {
  letter-spacing: -0.01em;
  margin-bottom: .35rem;
}
.cennik-row-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.cennik-row-price .price-amount {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 28px;
  color: #194730;
  line-height: 1;
  font-feature-settings: "tnum";
  white-space: nowrap;
}
.cennik-row-price .price-meta {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  color: rgba(15,36,25,.5);
}
.cennik-category {
  position: relative;
}

/* ── Cennik pakiet cards (loyalty packages) ── */
.cennik-pakiet-card {
  position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.cennik-pakiet-card--highlight {
  background: linear-gradient(180deg, #F4EFE0 0%, #ECE0BE 100%);
  border: 1px solid rgba(217,169,56,.4);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 24px 50px -28px rgba(182,144,38,.35),
    0 2px 8px -4px rgba(15,36,25,.18);
}
@media (hover: hover) and (pointer: fine) {
  .cennik-pakiet-card:hover {
    transform: translateY(-3px);
  }
}

/* ── Mobile tuning for service + cennik pages ── */
@media (max-width: 767px) {
  .cennik-row {
    grid-template-columns: 1fr;
    gap: .5rem;
    padding: 1.2rem 0;
  }
  .cennik-row-price {
    text-align: left;
    flex-direction: row;
    align-items: baseline;
    gap: .5rem;
  }
  .cennik-row-price .price-amount {
    font-size: 24px;
  }
  .service-outcome-card {
    padding: 1.25rem !important;
  }
}

/* ── Interior gallery (sekcja Wnętrze) ── */
.interior-photo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.interior-photo img {
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  .interior-photo:hover { transform: translateY(-4px); }
  .interior-photo:hover img { transform: scale(1.03); }
}

/* ── Filozofia pillars — botanical leaf accent ── */
.filozofia-pillar .pillar-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.filozofia-pillar .leaf-wrap {
  display: inline-flex;
  margin-top: .8rem;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  .filozofia-pillar:hover .leaf-wrap {
    transform: translateY(-3px) rotate(-4deg);
  }
}
.leaf-accent { display: block; }

/* ── Manifesto — botanical corner ornaments ── */
.manifesto {
  position: relative;
  background:
    radial-gradient(800px 400px at 50% 100%, rgba(217,169,56,.10) 0%, transparent 70%),
    linear-gradient(180deg, rgba(244,239,224,0) 0%, rgba(232,222,196,.4) 50%, rgba(244,239,224,0) 100%);
  overflow: hidden;
}
.manifesto-corner {
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 1;
}
.manifesto-corner--tl {
  top: 1.5rem;
  left: 2rem;
}
.manifesto-corner--br {
  bottom: 1.5rem;
  right: 2rem;
  transform: rotate(180deg);
}
.manifesto-corner-svg { display: block; }

/* ── Stats Bar — w nowej pozycji 5, lżejsze separators ── */
.stats-bar .stats-list {
  background: linear-gradient(180deg, rgba(232,222,196,.4) 0%, rgba(232,222,196,.15) 100%);
  border-radius: 18px;
  padding: 2.5rem 1.5rem;
}

/* ── Mobile tuning ── */
@media (max-width: 767px) {
  .vert-label { display: none; }
  .stat-num { font-size: 44px; }
  .stat-label { font-size: 11px; letter-spacing: .18em; }
  .pull-quote p { font-size: 28px !important; line-height: 1.18 !important; }
  .ornament-rule { font-size: 14px; letter-spacing: .9em; padding-left: .9em; }
  .faq-item summary { font-size: 16px; padding: 1.1rem 0; padding-right: 2rem; }
  .faq-body { padding-right: 0; padding-bottom: 1.4rem; }
  .price-amount { font-size: 22px; }
  .event-day { font-size: 32px; }
  .walk-icon { width: 48px; height: 48px; border-radius: 12px; }
  .interior-photo img { height: 240px !important; }
  .manifesto-corner { width: 48px; height: 62px; }
  .manifesto-corner svg { width: 48px; height: 62px; }
  .manifesto-corner--tl { top: .5rem; left: .5rem; }
  .manifesto-corner--br { bottom: .5rem; right: .5rem; }
  .filozofia-pillar .pillar-head { gap: 1rem; }
}
