/* =============================================================
   Przewodniczka po Poznaniu — wersja jednoosobowa
   Kierunek: clean. Dużo bieli, powietrza, miękka geometria,
   jeden ciepły akcent (brąz) dobrany do ceglano-złotych zdjęć.
   ============================================================= */

/* ---------- 1. Zmienne ---------- */
:root {
  --bg:        #ffffff;
  --bg-2:      #f7f6f3;
  --bg-3:      #efece6;
  --ink:       #14110f;
  --ink-2:     #574f47;
  --ink-3:     #8c8378;
  --line:      #e8e4dd;
  --line-2:    #f1eee8;
  --accent:    #8a5b2a;
  --accent-2:  #6d4720;
  --accent-bg: #f8f1e8;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8rem);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --sh-sm: 0 1px 2px rgba(20, 17, 15, .04);
  --sh:    0 2px 6px rgba(20, 17, 15, .05), 0 12px 28px -14px rgba(20, 17, 15, .18);
  --sh-lg: 0 4px 10px rgba(20, 17, 15, .05), 0 32px 64px -28px rgba(20, 17, 15, .3);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.028em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); letter-spacing: -.038em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.032em; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ink); color: #fff; }

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

/* ---------- 3. Pomocnicze ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tint { background: var(--bg-2); }
.section--ink { background: var(--ink); color: #fff; }

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 999;
  background: var(--ink); color: #fff;
  padding: .75rem 1.25rem; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.15rem;
  padding: .34rem .8rem .34rem .6rem;
  border-radius: 100px;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.section--ink .eyebrow { background: rgba(255,255,255,.1); color: #e7c9a6; }

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.section--ink .lead { color: rgba(255,255,255,.7); }

.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: .5rem; }

/* ---------- 4. Przyciski ---------- */
.btn {
  --b-bg: var(--ink);
  --b-fg: #fff;
  --b-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border: 1px solid var(--b-bd);
  border-radius: 100px;
  background: var(--b-bg);
  color: var(--b-fg);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh); }

.btn--accent { --b-bg: var(--accent); --b-bd: var(--accent); }
.btn--accent:hover { --b-bg: var(--accent-2); --b-bd: var(--accent-2); }

.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line); }
.btn--ghost:hover { --b-bd: var(--ink); }

.btn--light { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.3); }
.btn--outline-light:hover { --b-bd: #fff; }

.btn--sm { padding: .6rem 1.15rem; font-size: .84rem; }

.ico { width: 1em; height: 1em; flex: none; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: .75rem; }

/* ---------- 5. Nagłówek ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Tło kryjące zamiast backdrop-filter: rozmycie tła na elemencie
   position:fixed potrafi rozsypać kompozycję warstw i wygasić malowanie strony. */
.site-header.is-solid {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line-2), 0 6px 24px -18px rgba(20, 17, 15, .5);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex: none;
  min-width: 0;
}
.brand__mark {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .35s var(--ease);
}
.brand:hover .brand__mark { background: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.brand__sub {
  font-size: .72rem;
  color: var(--ink-3);
  letter-spacing: -.005em;
}

.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.4rem); }
.nav a {
  position: relative;
  padding: .5rem .2rem;
  font-size: .92rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: .2rem; right: .2rem; bottom: .28rem;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); font-weight: 500; }

.header-cta { display: flex; align-items: center; gap: .7rem; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .ico { color: var(--accent); }
.header-phone:hover { color: var(--accent); }

.burger {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  cursor: pointer;
  place-items: center;
  flex: none;
}
.burger span {
  display: block;
  width: 16px; height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .32s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobilne */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li + li { border-top: 1px solid var(--line-2); }
.mobile-nav ul a {
  display: block;
  padding: 1rem 0;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.025em;
  text-decoration: none;
}
.mobile-nav__foot { display: grid; gap: .7rem; }

/* ---------- 6. Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30vw; left: 50%;
  width: 90vw; height: 60vw;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(138, 91, 42, .07), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title { margin-bottom: 1.35rem; }
.hero__title span { color: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__note {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.75rem;
  font-size: .88rem;
  color: var(--ink-3);
}
.hero__note .ico { color: var(--accent); width: 1.05em; height: 1.05em; }

.hero__media { position: relative; }
.hero__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--bg-3);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__card {
  position: absolute;
  left: clamp(-1.75rem, -2vw, -.75rem);
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1.15rem .8rem .8rem;
  border-radius: 100px;
  background: #fff;
  box-shadow: var(--sh);
}
.hero__card-ico {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
}
.hero__card-ico .ico { width: 1.2rem; height: 1.2rem; }
.hero__card b { display: block; font-size: .9rem; font-weight: 600; letter-spacing: -.02em; }
.hero__card span { display: block; font-size: .78rem; color: var(--ink-3); }

/* Pasek zaufania */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust__item { display: flex; flex-direction: column; gap: .2rem; }
.trust__num {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.trust__label { font-size: .88rem; color: var(--ink-3); }

/* ---------- 7. O mnie ---------- */
.about {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media {
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--sh);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }

.about__quote {
  margin: 0 0 1.5rem;
  padding-left: 1.15rem;
  border-left: 2px solid var(--accent);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -.02em;
  color: var(--ink);
}
.about__sign {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.75rem;
  font-size: .88rem;
  color: var(--ink-3);
}
.about__sign strong { color: var(--ink); font-weight: 600; }

/* ---------- 8. Karty ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.75rem);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
  border-color: transparent;
}
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.35rem 1.5rem; }
.card__title { font-size: 1.22rem; margin-bottom: .4rem; }
.card__text { font-size: .93rem; color: var(--ink-2); margin-bottom: 1.15rem; }
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line-2);
  font-size: .86rem;
  color: var(--ink-3);
}
.card__meta { display: inline-flex; align-items: center; gap: .35rem; }
.card__meta .ico { color: var(--accent); }
.card__price { font-weight: 600; color: var(--ink); letter-spacing: -.02em; }

/* Kafelek „dlaczego" */
.feature {
  padding: 1.6rem 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
}
.feature__ico {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--accent-bg);
  color: var(--accent);
}
.feature__ico .ico { width: 1.25rem; height: 1.25rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feature p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* ---------- 9. Galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(7.5rem, 11vw, 11.5rem);
  gap: .7rem;
}
.gallery__item {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-3);
  cursor: zoom-in;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.25rem .85rem .75rem;
  background: linear-gradient(to top, rgba(20,17,15,.75), transparent);
  color: #fff;
  font-size: .8rem;
  text-align: left;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery__item:hover figcaption,
.gallery__item:focus-visible figcaption { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(14, 12, 10, .95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(100%, 1060px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r);
}
.lightbox__caption {
  margin-top: 1.1rem;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  text-align: center;
}
.lightbox__btn {
  position: absolute;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__btn .ico { width: 1.1rem; height: 1.1rem; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }

/* ---------- 10. Cennik ---------- */
.prices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.1rem);
}
.price {
  padding: 1.6rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  text-align: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.price:hover { border-color: var(--ink-3); transform: translateY(-3px); }
.price.is-lead { background: var(--ink); border-color: var(--ink); color: #fff; }
.price.is-lead .price__label { color: rgba(255,255,255,.6); }
.price__label { display: block; font-size: .85rem; color: var(--ink-3); margin-bottom: .6rem; }
.price__value { font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.price__value small { font-size: .48em; font-weight: 500; letter-spacing: -.01em; }

.notes { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.notes li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .93rem;
  color: var(--ink-2);
}
.notes li .ico {
  position: absolute;
  left: 0; top: .28em;
  color: var(--accent);
  width: 1.05rem; height: 1.05rem;
}

/* Rozwijana tabela wstępów */
.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  overflow: hidden;
}
.disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary:hover { background: var(--bg-2); }
.disclosure > summary .ico { color: var(--ink-3); transition: transform .3s var(--ease); }
.disclosure[open] > summary { border-bottom: 1px solid var(--line); }
.disclosure[open] > summary .ico { transform: rotate(180deg); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tickets { width: 100%; border-collapse: collapse; font-size: .89rem; min-width: 40rem; }
.tickets th, .tickets td {
  padding: .8rem 1.35rem;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
.tickets thead th {
  position: sticky;
  top: 0;
  background: var(--bg-2);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.tickets tbody tr:last-child th, .tickets tbody tr:last-child td { border-bottom: 0; }
.tickets tbody tr:hover { background: var(--bg-2); }
.tickets tbody th { font-weight: 500; }
.tickets .addr { display: block; color: var(--ink-3); font-size: .82rem; }
.tickets .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tickets .none { color: var(--ink-3); }
.tickets td[colspan] { color: var(--ink-3); font-style: italic; }

/* ---------- 11. Pasmo CTA ---------- */
.cta {
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.cta h2 { margin-bottom: .6rem; }
.cta__actions { display: flex; flex-direction: column; gap: .7rem; }

/* ---------- 12. Formularz ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-list { display: grid; gap: .7rem; }
.contact-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.05rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
a.contact-row:hover { border-color: var(--ink-3); background: var(--bg-2); }
.contact-row__ico {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 11px;
  background: var(--accent-bg);
  color: var(--accent);
}
.contact-row__label { display: block; font-size: .78rem; color: var(--ink-3); }
.contact-row__value { display: block; font-weight: 500; letter-spacing: -.015em; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .8rem 1rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field .error { min-height: 1.05em; font-size: .8rem; color: #b3261e; }
.field .btn { align-self: flex-start; }

.form-note { font-size: .84rem; color: var(--ink-3); }
.form-status {
  display: none;
  padding: .9rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--accent-bg);
  color: var(--accent-2);
  font-size: .9rem;
}
.form-status.is-visible { display: block; }

/* ---------- 13. Stopka ---------- */
.site-footer {
  padding-block: clamp(3rem, 5vw, 4rem) 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
}
.footer-about { margin-top: 1.1rem; max-width: 26rem; color: var(--ink-3); }
.footer-title {
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-list a { text-decoration: none; color: var(--ink-2); transition: color .25s var(--ease); }
.footer-list a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-2);
  font-size: .84rem;
  color: var(--ink-3);
}

/* ---------- 14. Animacje wejścia ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 15. Responsywność ---------- */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { aspect-ratio: 16 / 11; }
  .hero__card { left: 1.25rem; bottom: 1.25rem; }
  .about { grid-template-columns: 1fr; }
  .grid, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav, .header-phone { display: none; }
  .burger { display: grid; }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(8rem, 28vw, 13rem);
  }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 1; }
  .gallery__item:last-child:nth-child(odd) { grid-column: span 2; }
}

@media (max-width: 620px) {
  /* w nagłówku zostaje logo i menu — „Umów termin” jest w menu mobilnym */
  .header-cta .btn--sm { display: none; }
  .brand { min-width: 0; }
  .brand__text { min-width: 0; }
  .brand__name, .brand__sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .trust { grid-template-columns: 1fr; gap: 1.1rem; }
  .trust__item { flex-direction: row; align-items: baseline; gap: .6rem; }
  .grid, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
}

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

@media print {
  .site-header, .mobile-nav, .cta, .gallery, .btn, .lightbox { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1.25rem; }
  .tickets { min-width: 0; font-size: .72rem; }
}
