/*
Theme Name: Dominika Skrzypek
Theme URI: https://wp.dominikaskrzypek.pl
Author: Skygroup.pl
Description: Custom motyw (ACF Pro, bez page-buildera) odtwarzający 1:1 styl new.dominikaskrzypek.pl.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: dominika-skrzypek
*/

/* ==========================================================================
   Design tokens — 1:1 wartości z new.dominikaskrzypek.pl (src/styles.css)
   ========================================================================== */
:root {
  --radius: 0.25rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);

  --background: oklch(0.977 0.006 80);
  --foreground: oklch(0.235 0.006 60);
  --card: oklch(0.988 0.004 80);
  --card-foreground: oklch(0.235 0.006 60);
  --popover: oklch(0.988 0.004 80);
  --popover-foreground: oklch(0.235 0.006 60);
  --primary: oklch(0.235 0.006 60);
  --primary-foreground: oklch(0.977 0.006 80);
  --secondary: oklch(0.937 0.014 70);
  --secondary-foreground: oklch(0.235 0.006 60);
  --muted: oklch(0.937 0.014 70);
  --muted-foreground: oklch(0.52 0.014 65);
  --accent: oklch(0.78 0.045 62);
  --accent-foreground: oklch(0.235 0.006 60);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.98 0 0);
  --border: oklch(0.9 0.014 70);
  --input: oklch(0.9 0.014 70);
  --ring: oklch(0.78 0.045 62);

  --sand: oklch(0.937 0.014 70); /* ~#F3ECE4 */
  --clay: oklch(0.66 0.05 55);
  --clay-dark: oklch(0.42 0.05 55); /* underline nawigacji, tło paska ogłoszeń/cookie */

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: 3rem; } /* text-5xl */
@media (min-width: 768px) { h1 { font-size: 3.75rem; } } /* md:text-6xl */
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { margin: 0; }

/* ==========================================================================
   Layout utilities
   ========================================================================== */
.container-editorial {
  width: 100%;
  margin-inline: auto;
  max-width: 76rem;
  padding-inline: 1.5rem;
}
.bg-sand { background-color: var(--sand); }
.section { padding-block: 5rem; }
.section-tight { padding-block: 3rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { opacity: 0.85; }
.btn-outline {
  border: 1px solid var(--foreground);
  color: var(--foreground);
}
.btn-outline:hover {
  background-color: var(--foreground);
  color: var(--primary-foreground);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}
.reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Header (patrz header.php)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  background-color: color-mix(in oklch, var(--background) 85%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-header__inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo { line-height: 1; text-align: center; }
.site-header__logo-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--foreground);
}
.site-header__logo-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: color-mix(in oklch, var(--foreground) 70%, transparent);
}

.site-nav { display: none; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.site-nav__link {
  position: relative;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.375rem;
  height: 1px;
  width: 0;
  background-color: var(--clay-dark);
  transition: width 0.2s ease;
}
.site-nav__link:hover { color: var(--foreground); }
.site-nav__link:hover::after { width: 100%; }
.site-nav__link.is-active { color: var(--foreground); font-weight: 500; }
.site-nav__link.is-active::after { width: 100%; }

.site-nav__item--dropdown { position: relative; }
.site-nav__item--dropdown > .site-nav__link { display: flex; align-items: center; gap: 0.375rem; line-height: 1.25rem; } /* jak `flex items-center gap-1.5 text-sm` w Lovable */
.site-nav__dropdown-icon { height: 0.75rem; width: 0.75rem; transition: transform 0.2s ease; display: block; }
.site-nav__item--dropdown:hover .site-nav__dropdown-icon { transform: rotate(180deg); }
.site-nav__submenu {
  visibility: hidden;
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 50;
  width: 16rem;
  transform: translateX(-50%);
  padding-top: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.site-nav__item--dropdown:hover .site-nav__submenu { visibility: visible; opacity: 1; }
.site-nav__submenu-inner {
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  background-color: var(--background);
  padding: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.site-nav__submenu-link {
  display: block;
  border-radius: var(--radius-lg);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav__submenu-link:hover { background-color: var(--secondary); color: var(--foreground); }
.site-nav__submenu-link.is-active { font-weight: 500; color: var(--foreground); background-color: var(--secondary); } /* bieżąca strona oferty wyraźnie zaznaczona (tylko ona — pozycja "Wszystkie pakiety" aktywna wyłącznie na /oferta/) */

.site-header__toggle { display: flex; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .site-header__toggle { display: none; } }

.site-mobile-nav { display: none; border-top: 1px solid var(--border); background-color: var(--background); }
.site-mobile-nav.is-open {
  display: block;
  /* header jest position:sticky i nie odklei się od góry, więc gdy rozwinięte menu
     (zwłaszcza z otwartym akordeonem Oferta) jest wyższe niż ekran, dolna część była
     nieosiągalna żadnym scrollem strony — panel dostaje WŁASNY scroll. 5rem = wysokość
     .site-header__inner (pasek z logo/togglem, zawsze widoczny nad panelem). */
  max-height: calc(100vh - 5rem);
  max-height: calc(100dvh - 5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 1024px) { .site-mobile-nav { display: none !important; } }
.site-mobile-nav__inner { display: flex; flex-direction: column; gap: 1.25rem; padding-block: 1.5rem; }
.site-mobile-nav__link { font-family: var(--font-display); font-size: 1.5rem; color: var(--muted-foreground); }
.site-mobile-nav__link.is-active { color: var(--foreground); }
.site-mobile-nav__oferta-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 1.5rem; color: var(--muted-foreground); }
.site-mobile-nav__oferta-list { display: none; flex-direction: column; gap: 0.5rem; border-left: 1px solid color-mix(in oklch, var(--border) 60%, transparent); padding-left: 1rem; margin-top: 0.75rem; }
.site-mobile-nav__oferta-list.is-open { display: flex; }
.site-mobile-nav__oferta-list a { font-size: 1rem; color: var(--muted-foreground); }
.site-mobile-nav__oferta-list a.is-active { font-weight: 500; color: var(--foreground); }
/* wysokości linii jak w Lovable (text-2xl = lh 2rem, text-base = lh 1.5rem) — dziedziczone 1.6 zawyżało menu o ~48 px */
.site-mobile-nav__link, .site-mobile-nav__oferta-toggle { line-height: 2rem; }
.site-mobile-nav__oferta-list a { line-height: 1.5rem; }
.site-mobile-nav__oferta-toggle[aria-expanded="true"] .site-nav__dropdown-icon { transform: rotate(180deg); } /* rotate-180 przy otwartym akordeonie */
/* przyciski bez domyślnego paddingu (preflight Tailwind) — inaczej "MENU" i "Oferta i cennik" przesunięte o 6 px */
.site-header__toggle button, .site-mobile-nav__oferta-toggle { padding: 0; }
.site-mobile-nav__lang { margin-top: 0.5rem; border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent); padding-top: 1rem; }

/* Przełącznik języka — odpowiednik LanguageSwitcher.tsx (Lovable), makieta: PL aktywny, EN "wkrótce" */
.lang-switch { position: relative; }
.lang-switch__button { display: flex; align-items: center; gap: 0.375rem; border: 1px solid var(--border); border-radius: 9999px; background: transparent; padding: 0.375rem 0.75rem; font-family: inherit; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); cursor: pointer; transition: color 0.15s; }
.lang-switch__button:hover { color: var(--foreground); }
.lang-switch__flag { font-size: 0.875rem; line-height: 1; }
.lang-switch__list { display: none; position: absolute; right: 0; z-index: 50; margin: 0.5rem 0 0; width: 13rem; list-style: none; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--background); padding: 0.25rem 0; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.lang-switch.is-open .lang-switch__list { display: block; }
.lang-switch__item { display: flex; width: 100%; align-items: center; gap: 0.75rem; border: 0; background: transparent; padding: 0.5rem 1rem; text-align: left; font-family: inherit; font-size: 0.875rem; line-height: 1.25rem; color: var(--foreground); cursor: pointer; transition: background-color 0.15s; }
.lang-switch__item:hover:not(:disabled) { background-color: var(--muted); }
.lang-switch__item:disabled { cursor: not-allowed; color: color-mix(in oklch, var(--muted-foreground) 60%, transparent); }
.lang-switch__item.is-current { font-weight: 500; }
.lang-switch__item-flag { font-size: 1rem; line-height: 1; }
.lang-switch__item-label { flex: 1; }
.lang-switch__item-code { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announcement-bar { background-color: var(--clay-dark); color: var(--background); }
.announcement-bar__inner { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding-block: 0.5rem; text-align: center; }
.announcement-bar__link { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; text-decoration: underline; text-underline-offset: 4px; transition: opacity 0.2s ease; }
.announcement-bar__link:hover { opacity: 0.8; }

/* ==========================================================================
   Footer (patrz footer.php)
   ========================================================================== */
.site-footer { margin-top: 6rem; border-top: 1px solid var(--border); background-color: var(--sand); }
.site-footer__grid { display: grid; gap: 3rem; padding-block: 4rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer__col p { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.site-footer__col a:hover { color: var(--foreground); }
.site-footer__stars { color: var(--clay); }
.site-footer__social { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.site-footer__social a { color: var(--muted-foreground); transition: color 0.2s ease; }
.site-footer__social a:hover { color: var(--foreground); }
.site-footer__bottom { border-top: 1px solid color-mix(in oklch, var(--border) 70%, transparent); }
.site-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem; padding-block: 1.5rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; text-align: left; } }
.site-footer__credit { font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); }
.site-footer__credit a { color: var(--foreground); }
.site-footer__credit a:hover { text-decoration: underline; }
/* Stopka — dopasowanie do SiteFooter.tsx (Lovable): h2 text-2xl (lh 2rem), .eyebrow 11px blokowy (reguła
   .site-footer__col p go nadpisywała na 14px), address text-sm, ocena inline-flex text-sm (lh 1.25rem). */
.site-footer__col { line-height: 1.5; } /* strut anonimowych line-boxów (np. wokół inline-flex oceny) jak w Lovable: html lh 1.5 */
.site-footer__col h2 { line-height: 2rem; }
.site-footer__social svg { display: block; } /* preflight Tailwind (svg block) — inline SVG dokładał ~6,6 px do wysokości ikon */
.site-footer__col .eyebrow { display: block; font-size: 0.6875rem; }
.site-footer__col address { font-size: 0.875rem; line-height: 1.625; }
.site-footer__col .site-footer__rating { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; line-height: 1.25rem; }

/* ==========================================================================
   Breadcrumb (single-oferta.php i inne szczegółowe strony)
   ========================================================================== */
.of-breadcrumb { display: flex; gap: 0.5rem; font-size: 0.75rem; color: var(--muted-foreground); } /* Lovable: text-xs, bez uppercase */
.of-breadcrumb a:hover { color: var(--foreground); }
.of-breadcrumb .is-current { color: var(--foreground); }

/* ==========================================================================
   Strona oferty — sekcje flexible-content
   ========================================================================== */
.of-hero { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; padding-block: 3rem 5rem; }
@media (min-width: 1024px) { .of-hero { grid-template-columns: 1fr 1.5fr; } } /* Lovable: lg:grid-cols-[1fr_1.5fr] */
@media (max-width: 1023px) { .of-hero > img { order: -1; } } /* Lovable: max-lg:[&>img]:order-first */
.of-hero__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-lg); }
/* Wariant dla sesja-przedszkolna (351) — pełnoszerokie zdjęcie panoramiczne pod tekstem,
   bez przycinania (jak `className="mt-10 w-full"` w Lovable, brak object-fit/aspect-ratio). */
.of-hero__img--wide { display: block; width: 100%; height: auto; margin-top: 2.5rem; border-radius: var(--radius-lg); }
/* Wariant dla sesje-dzieciece-warszawa (332) i sesje-noworodkowe-warszawa (311) — hero
   zostaje side-by-side, ale zdjęcie jest poziome (aspect-3/2), nie portret 3:4. */
.of-hero__img--landscape { aspect-ratio: 3/2; }
.of-hero__img--natural { aspect-ratio: auto; height: auto; }

.of-narrative-wrap { padding-block: 4rem; }
.of-narrative { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .of-narrative { grid-template-columns: 1fr 1fr; } }
.of-narrative--reverse { direction: rtl; }
.of-narrative--reverse > * { direction: ltr; }
.of-narrative__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); }
/* Warianty proporcji dla konkretnych sekcji narrative, tam gdzie Lovable używa innego
   aspect-ratio niż domyślny portret 4:5 (audyt 2026-09-29, patrz $ds_narrative_aspect_map
   w single-oferta.php). */
.of-narrative__img--landscape { aspect-ratio: 3/2; }
.of-narrative__img--square { aspect-ratio: 1/1; }
.of-narrative__img--3-4 { aspect-ratio: 3/4; }
.of-narrative__img--info { aspect-ratio: 4/3; } /* Lovable: aspect-4/3 sm:aspect-7/5 (zdjęcie obok "Dodatkowe informacje") */
@media (min-width: 640px) { .of-narrative__img--info { aspect-ratio: 7/5; } }
.of-prose p { margin-bottom: 1rem; color: var(--muted-foreground); line-height: 1.7; }
.of-prose p:last-child { margin-bottom: 0; }
.of-prose h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.5rem; }
.of-prose h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; font-size: 1.15rem; }
.of-prose ul, .of-prose ol { margin: 1rem 0 1rem 1.25rem; list-style: disc; color: var(--muted-foreground); }
.of-prose ol { list-style: decimal; }
.of-prose li { margin-bottom: 0.4rem; line-height: 1.6; }
.of-prose a { text-decoration: underline; text-underline-offset: 2px; }
.of-prose a:hover { color: var(--foreground); }
.of-prose strong { font-weight: 600; color: var(--foreground); }

.of-feature-list { display: flex; flex-direction: column; gap: 0; }
.of-feature-list li { display: flex; flex-direction: column; gap: 0.25rem; padding-block: 1rem; border-top: 1px solid var(--border); }
.of-feature-list li:last-child { border-bottom: 1px solid var(--border); }
.of-feature-list strong { font-weight: 600; }
.of-feature-list span { color: var(--muted-foreground); font-size: 0.9rem; }

/* Pakiety — 1:1 z Lovable (nagłówek do lewej, karty bez ramki bg-background p-8, siatka md:grid-cols-N, punkty z linią) */
.of-pricing__heading { margin-top: 1rem; font-size: 2.25rem; }
@media (min-width: 768px) { .of-pricing__heading { font-size: 3rem; } }
.of-pricing__intro { margin-top: 1.25rem; max-width: 36rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }
.of-pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) {
  .of-pricing-grid--n2 { grid-template-columns: repeat(2, 1fr); }
  .of-pricing-grid--n3 { grid-template-columns: repeat(3, 1fr); }
}
.of-package-card { background: var(--background); padding: 2rem; display: flex; flex-direction: column; }
.of-package-card.is-highlight { box-shadow: 0 0 0 1px var(--clay); }
.of-package-card h3 { font-size: 1.5rem; margin-top: 0; }
@media (min-width: 768px) { .of-package-card h3 { font-size: 1.875rem; } }
.of-package-card__price { font-family: var(--font-display); font-size: 1.25rem; margin-top: 0.5rem; }
.of-package-card__summary { margin-top: 1.25rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }
.of-package-card__includes { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.of-package-card__includes li { display: flex; gap: 0.75rem; font-size: 0.875rem; padding-bottom: 0.75rem; border-bottom: 1px solid color-mix(in oklch, var(--foreground) 10%, transparent); }
.of-package-card__includes li::before { content: "—"; color: var(--clay); }

.of-addons { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 900px) { .of-addons { grid-template-columns: 1fr 1fr; } }
.of-addons__voucher { border-radius: var(--radius-lg); padding: 2rem; }
.of-addons__list { display: flex; flex-direction: column; gap: 0; }
.of-addons__list > div { display: flex; justify-content: space-between; padding-block: 0.75rem; border-top: 1px solid var(--border); font-size: 0.9rem; }
.of-addons__list dt { color: var(--muted-foreground); }
.of-addons__list dd { margin: 0; font-weight: 500; }

.of-gallery-grid { column-count: 2; column-gap: 1rem; }
@media (min-width: 700px) { .of-gallery-grid { column-count: 3; column-gap: 1.5rem; } }
.of-gallery-grid figure { break-inside: avoid; -webkit-column-break-inside: avoid; }
.of-gallery-grid img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }

/* Galeria studia (studio-fotograficzne-warszawa.tsx) — inny layout niż .of-gallery-grid:
   siatka 1/2/3 kolumny (nie masonry) ze zdjęciami przyciętymi do 4:3, jak
   `grid gap-x-6 gap-y-8 sm:grid-cols-2 lg:grid-cols-3` + `aspect-4/3 object-cover` w Lovable. */
.ds-studio-gallery { display: grid; grid-template-columns: 1fr; column-gap: 1.5rem; row-gap: 2rem; }
@media (min-width: 640px) { .ds-studio-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ds-studio-gallery { grid-template-columns: repeat(3, 1fr); } }
.ds-studio-gallery__item { overflow: hidden; background-color: var(--muted); }
.ds-studio-gallery__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.of-other-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .of-other-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .of-other-services-grid { grid-template-columns: repeat(3, 1fr); } }
.of-other-services-card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); border: 1px solid var(--border); transition: transform 0.25s ease; }
.of-other-services-card:hover { transform: translateY(-3px); }
.of-other-services-card__img { aspect-ratio: 4/3; background-size: cover; background-position: center; transition: transform 0.4s ease; }
.of-other-services-card:hover .of-other-services-card__img { transform: scale(1.04); }
.of-other-services-card__body { padding: 1.25rem; }
.of-other-services-card__body h3 { font-size: 1.1rem; }
.of-other-services-card__body p { margin-top: 0.4rem; font-size: 0.85rem; color: var(--muted-foreground); }

/* Hub /oferta/ — karty 1:1 z oferta.index.tsx (Lovable): tło sand, bez ramki, tytuł i cena w jednej linii.
   Osobne klasy, bo .of-other-services-card jest współdzielona (front-page, blog, portfolio). */
.of-hub-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .of-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .of-hub-grid { grid-template-columns: repeat(3, 1fr); } }
.of-hub-card { display: flex; flex-direction: column; background: var(--sand); }
.of-hub-card__link { display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.of-hub-card__media { overflow: hidden; }
.of-hub-card__img { aspect-ratio: 4/3; background-size: cover; background-position: center; transition: transform 0.7s; }
.of-hub-card:hover .of-hub-card__img { transform: scale(1.05); }
.of-hub-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.75rem; }
.of-hub-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.of-hub-card__title { margin: 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 500; }
@media (min-width: 768px) { .of-hub-card__title { font-size: 1.875rem; line-height: 2.25rem; } }
.of-hub-card__price { margin: 0; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; color: var(--clay); }
.of-hub-card__summary { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.of-hub-card__cta { align-self: flex-start; margin-top: 1.5rem; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-foreground); text-underline-offset: 4px; }
.of-hub-card:hover .of-hub-card__cta { color: var(--foreground); text-decoration: underline; }

/* Hub /oferta/ — nagłówek 1:1 z oferta.index.tsx (py-16 md:py-24, h1 leading-none max-w-2xl, lead leading-relaxed max-w-xl).
   .eyebrow jest globalnie inline-block (dokłada line-box) — tu blokowy jak <p> w Lovable. */
.of-hub-head { padding-block: 4rem; }
@media (min-width: 768px) { .of-hub-head { padding-block: 6rem; } }
.of-hub-head .eyebrow { display: block; }
.of-hub-head h1 { margin-top: 1rem; max-width: 42rem; line-height: 1; }
.of-hub-head__lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }

/* Strona główna — sekcja OFERTA jak w index.tsx (Lovable): py-20, nagłówek z przyciskiem, siatka 1/2/3/4 kol. (gap-x 1.5rem, gap-y 2.5rem),
   karty BEZ tła/ramki (wcześniej jasny box .of-other-services-card na beżu), h3 text-xl/2xl (lh 1.12), opis 0.85rem/leading-relaxed, CTA w kolorze clay.
   Osobne klasy, bo .of-other-services-card jest współdzielona (bloki "pozostałe sesje", blog, portfolio). */
.of-home { padding-block: 5rem; }
.of-home__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.of-home__head .eyebrow { display: block; } /* globalne .eyebrow = inline-block dokłada line-box (~9 px) */
.of-home__head h2 { margin-top: 1rem; font-size: 1.875rem; line-height: 1.08; }
@media (min-width: 768px) { .of-home__head h2 { font-size: 2.25rem; line-height: 1.1; } }
@media (min-width: 1024px) { .of-home__head h2 { font-size: 3rem; } }
.of-home__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem 1.5rem; margin-top: 3rem; }
@media (min-width: 640px) { .of-home__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .of-home__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .of-home__grid { grid-template-columns: repeat(4, 1fr); } }
.of-home-card { display: block; line-height: 1.5; } /* strut jak w Lovable (html lh 1.5) — wokół inline-block CTA */
.of-home-card__media { overflow: hidden; background: var(--muted); }
.of-home-card__img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s; }
.of-home-card:hover .of-home-card__img { transform: scale(1.05); }
.of-home-card__title { margin-top: 1rem; font-size: 1.25rem; line-height: 1.12; }
@media (min-width: 768px) { .of-home-card__title { font-size: 1.5rem; } }
.of-home-card__summary { margin-top: 0.5rem; font-size: 0.85rem; line-height: 1.625; color: var(--muted-foreground); }
.of-home-card .of-home-card__cta { margin-top: 1.25rem; color: var(--clay); transition: color 0.15s; }
.of-home-card:hover .of-home-card__cta { color: var(--foreground); }
.of-home__more { margin-top: 2.5rem; display: flex; justify-content: center; } /* przycisk "Zobacz pełną ofertę" pod siatką (Lovable: mt-10 flex justify-center) */

/* Hub /portfolio — kafelki 8:5 (Lovable "Ujednolicił kafelki na /portfolio": aspect-[4/5] → aspect-[8/5]) */
.of-pf-hub .of-other-services-card__img { aspect-ratio: 8/5; }
/* Hub /portfolio — płaskie kafelki jak w Lovable (bez ramki/tła; zdjęcie, pod nim h2 text-2xl + licznik text-sm) */
.of-pf-hub { gap: 2rem; }
.of-pf-hub .of-other-services-card { background: transparent; border: 0; border-radius: 0; }
.of-pf-hub .of-other-services-card:hover { transform: none; }
.of-pf-hub .of-other-services-card__body { padding: 0; margin-top: 1rem; }
.of-pf-hub .of-other-services-card__body h3 { font-size: 1.5rem; }
.of-pf-hub .of-other-services-card__body p { margin-top: 0.5rem; font-size: 0.875rem; }

/* O mnie — sekcja "W mediach" 1:1 z o-mnie.tsx (Lovable): py-20, h2 text-4xl/md:text-5xl (lh 2.5rem/1), lead text-sm md:text-base, siatka gap-10 md:2 kol. gap-14,
   zdjęcie w naturalnej proporcji, h3 text-2xl (lh 2rem). .eyebrow globalnie inline-block (dokłada line-box) → tu blokowy. */
.of-media { padding-block: 5rem; }
.of-media .eyebrow { display: block; }
.of-media__title { margin-top: 1rem; font-size: 2.25rem; line-height: 2.5rem; }
@media (min-width: 768px) { .of-media__title { font-size: 3rem; line-height: 1; } }
.of-media__lead { margin-top: 1rem; max-width: 36rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 768px) { .of-media__lead { font-size: 1rem; } }
.of-media__grid { display: grid; gap: 2.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .of-media__grid { grid-template-columns: repeat(2, 1fr); gap: 3.5rem; } }
.of-media__img { display: block; width: 100%; height: auto; }
.of-media__h3 { margin-top: 1.5rem; font-size: 1.5rem; line-height: 2rem; }
.of-media__text { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.of-media__cta { margin-top: 1.5rem; }

/* Strona główna — sekcje "Voucher podarunkowy" i "Studio na warszawskim Gocławiu" jak w index.tsx / VoucherSlider.tsx / StudioCarousel.tsx (Lovable):
   grid gap-12 py-20 md:2 kol., h2 1.875rem/1.08 → md 2.25rem/1.1 → lg 3rem/1.1, lead text-base|text-sm leading-relaxed, .eyebrow blokowy. */
.of-vs { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; padding-block: 5rem; }
@media (min-width: 768px) { .of-vs { grid-template-columns: repeat(2, 1fr); } }
.of-vs .eyebrow { display: block; }
.of-vs__title { margin-top: 1rem; font-size: 1.875rem; line-height: 1.08; }
.of-vs__title--balance { text-wrap: balance; }
@media (min-width: 768px) { .of-vs__title { font-size: 2.25rem; line-height: 1.1; } }
@media (min-width: 1024px) { .of-vs__title { font-size: 3rem; } }
.of-vs__lead { margin-top: 1.25rem; max-width: 32rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.of-vs__lead--sm { font-size: 0.875rem; }
.of-vs__btn { margin-top: 2rem; }
/* slider vouchera: crossfade 1 s, kontener rezerwuje wysokość pierwszym zdjęciem (3:2) */
.of-vslider-link { display: block; overflow: hidden; background: var(--muted); }
.of-vslider { position: relative; overflow: hidden; background: var(--muted); }
.of-vslider__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.of-vslider__slide.is-active { opacity: 1; }
.of-vslider__spacer { display: block; width: 100%; height: auto; aspect-ratio: 3/2; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .of-vslider__slide { transition: none; } }
/* sekcja studia */
.of-studio { border-top: 1px solid var(--border); }
.of-studio__list { margin-top: 1.75rem; display: grid; gap: 0.75rem; font-size: 0.875rem; line-height: 1.25rem; }
@media (min-width: 640px) { .of-studio__list { grid-template-columns: repeat(2, 1fr); } }
.of-studio__list li { border-top: 1px solid color-mix(in oklch, var(--foreground) 15%, transparent); padding-top: 0.75rem; }
.of-studio__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.of-studio__map { padding-bottom: 5rem; }
.of-studio__addr { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
/* karuzela studia: przesuw 0.7 s, strzałki od 768 px, kropki (aktywna 1.5rem) */
.of-scarousel { position: relative; width: 100%; aspect-ratio: 3/2; overflow: hidden; border-radius: 0.5rem; }
.of-scarousel__track { display: flex; height: 100%; transition: transform 0.7s ease-out; }
.of-scarousel__img { display: block; flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.of-scarousel__nav { position: absolute; top: 50%; transform: translateY(-50%); display: none; border: 0; border-radius: 999px; padding: 0.5rem; background: rgb(255 255 255 / 0.7); color: var(--foreground); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: background-color 0.15s; }
.of-scarousel__nav:hover { background: rgb(255 255 255 / 0.9); }
.of-scarousel__nav svg { display: block; }
.of-scarousel__nav--prev { left: 0.75rem; }
.of-scarousel__nav--next { right: 0.75rem; }
@media (min-width: 768px) { .of-scarousel__nav { display: block; } }
.of-scarousel__dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; }
.of-scarousel__dot { height: 0.5rem; width: 0.5rem; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.5); cursor: pointer; transition: all 0.15s; }
.of-scarousel__dot.is-active { width: 1.5rem; background: #fff; }
/* przycisk pod karuzelą portfolio (PortfolioCarousel.tsx: mt-8, mały na mobile: px-4 py-2 text-[0.6rem], od sm px-8 py-3 text-[0.75rem]) */
.ds-pf-more { margin-top: 2rem; display: flex; justify-content: center; }
.ds-pf-more .btn-outline { padding: 0.5rem 1rem; font-size: 0.6rem; }
@media (min-width: 640px) { .ds-pf-more .btn-outline { padding: 0.75rem 2rem; font-size: 0.75rem; } }
/* tekst tylko dla czytników ekranu (Tailwind sr-only) */
.ds-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .of-scarousel__track { transition: none; } }
/* lightbox galerii portfolio: strzałki poprzednie/następne (Lightbox.tsx: text-3xl, left-4 md:left-10) */
.pf-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); padding: 0; border: 0; background: none; font-size: 1.875rem; line-height: 2.25rem; color: var(--background); cursor: pointer; }
.pf-lightbox__nav--prev { left: 1rem; }
.pf-lightbox__nav--next { right: 1rem; }
@media (min-width: 768px) { .pf-lightbox__nav--prev { left: 2.5rem; } .pf-lightbox__nav--next { right: 2.5rem; } }

.of-faq { display: flex; flex-direction: column; }
.ds-faq-item { border-top: 1px solid var(--border); padding-block: 1.1rem; }
.ds-faq-item:last-child { border-bottom: 1px solid var(--border); }
.ds-faq-item summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 500; }
.ds-faq-item summary::-webkit-details-marker { display: none; }
.ds-faq-icon { font-size: 1.25rem; color: var(--muted-foreground); transition: transform 0.2s ease; display: inline-block; }
.ds-faq-item p { margin-top: 0.75rem; color: var(--muted-foreground); font-size: 0.9rem; line-height: 1.6; }

.of-cta { border-radius: var(--radius-2xl); border: 1px solid color-mix(in oklch, var(--foreground) 15%, transparent); padding: 2rem; text-align: center; }
/* CTA jak w Lovable: box na pełną szerokość kontenera (p-8 md:p-12), treść max-w-3xl, tytuł font-display text-2xl md:text-3xl, opis text-sm md:text-base */
@media (min-width: 768px) { .of-cta { padding: 3rem; } }
.of-cta h2, .of-cta p { max-width: 48rem; margin-inline: auto; }
.of-cta h2 { font-size: 1.5rem; font-weight: 400; }
.of-cta p { font-size: 0.875rem; line-height: 1.625; }
@media (min-width: 768px) { .of-cta h2 { font-size: 1.875rem; } .of-cta p { font-size: 1rem; } }

/* ==========================================================================
   /oferta index — karty cennikowe
   ========================================================================== */
.of-index-card { display: flex; flex-direction: column; padding: 2.25rem; }
.of-index-card.is-highlight { box-shadow: 0 0 0 1px var(--clay); }
.of-index-card__details-link { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-foreground); text-underline-offset: 4px; }
.of-index-card__details-link:hover { color: var(--foreground); text-decoration: underline; }

/* ==========================================================================
   Portfolio — pigułki filtrów + masonry + lightbox
   ========================================================================== */
.pf-filter-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; padding-bottom: 1rem; }
.pf-filter-pill {
  border: 1px solid var(--border); border-radius: 999px; padding: 0.5rem 1.1rem;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-foreground);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pf-filter-pill:hover { border-color: var(--foreground); color: var(--foreground); }
.pf-filter-pill.is-active { background-color: var(--foreground); color: var(--background); border-color: var(--foreground); }

.pf-masonry { columns: 1; column-gap: 1rem; }
@media (min-width: 640px) { .pf-masonry { columns: 2; } }
@media (min-width: 1024px) { .pf-masonry { columns: 3; } }
.pf-masonry__item { display: block; width: 100%; padding: 0; margin: 0 0 1rem; border: none; background: none; border-radius: var(--radius); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.pf-masonry__item img { width: 100%; display: block; transition: transform 0.4s ease; }
.pf-masonry__item:hover img { transform: scale(1.03); }

.pf-lightbox[hidden] { display: none; }
.pf-lightbox {
  position: fixed; inset: 0; z-index: 100; background: color-mix(in oklch, var(--foreground) 92%, transparent);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.pf-lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.pf-lightbox__close {
  position: absolute; top: 1.25rem; right: 1.5rem; font-size: 2rem; line-height: 1; color: var(--background);
  background: none; border: none; cursor: pointer;
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.ds-kontakt-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; }
@media (min-width: 1024px) { .ds-kontakt-grid { grid-template-columns: 1.2fr 0.8fr; } }
.ds-kontakt-form-wrap { padding: 2rem; }
@media (min-width: 768px) { .ds-kontakt-form-wrap { padding: 3rem; } }
.ds-map { overflow: hidden; background: var(--muted); }
.ds-map iframe { width: 100%; height: 320px; border: 0; display: block; }
@media (min-width: 768px) { .ds-map iframe { height: 420px; } }

/* Fluent Forms — dopasowanie do stylu edytorskiego (pól input/select/textarea) */
.ds-kontakt-form-wrap .ff-el-form-control,
.ds-kontakt-form-wrap select.ff-el-form-control,
.ds-kontakt-form-wrap textarea.ff-el-form-control {
    border: 1px solid var(--border) !important;
    background: var(--background) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    font-family: var(--font-sans) !important;
}
.ds-kontakt-form-wrap .ff-el-form-control:focus { border-color: var(--foreground) !important; }
.ds-kontakt-form-wrap .ff-el-input--label label,
.ds-kontakt-form-wrap .ff-el-group-label { font-size: 0.875rem !important; color: var(--foreground) !important; }
.ds-kontakt-form-wrap .ff-btn, .ds-kontakt-form-wrap button[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background-color: var(--primary) !important; color: var(--primary-foreground) !important;
    padding: 0.9rem 2rem !important; font-size: 0.75rem !important; letter-spacing: 0.16em !important;
    text-transform: uppercase !important; border-radius: var(--radius) !important; border: none !important;
}
.ds-kontakt-form-wrap .ff-btn:hover, .ds-kontakt-form-wrap button[type="submit"]:hover { opacity: 0.85; }
/* Kontakt (Fluent Form 4) — checkboxy, zgody i notka jak w kontakt.tsx (Lovable): checkbox 18 px (size-4.5) z obramowaniem i bez zaokrągleń, zaznaczony = ciemne tło,
   tekst zgód text-xs muted (gap 12 px), notka o administratorze text-xs muted/80 z podkreślonym linkiem, select z chevronem (Radix Select w Lovable) */
.ds-kontakt-form-wrap .ff-el-form-check-label { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.75rem; line-height: 1.625; color: var(--muted-foreground); cursor: pointer; }
.ds-kontakt-form-wrap .ff-el-form-check-label.ff_tc_label { display: flex !important; } /* Fluent wymusza table-row dla zgody — gap 12 px wymaga flexa */
.ds-kontakt-form-wrap .ff_tc_checkbox { display: flex !important; flex: none; width: auto !important; padding: 0 !important; margin: 0 !important; }
.ds-kontakt-form-wrap .ff_tc_label .ff_t_c { display: block !important; padding: 0 !important; margin: 0 !important; line-height: 1.625 !important; }
.ds-kontakt-form-wrap .ff-el-tc .ff_tc_label .ff_tc_checkbox { padding: 0 !important; margin: 0 !important; }
.ds-kontakt-form-wrap .ff-el-form-check-label input[type="checkbox"].ff-el-form-check-input { top: 0 !important; vertical-align: top; }
.ds-kontakt-form-wrap .ff-el-form-check, .ds-kontakt-form-wrap .ff-el-tc { margin: 0 !important; padding: 0 !important; min-height: 0 !important; }
.ds-kontakt-form-wrap .ff-el-group:has(.ff-el-form-check) { margin-bottom: 1.5rem; } /* Lovable: grid gap-6 między zgodami (label 20 px + 24 px = 44 px) */
.ds-kontakt-form-wrap .ff-el-group.ff-el-form-hide_label > .ff-el-input--label { display: none; }
.ds-kontakt-form-wrap .ff-custom_html { margin-bottom: 1.5rem; }
.ds-kontakt-form-wrap input[type="checkbox"].ff-el-form-check-input { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 1.125rem; height: 1.125rem; margin: 0.125rem 0 0; border: 1px solid var(--border); border-radius: 0; background: transparent; cursor: pointer; }
.ds-kontakt-form-wrap input[type="checkbox"].ff-el-form-check-input:checked { background: var(--primary); border-color: var(--primary); }
.ds-kontakt-form-wrap input[type="checkbox"].ff-el-form-check-input:checked::after { content: ""; position: absolute; left: 0.3125rem; top: 0.09375rem; width: 0.3125rem; height: 0.625rem; border: solid var(--primary-foreground); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ds-kontakt-form-wrap input[type="checkbox"].ff-el-form-check-input:focus-visible { outline: 2px solid var(--foreground); outline-offset: 2px; }
.ds-kontakt-form-wrap .ds-form-note { font-size: 0.75rem; line-height: 1.625; color: color-mix(in oklch, var(--muted-foreground) 80%, transparent); }
.ds-kontakt-form-wrap .ds-form-note a { text-decoration: underline; text-underline-offset: 2px; }
.ds-kontakt-form-wrap .ds-form-note a:hover { color: var(--foreground); }
.ds-kontakt-form-wrap select.ff-el-form-control { -webkit-appearance: none; appearance: none; padding-right: 2.5rem !important; min-height: 2.875rem; line-height: 1.25rem; border-radius: 2px !important; background-repeat: no-repeat !important; background-position: right 1rem center !important; background-size: 1rem !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23807a73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; }
/* lightbox galerii: podpis pod zdjęciem (Lightbox.tsx: max-w-2xl, text-sm italic, background/80; zdjęcie max 78vh) */
.pf-lightbox__fig { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 85vh; }
.pf-lightbox__fig img { max-height: 78vh; }
.pf-lightbox__caption { margin-top: 0.75rem; max-width: 42rem; text-align: center; font-size: 0.875rem; line-height: 1.25rem; font-style: italic; color: color-mix(in oklch, var(--background) 80%, transparent); }

/* Polityka prywatności — 1:1 z polityka-prywatnosci.tsx (Lovable): hero py-16 md:py-24 z dolną linią, treść max-w-3xl, h2 text-2xl md:3xl (mt-10), h3 text-lg md:xl (mt-6),
   akapity 16/24 w kolorze foreground (klasa prose-editorial w Lovable nie ma stylów), listy disc/decimal pl-6, link clay-dark z podkreśleniem po najechaniu, blok CTA mt-12 pt-8 */
.of-policy-hero { border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent); }
.of-policy-hero__in { padding-block: 4rem; }
@media (min-width: 768px) { .of-policy-hero__in { padding-block: 6rem; } }
.of-policy-hero .eyebrow { display: block; }
.of-policy-hero h1 { margin-top: 1rem; font-size: 2.25rem; line-height: 1.25; color: var(--foreground); }
@media (min-width: 768px) { .of-policy-hero h1 { font-size: 3rem; } }
.of-policy-hero__name, .of-policy-hero__upd { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.of-policy-hero__name { margin-top: 1rem; }
.of-policy-hero__upd { margin-top: 0.25rem; }
.of-policy-body { padding-block: 3rem; }
@media (min-width: 768px) { .of-policy-body { padding-block: 4rem; } }
.of-policy { max-width: 48rem; font-size: 1rem; line-height: 1.5; color: var(--foreground); }
.of-policy p, .of-policy ul, .of-policy ol { margin: 0; }
.of-policy ul { list-style: disc; padding-left: 1.5rem; }
.of-policy ol { list-style: decimal; padding-left: 1.5rem; }
.of-policy li { margin: 0; }
.of-policy strong { font-weight: 700; }
.of-policy__h2 { margin-top: 2.5rem; font-size: 1.5rem; line-height: 2rem; color: var(--foreground); }
.of-policy__h2--first { margin-top: 0; }
@media (min-width: 768px) { .of-policy__h2 { font-size: 1.875rem; line-height: 2.25rem; } }
.of-policy__h3 { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--foreground); }
@media (min-width: 768px) { .of-policy__h3 { font-size: 1.25rem; } }
.of-policy__link { color: var(--clay-dark); text-underline-offset: 2px; }
.of-policy__link:hover { text-decoration: underline; }
.of-policy__cta { margin-top: 3rem; border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent); padding-top: 2rem; }
.of-policy__cta p { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.of-policy__cta .btn-primary { margin-top: 1rem; }

/* ==========================================================================
   Homepage — hero slider
   ========================================================================== */
/* Hero slider v2 — zdjęcie pełnoekranowe BEZ nakładki tekstowej, osobny pasek z tytułem pod spodem.
   Odpowiednik HeroSlider.tsx (Lovable) po redesignie "Caption bar — solid, never covers the photo". */
.ds-hero2 { position: relative; margin-inline: auto; display: flex; max-width: 2560px; flex-direction: column; overflow: hidden; background: var(--background); height: calc(100svh - 81px); }
@media (min-width: 1024px) { .ds-hero2 { height: auto; } }
.ds-hero2__photo { position: relative; min-height: 0; flex: 1 1 auto; overflow: hidden; background: var(--muted); }
@media (min-width: 1024px) { .ds-hero2__photo { min-height: clamp(560px, 54vh, 960px); } }
.ds-hero2__slide { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s ease; }
.ds-hero2__slide.is-active { opacity: 1; }
.ds-hero2__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@media (max-width: 1023px) {
    .ds-hero2__slide img.hero-edge-mask {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
    }
}
.ds-hero2__arrow { position: absolute; top: 50%; z-index: 10; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--foreground) 20%, transparent); background: color-mix(in oklch, var(--background) 50%, transparent); color: var(--foreground); backdrop-filter: blur(4px); transform: translateY(-50%); transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease; }
.ds-hero2__arrow svg { width: 1.25rem; height: 1.25rem; }
.ds-hero2__arrow--prev { left: 0.5rem; }
.ds-hero2__arrow--next { right: 0.5rem; }
/* Lovable (HeroSlider.tsx): na mobile strzałki zawsze widoczne (size-9, left-2/right-2); od lg 2.75rem, left-4/right-4 i widoczne po najechaniu/fokusie na CAŁY slider (group/slider) */
@media (min-width: 1024px) {
    .ds-hero2__arrow { width: 2.75rem; height: 2.75rem; opacity: 0; }
    .ds-hero2__arrow--prev { left: 1rem; }
    .ds-hero2__arrow--next { right: 1rem; }
    .ds-hero2:hover .ds-hero2__arrow, .ds-hero2:focus-within .ds-hero2__arrow { opacity: 1; }
}
.ds-hero2__arrow:hover { background: var(--foreground); color: var(--background); }
/* klikalne zdjęcie hero → oferta aktywnego slajdu (nad slajdami, pod strzałkami) */
.ds-hero2__photolink { position: absolute; inset: 0; z-index: 5; cursor: pointer; }
.ds-hero2__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--border); background: var(--background); padding-block: 1rem; }
@media (min-width: 1024px) { .ds-hero2__bar { padding-block: 1.25rem; } }
.ds-hero2__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.125rem; line-height: 1.1; color: var(--foreground); }
@media (min-width: 640px) { .ds-hero2__title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .ds-hero2__title { font-size: 2.25rem; } }
.ds-hero2__controls { display: flex; flex-shrink: 0; align-items: center; gap: 1rem; }
@media (min-width: 1024px) { .ds-hero2__controls { gap: 1.5rem; } }
.ds-hero2__dots { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .ds-hero2__dots { gap: 0.625rem; } }
.ds-hero2__dot { height: 0.5rem; width: 0.5rem; border-radius: 9999px; border: 0; padding: 0; background: color-mix(in oklch, var(--foreground) 30%, transparent); transition: all 0.3s ease; }
.ds-hero2__dot:hover { background: color-mix(in oklch, var(--foreground) 60%, transparent); }
.ds-hero2__dot.is-active { width: 0.625rem; background: var(--foreground); }
.ds-hero2__cta { display: none; align-items: center; justify-content: center; border: 1px solid color-mix(in oklch, var(--foreground) 40%, transparent); border-radius: var(--radius-sm); padding: 0.5rem 1.25rem; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--foreground); transition: background-color 0.25s ease, color 0.25s ease; }
@media (min-width: 640px) { .ds-hero2__cta { display: inline-flex; } }
@media (min-width: 1024px) { .ds-hero2__cta { padding: 0.75rem 2rem; font-size: 0.7rem; } }
.ds-hero2__cta:hover { background-color: var(--foreground); color: var(--background); }

/* Portfolio teaser carousel (homepage) — odpowiednik PortfolioCarousel.tsx */
.ds-pf-carousel { position: relative; }
.ds-pf-track {
  display: flex;
  overflow: hidden;
  margin-top: 3rem;
}
.ds-pf-track__inner {
  display: flex;
  transition: transform 0.7s ease-out;
  --per-view: 1;
  transform: translateX(calc(var(--active, 0) * -100% / var(--per-view)));
}
@media (min-width: 640px) { .ds-pf-track__inner { --per-view: 2; } }
@media (min-width: 1024px) { .ds-pf-track__inner { --per-view: 3; } }
@media (prefers-reduced-motion: reduce) { .ds-pf-track__inner { transition: none; } }
.ds-pf-track__inner.is-snap { transition: none; } /* cichy skok przy zapętleniu (jak .portfolio-track.is-snap w Lovable) */
.ds-pf-track__inner > * { flex: 0 0 calc(100% / var(--per-view)); padding-inline: 0.375rem; }
.ds-pf-card { position: relative; display: block; overflow: hidden; background: var(--muted); }
.ds-pf-card__img { aspect-ratio: 8/5; width: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ds-pf-card:hover .ds-pf-card__img { transform: scale(1.05); }
.ds-pf-card__overlay { position: absolute; inset: 0 0.375rem; display: flex; align-items: flex-end; background: linear-gradient(to top, color-mix(in oklch, var(--foreground) 70%, transparent), color-mix(in oklch, var(--foreground) 10%, transparent) 60%, transparent); }
.ds-pf-card__row { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1rem; }
.ds-pf-card__label { font-family: var(--font-display); font-size: 1.05rem; color: var(--background); }
.ds-pf-card__arrow { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--background) 40%, transparent); background: color-mix(in oklch, var(--background) 10%, transparent); color: var(--background); backdrop-filter: blur(4px); }
.ds-pf-nav { position: absolute; top: 58%; z-index: 10; display: none; align-items: center; justify-content: center; width: 2.875rem; height: 2.875rem; border-radius: 999px; border: 1px solid var(--border); background: color-mix(in oklch, var(--background) 85%, transparent); color: var(--foreground); transform: translateY(-50%); }
@media (min-width: 1024px) { .ds-pf-nav { display: grid; } }
.ds-pf-nav--prev { left: 0.5rem; }
.ds-pf-nav--next { right: 0.5rem; }
.ds-pf-dots { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.6rem; }
.ds-pf-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; border: 0; padding: 0; background: color-mix(in oklch, var(--foreground) 25%, transparent); transition: all 0.3s ease; }
.ds-pf-dot.is-active { background: var(--clay); transform: scale(1.25); }

/* ==========================================================================
   Blog — single.php / home.php
   ========================================================================== */
.article-full-image { border-radius: var(--radius-lg); overflow: hidden; }
.article-full-image img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 32rem; }
.of-prose img { max-width: 100%; height: auto; border-radius: var(--radius-lg); margin-block: 1.5rem; }
.of-prose h2, .of-prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.of-prose a { color: var(--clay-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   /studio-fotograficzne-warszawa
   ========================================================================== */
.ds-studio-hero { position: relative; min-height: 420px; height: 60vh; overflow: hidden; }
@media (min-width: 768px) { .ds-studio-hero { height: 70vh; } }
.ds-studio-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ds-studio-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklch, var(--foreground) 60%, transparent), color-mix(in oklch, var(--foreground) 15%, transparent) 60%, transparent); }
.ds-studio-hero__text { position: absolute; inset-inline: 0; bottom: 0; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .ds-studio-hero__text { padding-bottom: 4rem; } }
.ds-studio-amenities { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem 1.5rem; }
@media (min-width: 640px) { .ds-studio-amenities { grid-template-columns: repeat(2, 1fr); } }
.ds-studio-amenities__img-wrap { overflow: hidden; border-radius: var(--radius-lg); background: var(--muted); }
.ds-studio-amenities__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s ease; }
.ds-studio-amenities__img-wrap:hover .ds-studio-amenities__img { transform: scale(1.05); }
@media (min-width: 900px) { .ds-studio-location { grid-template-columns: 1fr 1fr; } }

/* Scroll to top — odpowiednik ScrollToTop.tsx (Lovable) */
.ds-scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 90%, transparent);
  color: var(--foreground);
  box-shadow: 0 2px 10px color-mix(in oklch, var(--foreground) 12%, transparent);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s ease;
}
.ds-scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ds-scroll-top:hover { color: var(--clay-dark); }

/* Voucher carousel (pojedynczy slajd + podpis) — odpowiednik VoucherCarousel (Lovable) */
.ds-vc { position: relative; margin-top: 2.5rem; }
.ds-vc__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.ds-vc__track { display: flex; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.ds-vc__slide { position: relative; flex: 0 0 100%; width: 100%; }
.ds-vc__slide img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.ds-vc__slide figcaption { margin-top: 0.75rem; text-align: center; font-style: italic; font-size: 0.9rem; color: var(--muted-foreground); }
.ds-vc__nav { position: absolute; top: 40%; display: none; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--foreground) 25%, transparent); background: color-mix(in oklch, var(--background) 60%, transparent); color: var(--foreground); backdrop-filter: blur(4px); transition: background-color 0.2s ease, color 0.2s ease; }
.ds-vc__nav:hover { background: var(--foreground); color: var(--background); }
.ds-vc__nav--prev { left: 0.5rem; }
.ds-vc__nav--next { right: 0.5rem; }
@media (min-width: 768px) { .ds-vc__nav { display: flex; } }
.ds-vc__dots { margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.ds-vc__dot { height: 6px; width: 8px; border-radius: 999px; border: 0; padding: 0; background: color-mix(in oklch, var(--foreground) 30%, transparent); transition: all 0.2s ease; }
.ds-vc__dot.is-active { width: 2rem; background: var(--foreground); }

/* Karty z linkami (np. "Sesje sezonowe") — odpowiednik sezony.map() w Lovable */
@media (min-width: 640px) { .of-card-links-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 1024px) { .of-card-links-grid { grid-template-columns: repeat(3, 1fr) !important; } }
.of-card-link { display: block; background: var(--sand); padding: 1.5rem; transition: background-color 0.2s ease; }
.of-card-link:hover { background: color-mix(in oklch, var(--sand) 70%, transparent); }
.of-card-link img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.of-card-link h3 { margin-top: 1.25rem; font-size: 1.4rem; }
.of-card-link h3 span { margin-left: 0.4rem; display: inline-block; color: var(--clay); transition: transform 0.2s ease; }
.of-card-link:hover h3 span { transform: translateX(3px); }
.of-card-link p { margin-top: 0.6rem; font-size: 0.85rem; line-height: 1.5; color: var(--muted-foreground); }
/* Wariant z ikoną zamiast zdjęcia (Harmonogram sesji, 351) — jak `h.Icon` w Lovable. */
.of-card-link__icon { color: var(--clay); transition: transform 0.2s ease; }
.of-card-link--icon:hover .of-card-link__icon { transform: translateY(-3px); }

@media (min-width: 640px) { .of-bullet-list-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* ==========================================================================
   Blog: pojedynczy wpis 1:1 z Lovable (blog.$slug.tsx). Klasy bp-* — niezależne od .of-prose.
   ========================================================================== */
.bp .eyebrow { display: block; line-height: 1.5; }
.bp-hero { border-bottom: 1px solid var(--border); }
.bp-hero__grid { display: grid; align-items: center; gap: 3rem; padding-block: 4rem; }
.bp-hero__title { margin-top: 1.5rem; font-size: 2.25rem; line-height: 1.08; }
.bp-hero__intro { margin-top: 1.5rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.bp-hero__cover { display: block; width: 100%; height: auto; } /* oryginalne proporcje zdjęcia (bez przycinania do 4:5) */
@media (min-width: 768px) {
  .bp-hero__grid { grid-template-columns: 1fr 1fr; padding-block: 6rem; }
  .bp-hero__grid--single { grid-template-columns: 1fr; }
  .bp-hero__title { font-size: 3rem; }
}

.bp-body { padding-block: 4rem; }
.bp-prose, .bp-prose-w { max-width: 42rem; }
.bp-prose > * { margin-block: 0; }
.bp-prose > * + * { margin-top: 1rem; }
.bp-prose p, .bp-prose ul, .bp-prose ol, .bp-prose blockquote { font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.bp-prose h1, .bp-prose h2 { margin-top: 3rem; font-size: 1.875rem; line-height: 1.2; }
.bp-prose h3, .bp-prose h4 { margin-top: 2rem; font-size: 1.5rem; line-height: 1.33; }
.bp-prose h1 sub, .bp-prose h2 sub, .bp-prose h3 sub { font-size: inherit; vertical-align: baseline; }
.bp-prose > :first-child { margin-top: 0; }
.bp-prose ul, .bp-prose ol { padding-left: 1.25rem; list-style: disc; }
.bp-prose ol { list-style: decimal; }
.bp-prose li + li { margin-top: 0.4rem; }
.bp-prose strong { font-weight: 600; color: var(--foreground); }
.bp-prose a { color: var(--clay-dark); text-decoration: underline; text-underline-offset: 3px; }
.bp-prose a:hover { color: var(--foreground); }
.bp-prose figure { margin-inline: 0; }
.bp-prose img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto 0; }
.bp-prose p > img:only-child, .bp-prose figure > img { margin-top: 0; }
.bp-prose figure { margin-top: 1.5rem; }
.bp-prose img[style*="inline-block"] { vertical-align: top; }
.bp-prose figcaption { margin-top: 0.5rem; text-align: center; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }

.bp-tags { padding-block: 2rem; }
.bp-tags__list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.bp-tag { border: 1px solid var(--border); padding: 0.25rem 0.75rem; font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); }

.bp-faq { background-color: var(--sand); }
.bp-faq__inner { padding-block: 5rem; }
.bp-faq__inner--cta { padding-block: 4rem; }
.bp-faq__title { margin-top: 1rem; font-size: 2.25rem; line-height: 1.11; }
.bp-faq__list { max-width: 48rem; margin-top: 2.5rem; border-block: 1px solid var(--border); }
.bp-faq__item { padding-block: 1.25rem; }
.bp-faq__item:not(:last-child) { border-bottom: 1px solid var(--border); }
.bp-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 400; }
.bp-faq__item summary::-webkit-details-marker { display: none; }
.bp-faq__plus { flex-shrink: 0; font-size: 1.875rem; line-height: 1; color: var(--clay); transition: transform 0.2s ease; }
.bp-faq__item[open] .bp-faq__plus { transform: rotate(45deg); }
.bp-faq__item p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.bp-faq__cta { margin-top: 2.5rem; line-height: 1.5; }
.bp-faq__inner--cta .bp-faq__cta { margin-top: 0; }

.bp-next { padding-block: 5rem; }
.bp-next__grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.bp-next h2 { font-size: 1.5rem; line-height: 2rem; }
.bp-next article p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 768px) { .bp-next__grid { grid-template-columns: 1fr 1fr; } }

/* Blog: nagłówek listy 1:1 z Lovable (blog.index.tsx) */
.bp-index-hero { border-bottom: 1px solid var(--border); }
.bp-index-hero__inner { padding-block: 4rem; }
.bp-index-hero .eyebrow { display: block; line-height: 1.5; }
.bp-index-hero__title { margin-top: 1.5rem; max-width: 42rem; font-size: 3rem; line-height: 1.05; }
.bp-index-hero__lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.bp-index-list { padding-block: 5rem; }
.bp-index-list .of-other-services-grid { margin-top: 0; }
@media (min-width: 768px) {
  .bp-index-hero__inner { padding-block: 6rem; }
  .bp-index-hero__title { font-size: 3.75rem; }
}

/* ==========================================================================
   Kontakt: nagłówek i formularz 1:1 z Lovable (kontakt.tsx) — siatka 2 kolumn od 640 px,
   wymagane pola bez gwiazdek (walidacja zostaje), pola dat natywne (type=date).
   ========================================================================== */
.ds-kontakt-hero { padding-block: 4rem; }
.ds-kontakt-hero .eyebrow { display: block; line-height: 1.5; }
.ds-kontakt-hero__title { margin-top: 1rem; max-width: 42rem; font-size: 3rem; line-height: 1; }
.ds-kontakt-hero__lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 768px) {
  .ds-kontakt-hero { padding-block: 6rem; }
  .ds-kontakt-hero__title { font-size: 3.75rem; }
}
.ds-kontakt-grid { padding-bottom: 6rem; }
.ds-kontakt-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ds-kontakt-info { margin-top: 2rem; font-size: 0.875rem; line-height: 1.625; }
.ds-kontakt-info .eyebrow { display: block; line-height: 1.625; } /* Lovable: eyebrow dziedziczy leading-relaxed (17,875 px) */

.ds-kontakt-form-wrap fieldset { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.ds-kontakt-form-wrap .ff-el-group { margin-bottom: 0 !important; grid-column: 1 / -1; }
@media (min-width: 640px) {
  .ds-kontakt-form-wrap fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-kontakt-form-wrap .ff-el-group:has(input[type="text"], input[type="email"], input[type="date"], select) { grid-column: auto; }
}
.ds-kontakt-form-wrap .asterisk-right label:after { content: none !important; }
.ds-kontakt-form-wrap .ff-el-input--label { display: block !important; margin: 0 0 0.5rem !important; padding: 0 !important; font-size: 0.875rem; line-height: 1.25rem; }
.ds-kontakt-form-wrap .ff-el-group.ff-el-form-hide_label > .ff-el-input--label { display: none !important; }
.ds-kontakt-form-wrap .ff-el-input--label label { display: block; line-height: 1.25rem; margin: 0 !important; padding: 0 !important; }
.ds-kontakt-form-wrap .ff-el-form-control { line-height: 1.25rem !important; min-height: 2.875rem; box-sizing: border-box; }
.ds-kontakt-form-wrap input.ff-el-form-control, .ds-kontakt-form-wrap select.ff-el-form-control { height: 2.875rem; }
.ds-kontakt-form-wrap textarea.ff-el-form-control { display: block; }
.ds-kontakt-form-wrap .ff-el-group:has(textarea) { padding-bottom: 0.25rem; } /* Lovable: textarea inline-block zostawia 4 px pod sobą */
.ds-kontakt-form-wrap textarea.ff-el-form-control { height: 7.875rem; min-height: 7.875rem; }
.ds-kontakt-map { padding-bottom: 6rem; }
.ds-kontakt-map .eyebrow { display: block; line-height: 1.5; }
.ds-kontakt-map__title { margin-top: 1rem; font-size: 1.875rem; line-height: 1.2; }
.ds-kontakt-map .ds-map { margin-top: 2rem; }
@media (min-width: 768px) { .ds-kontakt-map__title { font-size: 2.25rem; line-height: 1.11; } }
.ds-kontakt-form-wrap .ff-btn, .ds-kontakt-form-wrap button[type="submit"] { font-weight: 400 !important; }
.ds-kontakt-form-wrap .ff-el-input--label label { font-weight: 400 !important; }
.ds-kontakt-form-wrap .ff-el-form-control { color: var(--foreground) !important; }
.ds-kontakt-form-wrap input.ff-el-form-control, .ds-kontakt-form-wrap textarea.ff-el-form-control { border-radius: 0 !important; }

/* Oferta — pasek 3 zdjęć (Lovable: grid-cols-1 md:grid-cols-3, aspect-3/4 object-cover, pełna szerokość) */
.of-image-strip__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .of-image-strip__grid { grid-template-columns: repeat(3, 1fr); } }
.of-image-strip__img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.of-narrative__img--addons { aspect-ratio: 4/3; } /* Lovable: aspect-4/3 sm:aspect-3/2 (zdjęcie obok cennika dodatków) */
@media (min-width: 640px) { .of-narrative__img--addons { aspect-ratio: 3/2; } }

/* Pasek 5 zdjęć (Lovable: grid-cols-2 md:grid-cols-5, 3. zdjęcie col-span-2 na telefonie) */
.of-image-strip--n5 .of-image-strip__grid { grid-template-columns: repeat(2, 1fr); }
.of-image-strip--n5 .of-image-strip__img:nth-child(3) { grid-column: span 2; }
@media (min-width: 768px) {
  .of-image-strip--n5 .of-image-strip__grid { grid-template-columns: repeat(5, 1fr); }
  .of-image-strip--n5 .of-image-strip__img:nth-child(3) { grid-column: auto; }
}
/* Narrative — zdjęcie w naturalnej proporcji */
.of-narrative__img--natural { aspect-ratio: auto; height: auto; }
/* Sekcja voucher ze zdjęciem — h2 text-3xl md:text-4xl */
.of-vf__heading { margin-top: 1rem; font-size: 1.875rem; }
@media (min-width: 768px) { .of-vf__heading { font-size: 2.25rem; } }

/* Pakiet pojedynczy (Lovable: biała sekcja, karta bg-sand max-w-md) */
.of-pricing-grid--n1 { max-width: 28rem; }
.of-pricing-white .of-package-card { background: var(--sand); }
.of-package-card--ring { box-shadow: 0 0 0 1px var(--clay); }

/* FAQ — Lovable: h2 text-4xl, lista max-w-3xl z liniami, pytanie font-display text-xl, plus text-3xl clay obracany o 45° */
.of-faq__heading { margin-top: 1rem; font-size: 2.25rem; }
.of-faq { max-width: 48rem; margin-top: 2.5rem; border-bottom: 1px solid var(--border); }
.ds-faq-item { padding-block: 1.25rem; }
.ds-faq-item:last-child { border-bottom: 0; }
.ds-faq-item summary { gap: 1rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.ds-faq-icon { flex-shrink: 0; font-size: 1.875rem; line-height: 1; color: var(--clay); }
.ds-faq-item[open] .ds-faq-icon { transform: rotate(45deg); }
.ds-faq-item p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; }

/* "Zobacz pozostałe sesje" — Lovable OtherServices: karty ze zdjęciem 4:3 i nakładką z tekstem */
.of-os__heading { margin-top: 1rem; font-size: 2.25rem; }
.of-os__intro { margin-top: 1.25rem; max-width: 36rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }
.of-os-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .of-os-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .of-os-grid { grid-template-columns: repeat(3, 1fr); } }
.of-os-card { position: relative; display: block; overflow: hidden; background: var(--background); }
.of-os-card__img { aspect-ratio: 4/3; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.of-os-card:hover .of-os-card__img { transform: scale(1.05); }
.of-os-card__shade { position: absolute; inset: 0; opacity: 0.9; transition: opacity 0.2s ease;
  background: linear-gradient(to top, color-mix(in oklch, var(--foreground) 90%, transparent), color-mix(in oklch, var(--foreground) 30%, transparent), transparent); }
.of-os-card:hover .of-os-card__shade { opacity: 0.95; }
.of-os-card__text { position: absolute; bottom: 0; left: 0; padding: 0.5rem 1.25rem 1.25rem; }
.of-os-card__text h3 { font-size: 1.25rem; color: var(--background); }
@media (min-width: 768px) { .of-os-card__text h3 { font-size: 1.5rem; } }
.of-os-card__text p { margin-top: 0.25rem; max-width: 20rem; font-size: 0.75rem; line-height: 1.625; color: color-mix(in oklch, var(--background) 80%, transparent); }
.of-os-card__arrow { display: inline-block; margin-top: 0.5rem; font-size: 0.75rem; color: var(--background); transition: transform 0.2s ease; }
.of-os-card:hover .of-os-card__arrow { transform: translateX(0.25rem); }

/* Przedszkolna — Harmonogram sesji (Lovable: lg:grid-cols-5 gap-px bg-border, kafelek bg-background p-6) */
.of-harm__heading { margin-top: 1rem; font-size: 1.5rem; }
@media (min-width: 768px) { .of-harm__heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .of-harm__heading { font-size: 3rem; } }
.of-harm__intro { margin-top: 1.5rem; max-width: 42rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }
.of-harm__grid { margin: 2.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 1px; background: var(--border); grid-template-columns: 1fr; }
@media (min-width: 640px) { .of-harm__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .of-harm__grid { grid-template-columns: repeat(5, 1fr); } }
.of-harm__grid li { background: var(--background); }
.of-harm__item { display: flex; flex-direction: column; gap: 1rem; height: 100%; padding: 1.5rem; }
.of-harm__item:hover .of-card-link__icon { transform: translateY(-0.25rem); }
.of-harm__item h3 { font-size: 1.25rem; }
.of-harm__item:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.of-harm__item p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-foreground); }

/* Przedszkolna — "Dla dyrektora i wychowawców" (Lovable: grid gap-6 sm:2 lg:3, li border-t border-foreground/15 pt-5, numer font-display text-2xl clay) */
.of-numlist__heading { margin-top: 1rem; max-width: 42rem; font-size: 1.5rem; }
@media (min-width: 768px) { .of-numlist__heading { font-size: 2.25rem; } }
.of-numlist__intro { margin-top: 1.5rem; max-width: 42rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }
.of-numlist { margin: 2.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .of-numlist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .of-numlist { grid-template-columns: repeat(3, 1fr); } }
.of-numlist li { border-top: 1px solid color-mix(in oklch, var(--foreground) 15%, transparent); padding-top: 1.25rem; }
.of-numlist__num { font-family: var(--font-display); font-size: 1.5rem; color: var(--clay); }
.of-numlist h3 { margin-top: 0.5rem; font-size: 1.25rem; }
.of-numlist p { margin-top: 0.5rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }

/* Oferta urodzinowa — voucher i dodatki ze zdjęciami (Lovable: grid gap-8 md:grid-cols-2; items-center / items-start) */
.of-vam__row { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .of-vam__row { grid-template-columns: repeat(2, 1fr); } }
.of-vam__row--center { align-items: center; }
.of-vam__row--start { align-items: start; }
.of-vam__img { display: block; width: 100%; height: auto; object-fit: cover; }
.of-vam__voucher { display: flex; flex-direction: column; padding: 2rem; }

/* Oferta "sesja na prezent" (361) — Lovable */
.of-hero__img--r43 { aspect-ratio: 4/3; }
.of-narrative__img--4-3 { aspect-ratio: 4/3; }
.of-h2-lg { margin-top: 1rem; max-width: 42rem; font-size: 2.25rem; }
.of-okazje { margin: 2.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .of-okazje { grid-template-columns: repeat(2, 1fr); } }
.of-okazje li { border-bottom: 1px solid color-mix(in oklch, var(--foreground) 15%, transparent); padding-bottom: 1rem; font-size: 0.875rem; }
.of-okazje strong { font-weight: 500; }
.of-pl__list { margin: 3rem 0 0; padding: 0; list-style: none; border-top: 1px solid color-mix(in oklch, var(--foreground) 15%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--foreground) 15%, transparent); }
.of-pl__list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding-block: 1.25rem; }
.of-pl__list li + li { border-top: 1px solid color-mix(in oklch, var(--foreground) 15%, transparent); }
.of-pl__name { font-family: var(--font-display); font-size: 1.25rem; }
@media (min-width: 768px) { .of-pl__name { font-size: 1.5rem; } }
.of-pl__name:hover { color: var(--clay); }
.of-pl__price { font-family: var(--font-display); font-size: 1.125rem; color: var(--clay); }
.of-icards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .of-icards { grid-template-columns: repeat(2, 1fr); } }
.of-icards__card { padding: 2rem; }
.of-icards__img { display: block; width: 100%; object-fit: cover; }
.of-icards__img--3-4 { aspect-ratio: 3/4; }
.of-icards__img--4-3 { aspect-ratio: 4/3; }
.of-icards__img--natural { height: auto; }
.of-icards__card h3 { margin-top: 1.5rem; font-size: 1.5rem; }
.of-icards__card p { margin-top: 0.75rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }

/* Pas 4 zdjęć (Lovable: grid-cols-2 md:grid-cols-4) */
.of-image-strip--n4 .of-image-strip__grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .of-image-strip--n4 .of-image-strip__grid { grid-template-columns: repeat(4, 1fr); } }
.of-hero__img--square { aspect-ratio: 1/1; }

/* 351 "Zdjęcia legitymacyjne" — Lovable: gap-10 md:gap-14, h2 text-2xl md:text-4xl */
.of-narrative--lg { gap: 2.5rem; }
@media (min-width: 900px) { .of-narrative--lg { gap: 3.5rem; } }
.of-h2-md { font-size: 1.5rem; }
@media (min-width: 768px) { .of-h2-md { font-size: 2.25rem; } }
.of-narrative--lg .of-prose p { font-size: 0.875rem; line-height: 1.625; }

/* Podstrony sezonowe przedszkola (Lovable SeasonSessionPage) */
.of-hero-under h1 { max-width: 48rem; font-size: 2.25rem; }
@media (min-width: 768px) { .of-hero-under h1 { font-size: 3.75rem; } }
.of-hero-under > div > p:not(.eyebrow) { max-width: 42rem; font-size: 1rem; line-height: 1.625; }
.of-hero__img--under32 { aspect-ratio: 3/2; object-fit: cover; height: auto; border-radius: 0; margin-top: 2.5rem; }
.of-textblocks { padding-block: 5rem; display: flex; flex-direction: column; gap: 3.5rem; }
.of-textblocks__item { max-width: 48rem; }
.of-textblocks__item h2 { font-size: 1.875rem; }
@media (min-width: 768px) { .of-textblocks__item h2 { font-size: 2.25rem; } }
.of-textblocks__item p { margin-top: 1rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }
@media (min-width: 768px) { .of-textblocks__item p { font-size: 1rem; } }
