/* ===== Monsun Studio — style.css =====
   Paleta i typografia 1:1 z projektu (oklch), przeniesione na klasy CSS. */

:root {
  --ink:      oklch(19% 0.004 75);
  --muted:    oklch(48% 0.012 75);
  --accent:   oklch(40% 0.05 155);
  --light:    oklch(98% 0.004 75);
  --bg:       oklch(97% 0.006 75);
  --bg-2:     oklch(94% 0.008 75);
  --hairline: oklch(88% 0.006 75);
  --hairline-2: oklch(85% 0.008 75);
  --hairline-dark: oklch(30% 0.006 75);
  --chip-border: oklch(80% 0.008 75);
  --footer-muted: oklch(65% 0.01 75);
  --footer-link: oklch(75% 0.01 75);
  --footer-fine: oklch(55% 0.01 75);

  --serif: 'Lato', sans-serif;
  --sans:  'Lato', sans-serif;
  --taupe: oklch(48% 0.028 75);
  --taupe-light: oklch(58% 0.028 75);

  --page-x: 56px;
}

* { box-sizing: border-box; }

/* overflow-anchor: none — nagłówek (position: sticky) zmienia własną
   wysokość przy przewijaniu (patrz .site-header niżej), a Chrome domyślnie
   próbuje "korygować" pozycję scrolla, żeby skompensować taką zmianę
   wysokości nad aktualnie widoczną treścią ("scroll anchoring" — Safari i
   Firefox zachowują się tu inaczej). Ta korekta sama generuje zdarzenie
   scroll, które może przełączyć nagłówek z powrotem w drugą stronę — i tak
   w kółko, bez żadnego udziału użytkownika. Wyłączone globalnie, bo to
   jedyny pewny sposób, żeby żaden inny element nie wywołał tego samego. */
/* scroll-padding-top — nagłówek jest sticky i "pływa" nad treścią, więc bez
   tego przewinięcie do kotwicy (np. #rezerwacja, #faq, #kontakt — patrz
   go(route, anchor) w js/app.js) ląduje tak, że nagłówek zakrywa górę
   docelowej sekcji (a przy niescrolowanej stronie ma nawet 140px wysokości).
   Ta jedna reguła dotyczy każdej kotwicy na stronie, obecnej i przyszłej. */
html { scroll-behavior: smooth; overflow-anchor: none; scroll-padding-top: 150px; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

.hidden { display: none !important; }

/* ---------- Header ---------- */
/* Belka jest zawsze w kolorze taupe z jasnymi napisami — jedyny wyjątek to
   strona główna, zanim użytkownik przewinie (patrz .hero-header niżej). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  padding: 18px var(--page-x);
  background: var(--taupe);
  transition: background 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}
.site-header.is-scrolled { padding: 10px var(--page-x); }

/* Na stronie głównej: zanim użytkownik przewinie, nagłówek jest przezroczysty
   i nałożony na zdjęcie hero (ujemny margines podciąga hero pod spód, liczony
   w JS — patrz syncHeroHeaderOverlap()). Logo i tekst zostają jasne w obu
   stanach, więc po przewinięciu zmienia się tylko tło (na taupe) i rozmiar
   logo — bez przebarwiania napisów. */
.site-header.hero-header:not(.is-scrolled) { background: transparent; }

.brand {
  cursor: pointer;
  flex: none;
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
}
.brand-logo {
  height: 64px;
  width: auto;
  display: block;
  transition: height 0.25s ease;
}
.site-header.is-scrolled .brand-logo { height: 32px; }

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--light);
  cursor: pointer;
  padding: 6px 10px;
  white-space: nowrap;
  background: none;
  border: none;
  font-weight: 400;
  opacity: 0.95;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.nav-link:hover { background: oklch(97% 0.01 90 / 0.15); }
.nav-link.is-active { font-weight: 900; opacity: 1; }

.nav-phone {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--light);
  margin-left: 4px;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 14px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 22px;
  flex: none;
}
.header-socials .header-social {
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: oklch(0% 0 0 / 0.05);
  transition: background 0.2s ease;
}
.header-social svg { width: 20px; height: 20px; }
.header-social:hover { background: oklch(0% 0 0 / 0.15); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex: none;
}
.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--light);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.is-active .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide img,
.hero-slide video,
.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Dolna strefa (od ok. 55%) jest wzmocniona względem oryginału, żeby
     jasny tekst nagłówka (siedzi w .hero-copy, bottom: 56px) miał
     wystarczający kontrast nawet na jasnych zdjęciach (np. jasna
     kanapa/rolety) — bez tego pojedyncze litery potrafiły ginąć w tle.
     Środkowa strefa (pod menu, nad tekstem) nigdy nie schodzi do pełnej
     przezroczystości — na bardzo jasnym zdjęciu wyglądało to jak ostry,
     prześwietlony pas zaraz pod menu. */
  background: linear-gradient(180deg, oklch(19% 0.004 75 / 0.55) 0%, oklch(19% 0.004 75 / 0.15) 20%, oklch(19% 0.004 75 / 0.15) 30%, oklch(19% 0.004 75 / 0.55) 55%, oklch(19% 0.004 75 / 0.88) 100%);
  z-index: 1;
}
.hero-dots {
  position: absolute;
  right: var(--page-x);
  bottom: 56px;
  z-index: 2;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid oklch(97% 0.01 90 / 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.is-active {
  background: oklch(97% 0.01 90);
  transform: scale(1.15);
}
.hero-dot:hover { background: oklch(97% 0.01 90 / 0.5); }
/* Widoczny tylko gdy przeglądarka faktycznie zablokuje autoplay (np. iOS
   Low Power Mode) — patrz komentarz przy makePlayFallbackBtn() w app.js.
   Domyślnie display:none, nie opacity:0, żeby nie przechwytywał kliknięć
   nad wideo, kiedy jest niepotrzebny (czyli niemal zawsze). */
.hero-play-btn {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid oklch(97% 0.01 90 / 0.7);
  background: oklch(19% 0.004 75 / 0.45);
  color: oklch(97% 0.01 90);
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hero-play-btn.is-visible { display: flex; }
.hero-play-btn:hover { background: oklch(19% 0.004 75 / 0.65); }
/* Pierścień postępu pobierania wideo — patrz komentarz przy makeLoadingRing()
   w app.js. pointer-events: none, żeby nie blokował kliknięcia w przycisk
   Play, gdyby oba (teoretycznie) nałożyły się na siebie na ułamek sekundy. */
.hero-loading {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  pointer-events: none;
}
.hero-loading.is-visible { display: block; }
.hero-loading svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hero-loading-track { fill: none; stroke: oklch(97% 0.01 90 / 0.25); stroke-width: 3; }
.hero-loading-bar {
  fill: none;
  stroke: oklch(97% 0.01 90);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s linear;
}
.hero-copy {
  position: absolute;
  left: var(--page-x);
  right: var(--page-x);
  bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--light);
  z-index: 1;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 59px);
  line-height: 1.05;
  margin: 0;
  max-width: 900px;
  text-wrap: pretty;
}
.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
  opacity: 0.9;
  margin: 0;
}

/* ---------- Quote / intro ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px var(--page-x);
  max-width: 1400px;
  margin: 0 auto;
}
.intro-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-quote blockquote {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.intro-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: var(--bg-2);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.author-role { font-size: 12px; color: var(--muted); }

.intro-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}
.intro-body p {
  font-size: 18px;
  line-height: 1.8;
  color: oklch(35% 0.008 75);
  margin: 0;
}
.stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.stat-value {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--accent);
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Featured / Portfolio grid ---------- */
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 12px;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 40px;
  color: var(--ink);
  margin: 0;
}
.section-link {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  background: none; border: none; border-bottom: 1px solid currentColor;
}

.featured-wrap { padding: 100px var(--page-x) 140px; }

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

.project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: var(--sans);
}
.project-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-category {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--light);
  background: oklch(19% 0.004 75 / 0.65);
  padding: 6px 12px;
}
.project-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.project-meta { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Services ---------- */
.services {
  padding: 120px var(--page-x);
  background: var(--bg-2);
}
.services-inner { max-width: 1400px; margin: 0 auto; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.services-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.services-heading-text { max-width: 720px; }
.services-heading-text h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 14px;
}
.services-heading-text p {
  font-size: 18px;
  line-height: 1.7;
  color: oklch(35% 0.008 75);
  margin: 0 0 10px;
}
.services-heading-text p:last-child { margin-bottom: 0; }
.services-heading .section-link { flex: none; white-space: nowrap; }

/* ---------- Opinie klientów (karuzela) ---------- */
.testimonials-section {
  margin: 96px calc(50% - 50vw) 0;
  padding: 90px 0 130px;
  background: var(--taupe);
}
/* .testimonials-section wychodzi poza .legal-page na pełną szerokość viewportu
   (dla tła na całą szerokość) — ale .legal-page na szerokich ekranach sam jest
   wyśrodkowany z dużymi marginesami (max-width: calc(1200px + 2*page-x)), więc
   tekst na stronie zaczyna się dużo dalej od krawędzi niż samo page-x. Ta sama
   formuła (max-width + margin auto + padding page-x) daje .testimonials-inner
   dokładnie taką samą pozycję lewej krawędzi jak tekst wyżej, na każdej
   szerokości ekranu — węższa treść w środku (640px) zostaje bez zmian. */
.testimonials-inner {
  max-width: calc(1200px + 2 * var(--page-x));
  margin: 0 auto;
  padding: 0 var(--page-x);
  box-sizing: border-box;
}
.testimonials-inner h2,
.testimonial-carousel,
.testimonial-dots {
  max-width: 640px;
}
.testimonials-inner .eyebrow { color: var(--light); opacity: 0.75; }
.testimonials-inner h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--light);
  margin: 16px 0 40px;
}
.testimonial-carousel { position: relative; }
.testimonial-slide { display: none; }
.testimonial-slide.is-active { display: block; animation: testimonial-fade-in 0.5s ease; }
@keyframes testimonial-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.75;
  color: var(--light);
  margin: 0 0 20px;
  white-space: pre-line;
}
.testimonial-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}
.testimonial-author {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--light);
}
.testimonial-dots {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid oklch(97% 0.01 90 / 0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testimonial-dot.is-active { background: var(--light); transform: scale(1.15); }
.testimonial-dot:hover { background: oklch(97% 0.01 90 / 0.5); }

/* ---------- FAQ (accordion) ---------- */
.faq-section {
  padding: 100px var(--page-x) 140px;
  max-width: 1200px;
  margin: 0 auto;
}
.faq-inner h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 36px;
  color: var(--ink);
  margin: 16px 0 40px;
}
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 12px 20px;
  background: var(--taupe);
  color: var(--light);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}
.faq-header:hover { background: var(--taupe-light); }
.faq-row.is-open .faq-header { background: var(--light); color: var(--ink); }
.faq-question { font-size: 16px; color: inherit; }
.faq-toggle {
  font-size: 20px;
  line-height: 1;
  color: inherit;
  flex: none;
  transition: transform 0.2s ease;
}
.faq-row.is-open .faq-toggle { transform: rotate(45deg); }
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-row.is-open .faq-panel { max-height: 240px; }
.faq-panel p {
  margin: 0 0 22px;
  padding: 14px 20px 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}
.inline-text-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  display: inline;
}

/* ---------- O mnie (podstrona) ---------- */
.about-page .page-header h1 { font-size: clamp(19px, 2.56vw, 29px); }
.about-photo-wrap {
  float: left;
  width: 280px;
  aspect-ratio: 3 / 4;
  margin: 0 32px 20px 0;
  overflow: hidden;
  background: var(--bg-2);
}
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-body h3 { clear: left; }
@media (max-width: 700px) {
  .about-photo-wrap { float: none; width: 100%; max-width: 280px; margin: 0 0 20px; }
}
.konsultacje-page .faq-section { padding-top: 40px; }
.about-page .testimonials-section,
.konsultacje-page .testimonials-section {
  padding: 60px 0 90px;
  margin-bottom: -140px;
}
.about-body {
  margin-top: 32px;
  max-width: 100%;
}
.about-body p {
  font-size: 18px;
  line-height: 1.75;
  color: oklch(35% 0.008 75);
  margin: 0 0 20px;
}
.about-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin: 40px 0 14px;
}
.about-body ul { padding-left: 20px; margin: 0 0 20px; }
.about-body li {
  font-size: 18px;
  line-height: 1.7;
  color: oklch(35% 0.008 75);
  margin-bottom: 6px;
}
.about-signature {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  margin-top: 32px;
}

/* ---------- Oferta projektowa (podstrona) ---------- */
.oferta-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  column-gap: 60px;
  row-gap: 8px;
  margin-top: 24px;
}
.oferta-grid h1 { margin: 0; }
.oferta-steps-heading {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  margin: 40px 0 0;
}
.oferta-intro p {
  font-size: 18px;
  line-height: 1.75;
  color: oklch(35% 0.008 75);
  margin: 0 0 20px;
}
.oferta-intro p:last-child { margin-bottom: 0; }
.oferta-steps { padding-left: 20px; margin: 24px 0 0; }
.oferta-steps li {
  font-size: 18px;
  line-height: 1.7;
  color: oklch(35% 0.008 75);
  margin-bottom: 22px;
}
.oferta-steps li:last-child { margin-bottom: 0; }
.oferta-steps li strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.oferta-step-cta {
  display: block;
  width: fit-content;
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  background: var(--taupe);
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  text-align: left;
}
.oferta-step-cta:hover { background: var(--taupe-light); }
.oferta-page .faq-section { padding: 0; max-width: 100%; margin-top: 40px; }

/* ---------- Co otrzymujesz (podstrona, dawniej "Projekty techniczne") ---------- */
.pt-body { margin-top: 24px; max-width: 760px; }
.pt-body h1 { margin: 0 0 20px; }
.pt-intro {
  font-size: 18px;
  line-height: 1.75;
  color: oklch(35% 0.008 75);
  margin: 0 0 40px;
}
.pt-section { margin-bottom: 36px; }
.pt-section h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 12px;
}
.pt-section p {
  font-size: 17px;
  line-height: 1.7;
  color: oklch(35% 0.008 75);
  margin: 0;
}
.pt-pdf-box {
  background: var(--bg-2);
  border: 1px solid var(--hairline-2);
  padding: 32px;
  margin: 48px 0;
}
.pt-pdf-box h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 12px;
}
.pt-pdf-box p { font-size: 16px; color: var(--muted); margin: 0 0 20px; }
.pt-download-btn {
  display: inline-block;
  background: var(--ink);
  color: var(--light);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.pt-download-btn:hover { opacity: 0.85; }
.pt-outro {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 24px;
}
.pt-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pt-link-btn {
  font-size: 16px;
  color: var(--accent);
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  padding: 0 0 2px;
  cursor: pointer;
  text-align: left;
}
.pt-link-btn:hover { opacity: 0.75; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: 640px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--light);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 40px oklch(0% 0 0 / 0.25);
}
.cookie-banner-text { font-size: 13.5px; line-height: 1.6; margin: 0; color: oklch(88% 0.006 75); }
.cookie-banner-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--light);
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: inherit;
}
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-btn {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  padding: 11px 20px;
  border: 1px solid oklch(45% 0.01 75);
  cursor: pointer;
  background: none;
  color: var(--light);
}
.cookie-btn-primary { background: var(--light); color: var(--ink); border-color: var(--light); }
.cookie-btn-secondary { background: none; }

.cookie-inline-prompt {
  padding: 32px 24px;
  background: var(--bg-2);
  text-align: center;
}
.cookie-inline-prompt p { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; }
.cookie-inline-prompt .cookie-btn-primary {
  background: var(--ink);
  color: var(--light);
  border-color: var(--ink);
}

/* ---------- Strona główna — CTA do konsultacji ---------- */
.home-cta { padding: 100px var(--page-x) 140px; }
/* Na stronie głównej opinie klientów idą zaraz po tej ramce CTA — domyślny
   odstęp .testimonials-section (96px margin + 90px padding) w tym miejscu
   robił zbyt dużą pustą przestrzeń, więc ściągamy oba końce bliżej siebie. */
.home-cta:has(+ .testimonials-section) { padding-bottom: 60px; }
.home-cta + .testimonials-section { margin-top: 0; padding-top: 60px; }
.home-cta-box {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: oklch(85% 0.02 75);
  border: 1px solid var(--taupe);
  padding: 48px;
}
.home-cta-left h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  margin: 0;
}
.home-cta-subtitle {
  font-size: 18px;
  color: oklch(35% 0.008 75);
  margin: 8px 0 0;
}
.home-cta-right { display: flex; justify-content: flex-end; }
.home-cta-button {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  background: var(--taupe);
  padding: 16px 32px;
  cursor: pointer;
  border: none;
  display: inline-block;
}
.home-cta-button:hover { background: var(--taupe-light); }

/* ---------- Kontakt / CTA ---------- */
.cta-button {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--light);
  padding: 16px 36px;
  cursor: pointer;
  border: none;
  display: inline-block;
}
.cta-button:hover { opacity: 0.85; }

.cta {
  padding: 120px var(--page-x) 70px;
  background: var(--ink);
}
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.contact-side { display: flex; flex-direction: column; gap: 28px; }
.contact-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid oklch(35% 0.008 75);
}
.contact-info-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(60% 0.008 75);
}
.contact-info-row a { font-size: 16px; color: var(--light); }
.contact-book-btn { width: 100%; text-align: center; margin-top: 4px; }

.contact-form-wrap { text-align: left; }

/* ---------- Mapa "Gdzie jesteśmy" ---------- */
.map-section {
  margin: 96px calc(-1 * var(--page-x)) 0;
  padding: 48px var(--page-x);
  background: var(--taupe);
}
.map-section-inner { max-width: 1200px; margin: 0 auto; }
.map-heading { margin-bottom: 28px; }
.map-heading h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  color: var(--light);
  margin: 0 0 10px;
}
.map-address { font-size: 15px; color: oklch(94% 0.01 75 / 0.85); margin: 0 0 14px; }
.map-directions-link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--light);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.map-embed-box {
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 260px;
  background: var(--bg-2);
  overflow: hidden;
}
.map-embed-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}
.contact-form-wrap h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 38px;
  color: var(--light);
  margin: 14px 0 12px;
  text-wrap: pretty;
}
.contact-form-sub {
  font-size: 18px;
  line-height: 1.6;
  color: oklch(68% 0.008 75);
  margin: 0 0 36px;
  max-width: 480px;
}

.contact-form { display: flex; flex-direction: column; gap: 26px; }
.form-row { display: flex; gap: 28px; }
.form-row .form-input { flex: 1; min-width: 0; }

.form-input {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--light);
  background: none;
  border: none;
  border-bottom: 1px solid oklch(40% 0.01 75);
  padding: 8px 2px 12px;
  width: 100%;
  transition: border-color 0.2s ease;
}
.form-input::placeholder { color: oklch(58% 0.008 75); }
.form-input:focus { outline: none; border-bottom-color: var(--light); }
.form-textarea { resize: vertical; min-height: 64px; font-family: var(--sans); }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: oklch(68% 0.008 75);
  line-height: 1.5;
}
.form-checkbox {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--light);
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: inherit;
}

.form-submit { width: 100%; margin-top: 4px; }
.form-submit:disabled { opacity: 0.6; cursor: default; }
.form-status {
  font-size: 13px;
  margin: 4px 0 0;
  min-height: 1em;
}
.form-status.is-success { color: oklch(75% 0.1 155); }
.form-status.is-error { color: oklch(75% 0.12 30); }
.form-status.is-info { color: oklch(75% 0.01 75); }

/* ---------- Portfolio page ---------- */
.portfolio-header { padding: 100px var(--page-x) 56px; }
.portfolio-eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.portfolio-header h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 45px;
  color: var(--ink);
  margin: 16px 0 0;
}
.portfolio-header p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.6;
}

.filters {
  display: flex;
  gap: 12px;
  padding: 0 var(--page-x) 48px;
  flex-wrap: wrap;
}
.filter-chip {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--chip-border);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
}
.filter-chip.is-active {
  background: var(--ink);
  color: var(--light);
  border-color: var(--ink);
}

.portfolio-grid { padding: 0 var(--page-x) 140px; }
.empty-state {
  padding: 60px var(--page-x);
  color: var(--muted);
  font-size: 14px;
}

.room-browse { padding: 0 var(--page-x) 48px; }
.room-browse h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 16px;
}
.room-browse .filters { padding: 0; }

/* ---------- Legal / Consultations pages (shared "long text" page shell) ---------- */
/* max-width liczone tak, żeby po odjęciu własnego paddingu (var(--page-x)
   z każdej strony, box-sizing: border-box) zostało dokładnie 1200px
   treści — tyle samo, ile ma .contact-grid na stronie Kontakt (ta nie
   ma własnego paddingu, więc jej 1200px to od razu szerokość treści). */
.legal-page { max-width: calc(1200px + 2 * var(--page-x)); margin: 0 auto; padding: 100px var(--page-x) 140px; }

.page-header { margin-bottom: 8px; }
.page-header h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 42px);
  color: var(--ink);
  margin: 16px 0 0;
}
.back-link {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 24px;
  padding: 0;
  border-bottom: 1px solid currentColor;
}

.consult-lead { max-width: 900px; margin-top: 40px; }
.consult-lead p {
  font-size: 18px;
  line-height: 1.8;
  color: oklch(35% 0.008 75);
  margin: 0;
}
.consult-media-wrap { max-width: 900px; margin: 40px 0 0; }

/* Zdjęcie/wideo obok tekstu (wprowadzenie + "Dla kogo jest konsultacja"),
   zamiast pod nim — patrz renderConsultations(). Zdjęcie rozciąga się na
   pełną wysokość lewej kolumny (bez sztywnych proporcji 16:9). */
.consult-top-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 40px;
}
.consult-top-grid .consult-lead,
.consult-top-grid .consult-media-wrap {
  max-width: none;
  margin-top: 0;
}
.consult-top-grid .consult-media-wrap { display: flex; }
.consult-top-grid .consult-media-box {
  aspect-ratio: auto;
  flex: 1;
  width: 100%;
}
@media (max-width: 900px) {
  .consult-top-grid { grid-template-columns: 1fr; }
  .consult-top-grid .consult-media-box { aspect-ratio: 16 / 9; }
}
.consult-media-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border: 1px solid var(--hairline-2);
  overflow: hidden;
}
.consult-media-box img,
.consult-media-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}
.consult-media-caption {
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  margin: 12px 0 0;
}

.consult-intro { margin-top: 32px; }
.consult-intro p {
  font-size: 18px;
  line-height: 1.75;
  color: oklch(35% 0.008 75);
  margin: 0 0 20px;
}
.consult-intro ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.consult-intro li {
  font-size: 18px;
  line-height: 1.7;
  color: oklch(35% 0.008 75);
  margin-bottom: 8px;
}

.consult-who { margin-top: 40px; }
.consult-who h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 20px;
}
.consult-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.consult-who-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--taupe);
  padding: 24px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}
@media (max-width: 700px) {
  .consult-who-grid { grid-template-columns: 1fr; }
}

/* ---------- Booking widget ---------- */
.booking-anchor { margin-top: 64px; margin-bottom: 8px; }
.booking-anchor h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  color: var(--ink);
  margin: 0 0 6px;
}
.booking-sub { font-size: 14px; color: var(--muted); margin: 0 0 28px; }

.booking-widget {
  background: var(--light);
  border: 1px solid var(--hairline-2);
}
.picker-list { display: flex; flex-direction: column; }

.event-row:first-child .event-card { border-top: none; }

.event-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: baseline;
  gap: 4px 20px;
  text-align: left;
  background: oklch(91% 0.014 75);
  border: 0;
  border-top: 1px solid var(--hairline-2);
  padding: 22px 24px;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s ease;
}
.event-card:hover { background: oklch(81% 0.02 75); }
.event-card.is-open { background: oklch(81% 0.02 75); }
.event-card.is-open .event-name { font-weight: 700; }
.event-dur {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}
.event-name { font-size: 17px; grid-column: 2; color: var(--ink); }
.event-price { font-size: 13px; color: var(--muted); white-space: nowrap; }

.loading-msg { font-size: 14px; color: var(--muted); padding: 24px; margin: 0; }

.event-calendar-panel { display: none; }
.event-row.is-open .event-calendar-panel { display: block; }
.calendar-embed { width: 100%; min-height: 680px; }

/* ---------- Legal documents (regulamin / polityka prywatności) ---------- */
.legal-details {
  margin-top: 64px;
  border-top: 1px solid var(--hairline-2);
  padding-top: 32px;
}
.legal-details > summary {
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-details > summary::-webkit-details-marker { display: none; }
.legal-details > summary::before { content: '+'; font-size: 17px; line-height: 1; }
.legal-details[open] > summary::before { content: '–'; }

.legal-body { margin-top: 24px; }
.legal-body-standalone { margin-top: 40px; }

.legal-draft-note {
  background: oklch(94% 0.02 75 / 0.6);
  border: 1px dashed oklch(60% 0.08 60);
  padding: 12px 16px;
  font-size: 13px;
  color: oklch(38% 0.06 55);
  margin: 0 0 28px;
}
.legal-todo-block {
  background: oklch(94% 0.02 75 / 0.6);
  border: 1px dashed oklch(60% 0.08 60);
  padding: 10px 14px;
  font-size: 12.5px;
  color: oklch(38% 0.06 55);
  margin: 8px 0 16px;
}
mark.legal-todo {
  background: oklch(88% 0.05 75);
  color: oklch(30% 0.04 60);
  padding: 1px 4px;
  border-radius: 2px;
  font-style: normal;
}
.site-load-error {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 32px;
  color: oklch(38% 0.06 55);
}

.legal-body h3 { font-size: 19px; color: var(--ink); margin: 36px 0 10px; font-family: var(--serif); font-weight: 600; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body h4 { font-size: 14px; color: var(--muted); margin: 20px 0 6px; letter-spacing: 0.02em; }
.legal-body p, .legal-body li { font-size: 18px; color: oklch(35% 0.008 75); line-height: 1.7; }
.legal-body ul { padding-left: 20px; }
.legal-body a { border-bottom: 1px solid currentColor; }

/* ---------- Project detail page (galeria realizacji) ---------- */
.project-detail-meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.project-detail-desc {
  font-size: 18px;
  line-height: 1.7;
  color: oklch(35% 0.008 75);
  max-width: 640px;
  margin-top: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 var(--page-x) 140px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
  border: none;
  padding: 0;
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: oklch(10% 0.004 75 / 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox-figure {
  position: relative;
  max-width: min(1100px, 90vw);
  max-height: 85vh;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-image {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px oklch(0% 0 0 / 0.4);
}
.lightbox-counter {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: oklch(80% 0.006 75);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--light);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 10px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--light);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 12px 18px;
  opacity: 0.85;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 80px var(--page-x) 40px;
  background: var(--ink);
  color: var(--footer-muted);
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}
.footer-logo {
  height: 24px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
  color: var(--footer-muted);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links button,
.footer-links a {
  font-size: 13px;
  color: var(--footer-link);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  text-align: left;
  text-decoration: none;
  display: inline-block;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--footer-link);
}
.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-link { color: inherit; }
.social-link svg { display: block; width: 17px; height: 17px; }
.social-circle {
  width: 34px;
  height: 34px;
  border: 1px solid oklch(40% 0.01 75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-circle svg { width: 19px; height: 19px; }
.social-circle:hover { border-color: var(--light); color: var(--light); }
.footer-bottom {
  border-top: 1px solid var(--hairline-dark);
  padding-top: 24px;
  font-size: 12px;
  color: var(--footer-fine);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-legal-links button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--footer-fine);
}
.footer-legal-links button:hover { color: var(--footer-link); }

/* ---------- Responsive ---------- */
/* Wąski desktop (np. MacBook Air przy 1024-1280px logicznej rozdzielczości)
   — powyżej progu hamburgera (900px), ale za wąsko, żeby menu w linii
   zmieściło się przy domyślnych odstępach. Ścieśniamy odstępy/padding
   (nie rozmiar fontu), żeby pełne menu w jednym wierszu zmieściło się bez
   przechodzenia na hamburger. */
@media (min-width: 901px) and (max-width: 1300px) {
  :root { --page-x: 32px; }
  .nav { gap: 2px; }
  .nav-link { padding: 6px 5px; letter-spacing: 0.01em; }
  .header-right { gap: 8px; }
  .header-socials { margin-left: 10px; gap: 8px; }
}

@media (max-width: 900px) {
  :root { --page-x: 24px; }
  .intro { grid-template-columns: 1fr; gap: 48px; padding: 64px var(--page-x); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { min-height: 460px; }
  /* Na wąskich ekranach tytuł+podtytuł robią się na tyle szerokie (prawie
     cała szerokość ekranu), że nakładają się na kropki karuzeli siedzące
     po prawej na tej samej wysokości (bottom: 56px). Rozwiązanie: kropki
     schodzą do osobnego, wyśrodkowanego rzędu przy samym dole, a tekst
     dostaje dodatkowy odstęp od dołu, żeby się z nimi nie stykał. */
  .hero-copy { right: var(--page-x); bottom: 88px; }
  .hero-dots { left: 0; right: 0; bottom: 24px; justify-content: center; }
  .brand-logo { height: 32px; }
  .menu-toggle { display: flex; }
  .header-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--taupe);
    padding: 8px 24px 24px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .header-right.is-open { display: flex; }
  .nav { flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; }
  .nav li { width: 100%; }
  .nav-link { width: 100%; padding: 10px 0; }
  .nav-phone { display: block; padding: 10px 0; }
  .header-socials { margin-left: 0; margin-top: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-photo { max-width: 420px; }
  .map-section { margin-top: 64px; padding: 32px var(--page-x); }
  .map-embed-box { aspect-ratio: 4 / 3; }
  .oferta-grid { grid-template-columns: 1fr; row-gap: 0; }
  .oferta-steps-heading { margin-top: 32px; }
  .home-cta-box { grid-template-columns: 1fr; padding: 32px; }
  .home-cta-right { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
  .contact-form-wrap h2 { font-size: 28px; }
  .portfolio-header h1 { font-size: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .event-card { grid-template-columns: 1fr; row-gap: 2px; }
  .event-name { grid-column: 1; }
  .event-desc { grid-column: 1; }
  .legal-page { padding-top: 72px; }
  .lightbox-overlay { padding: 16px; }
  .lightbox-nav { font-size: 32px; padding: 8px 10px; }
  .lightbox-close { top: 10px; right: 12px; }
  .form-row { flex-direction: column; gap: 26px; }
  .contact-form-wrap h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
