/* ==========================================================================
   Zalewski Nieruchomości — projekt strony głównej (wersja demonstracyjna)
   Struktura klas: BEM (blok__element--modyfikator) — łatwa do przeniesienia
   do motywu WordPress (np. child theme lub motyw blokowy).
   ========================================================================== */

/* ---------- 1. Zmienne (kolory firmowe — do korekty wg logo) ---------- */
:root {
  --c-white: #ffffff;
  --c-paper: #faf9f7;        /* ciepła biel tła sekcji */
  --c-mist: #f1efeb;         /* delikatna szarość */
  --c-line: #e3e0da;         /* linie i obramowania */
  --c-stone: #9a968f;        /* szary tekst pomocniczy */
  --c-graphite: #3a3b3d;     /* grafit — tekst główny */
  --c-ink: #17181a;          /* czerń */
  --c-gold: #b89b6a;         /* złotobeżowy akcent */
  --c-gold-light: #d8c5a0;
  --c-gold-dark: #8f7547;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(23, 24, 26, .04), 0 4px 14px rgba(23, 24, 26, .04);
  --shadow-md: 0 2px 6px rgba(23, 24, 26, .05), 0 18px 40px rgba(23, 24, 26, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

/* ---------- 2. Reset i baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-graphite);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; color: var(--c-ink); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 130px); }
.section--paper { background: var(--c-paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-gold-dark); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--c-gold); }

.section__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--c-gold); }
.section__title { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 18px; }
.section__title em { font-style: italic; color: var(--c-gold-dark); }
.section__lead { color: var(--c-stone); font-size: 17px; }

.demo-note {
  display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--c-mist); color: var(--c-stone); padding: 3px 10px; border-radius: 99px;
}

/* ---------- 3. Przyciski ---------- */
.btn {
  --bg: var(--c-ink); --fg: var(--c-white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border: 1px solid var(--bg); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { --bg: var(--c-gold-dark); transform: translateY(-1px); }
.btn--gold { --bg: var(--c-gold); }
.btn--gold:hover { --bg: var(--c-ink); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn--ghost:hover { background: transparent; border-color: var(--c-gold); color: var(--c-gold-dark); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink);
  border-bottom: 1px solid var(--c-gold); padding-bottom: 4px; transition: color .3s, gap .3s var(--ease);
}
.link-arrow:hover { color: var(--c-gold-dark); gap: 14px; }

/* ---------- 4. Nagłówek ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 24px; font-weight: 600; color: var(--c-ink); letter-spacing: .02em; }
.brand__tag { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--c-gold-dark); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-graphite); padding: 6px 0; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--c-gold);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--c-ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__phone { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--c-ink); }
.nav__phone svg { width: 18px; height: 18px; color: var(--c-gold); }
.nav .btn { min-height: 44px; padding: 0 22px; }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  position: relative; z-index: 60;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--c-ink);
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(150px, 16vw, 250px);
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(216, 197, 160, .18), transparent 60%),
    linear-gradient(180deg, var(--c-white) 0%, var(--c-paper) 100%);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero__logo { width: 92px; height: 92px; margin-bottom: 28px; }
.hero__title { font-size: clamp(42px, 6.4vw, 84px); font-weight: 400; letter-spacing: -.01em; margin-bottom: 24px; }
.hero__title em { font-style: italic; color: var(--c-gold-dark); }
.hero__lead { font-size: 18px; max-width: 480px; color: var(--c-stone); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats { display: flex; gap: 44px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--c-line); max-width: 520px; }
.stat__num { font-family: var(--f-display); font-size: 40px; color: var(--c-ink); line-height: 1; }
.stat__num sup { font-size: 20px; color: var(--c-gold); }
.stat__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-stone); margin-top: 8px; }

.hero__visual { position: relative; aspect-ratio: 4 / 5; max-height: 640px; justify-self: end; width: 100%; max-width: 480px; }
.hero__photo {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-mist);
  box-shadow: var(--shadow-md);
  clip-path: inset(100% 0 0 0); animation: reveal-up 1.4s var(--ease) .3s forwards;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: settle 2.2s var(--ease) .3s forwards; }
.hero__badge {
  position: absolute; left: -36px; bottom: 44px; background: var(--c-white); padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fade-in-up .9s var(--ease) 1.4s forwards;
}
.hero__badge strong { display: block; font-family: var(--f-display); font-size: 22px; color: var(--c-ink); line-height: 1.1; }
.hero__badge span { font-size: 12px; color: var(--c-stone); }
.hero__badge-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--c-paper); display: grid; place-items: center; color: var(--c-gold-dark); }
.hero__badge-icon svg { width: 22px; height: 22px; }
.hero__frame {
  position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--c-gold-light); border-radius: var(--radius-lg); z-index: -1;
  opacity: 0; animation: fade-in 1.2s var(--ease) 1s forwards;
}

/* Panorama Gorzowa — szkic linią */
.skyline {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  color: var(--c-gold); opacity: .6;
}
.skyline svg { width: 100%; height: auto; display: block; min-width: 900px; }
.skyline__sketch path, .skyline__sketch line, .skyline__sketch polyline, .skyline__sketch rect, .skyline__sketch circle {
  fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round;
}
.skyline .draw { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); animation: draw 4.5s var(--ease) .6s forwards; }
.skyline .water { stroke: var(--c-stone); opacity: .5; }
.skyline__label {
  position: absolute; right: var(--gutter); bottom: 14px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--c-stone); opacity: 0; animation: fade-in 1s 3.5s forwards;
}

/* Animowane logo (miejsce na docelowy plik logo) */
.logo-anim .ring { fill: none; stroke: var(--c-gold); stroke-width: 1.2; stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw 2s var(--ease) .2s forwards; }
.logo-anim .roof { fill: none; stroke: var(--c-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.4s var(--ease) .9s forwards; }
.logo-anim .letters { font-family: var(--f-display); font-size: 30px; font-weight: 600; fill: var(--c-ink); opacity: 0; animation: fade-in 1s var(--ease) 1.6s forwards; }
.logo-anim .dot { fill: var(--c-gold); transform-origin: center; transform-box: fill-box; transform: scale(0); animation: pop .6s var(--ease) 2.2s forwards; }
.brand .logo-anim .ring, .brand .logo-anim .roof { animation-delay: 0s; }
.brand .logo-anim .letters { font-size: 30px; }

/* ---------- 6. Wyszukiwarka ---------- */
.search { position: relative; z-index: 5; margin-top: -48px; }
.search__box {
  background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 14px; border: 1px solid var(--c-line);
}
.search__tabs { display: flex; gap: 4px; padding: 6px 6px 14px; border-bottom: 1px solid var(--c-mist); margin-bottom: 8px; }
.search__tab {
  border: 0; background: transparent; padding: 8px 18px; border-radius: 99px; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-stone);
  transition: background .3s, color .3s;
}
.search__tab.is-active { background: var(--c-ink); color: var(--c-white); }
.search__form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 0; align-items: stretch; }
.field { display: flex; flex-direction: column; justify-content: center; padding: 10px 20px; border-right: 1px solid var(--c-mist); min-width: 0; }
.field:last-of-type { border-right: 0; }
.field__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-stone); font-weight: 600; margin-bottom: 4px; }
.field__control {
  border: 0; background: transparent; padding: 4px 0; font-size: 15px; font-weight: 500; color: var(--c-ink);
  width: 100%; outline: none; appearance: none; -webkit-appearance: none; cursor: pointer;
}
select.field__control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b89b6a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; padding-right: 20px;
}
.field__control::placeholder { color: var(--c-stone); font-weight: 400; }
.search__submit { min-height: 64px; border-radius: var(--radius); }
.search__result { font-size: 13px; color: var(--c-stone); padding: 10px 20px 2px; min-height: 30px; }

/* ---------- 7. Oferty ---------- */
.offers__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.offers__top .section__head { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  border: 1px solid var(--c-line); background: var(--c-white); padding: 9px 18px; border-radius: 99px; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--c-graphite); transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--c-gold); }
.filter.is-active { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }

.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  position: relative;
  background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s, opacity .4s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tags { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.tag {
  background: rgba(255, 255, 255, .94); color: var(--c-ink); padding: 5px 12px; border-radius: 99px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.tag--gold { background: var(--c-gold); color: var(--c-white); }
.card__fav {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--c-graphite); transition: color .3s, transform .3s;
}
.card__fav svg { width: 18px; height: 18px; }
.card__fav:hover { transform: scale(1.08); color: var(--c-gold-dark); }
.card__fav.is-on { color: var(--c-gold); }
.card__fav.is-on svg { fill: currentColor; }
.card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card__loc { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-stone); margin-bottom: 8px; }
.card__loc svg { width: 14px; height: 14px; color: var(--c-gold); }
.card__title { font-size: 25px; margin-bottom: 18px; }
.card__meta { display: flex; gap: 20px; padding: 14px 0; border-block: 1px solid var(--c-mist); margin-bottom: 18px; font-size: 13px; color: var(--c-graphite); }
.card__meta span { display: flex; align-items: center; gap: 7px; }
.card__meta svg { width: 16px; height: 16px; color: var(--c-gold-dark); }
.card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.card__price { font-family: var(--f-display); font-size: 27px; color: var(--c-ink); font-weight: 600; line-height: 1; }
.card__price small { display: block; font-family: var(--f-body); font-size: 12px; color: var(--c-stone); font-weight: 400; margin-top: 6px; }
.card__more { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); display: grid; place-items: center; transition: all .35s var(--ease); }
.card__more svg { width: 16px; height: 16px; }
.card:hover .card__more { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.offers__empty { display: none; text-align: center; color: var(--c-stone); padding: 40px 0; }
.offers__empty.is-visible { display: block; }
.offers__cta { text-align: center; margin-top: 56px; }

/* ---------- 8. O mnie ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--c-mist), #e6e2db);
  display: grid; place-items: center; text-align: center;
}
.about__placeholder { color: var(--c-stone); padding: 30px; }
.about__placeholder svg { width: 120px; height: 120px; color: #cfc9be; margin: 0 auto 18px; }
.about__placeholder strong { display: block; font-family: var(--f-display); font-size: 22px; color: var(--c-graphite); font-weight: 500; }
.about__placeholder span { font-size: 13px; }
.about__media::before {
  content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid var(--c-gold-light); border-radius: var(--radius-lg); z-index: -1;
}
.about__sign {
  position: absolute; right: -28px; bottom: 36px; background: var(--c-ink); color: var(--c-white);
  padding: 24px 28px; border-radius: var(--radius); max-width: 230px; box-shadow: var(--shadow-md);
}
.about__sign strong { display: block; font-family: var(--f-display); font-size: 44px; color: var(--c-gold-light); line-height: 1; font-weight: 500; }
.about__sign span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #cfcac2; }
.about__quote { font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); color: var(--c-ink); line-height: 1.4; border-left: 2px solid var(--c-gold); padding-left: 24px; margin: 28px 0; }
.about__list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.about__list svg { width: 20px; height: 20px; color: var(--c-gold); flex: none; margin-top: 3px; }
.about__signature { font-family: var(--f-display); font-style: italic; font-size: 30px; color: var(--c-gold-dark); margin-right: 28px; }
.about__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }

/* ---------- 9. Usługi ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; }
.service { background: var(--c-white); padding: 44px 38px; position: relative; transition: background .5s var(--ease); }
.service::after { content: ""; position: absolute; left: 38px; right: 38px; bottom: 0; height: 2px; background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service:hover { background: var(--c-paper); }
.service:hover::after { transform: scaleX(1); }
.service__num { position: absolute; top: 36px; right: 36px; font-family: var(--f-display); font-size: 18px; color: var(--c-gold-light); }
.service__icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--c-gold-light); display: grid; place-items: center; color: var(--c-gold-dark); margin-bottom: 28px; transition: background .5s var(--ease), color .5s; }
.service__icon svg { width: 24px; height: 24px; }
.service:hover .service__icon { background: var(--c-gold); color: var(--c-white); border-color: var(--c-gold); }
.service__title { font-size: 26px; margin-bottom: 12px; }
.service p { color: var(--c-stone); font-size: 15px; margin: 0; }

/* ---------- 10. Proces (pasek) ---------- */
.process { background: var(--c-ink); color: #cfcac2; }
.process .section__title { color: var(--c-white); }
.process .eyebrow { color: var(--c-gold-light); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 26px; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--c-gold); }
.step__num { font-family: var(--f-display); font-size: 15px; color: var(--c-gold-light); letter-spacing: .1em; }
.step h3 { color: var(--c-white); font-size: 24px; margin: 10px 0; }
.step p { font-size: 14px; margin: 0; color: #a9a49b; }

/* ---------- 11. Opinie ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review {
  background: var(--c-white); border: 1px dashed var(--c-line); border-radius: var(--radius-lg); padding: 36px 34px;
  display: flex; flex-direction: column; position: relative;
}
.review__mark { font-family: var(--f-display); font-size: 80px; line-height: .6; color: var(--c-gold-light); height: 36px; }
.review__stars { display: flex; gap: 3px; color: var(--c-line); margin-bottom: 16px; }
.review__stars svg { width: 16px; height: 16px; fill: currentColor; }
.review__text { color: var(--c-stone); font-style: italic; flex: 1; }
.review__skeleton { display: grid; gap: 9px; margin-bottom: 20px; flex: 1; }
.review__skeleton i { display: block; height: 9px; border-radius: 9px; background: var(--c-mist); }
.review__skeleton i:nth-child(2) { width: 92%; }
.review__skeleton i:nth-child(3) { width: 78%; }
.review__skeleton i:nth-child(4) { width: 55%; }
.review__author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--c-mist); }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--c-mist); display: grid; place-items: center; font-family: var(--f-display); color: var(--c-stone); font-size: 18px; }
.review__name { font-weight: 600; color: var(--c-graphite); font-size: 14px; }
.review__src { font-size: 12px; color: var(--c-stone); }
.reviews__note { text-align: center; color: var(--c-stone); font-size: 14px; margin-top: 36px; }

/* ---------- 12. Kontakt ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__items { display: grid; gap: 26px; margin: 36px 0; }
.contact__item { display: flex; gap: 18px; align-items: flex-start; }
.contact__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--c-white); border: 1px solid var(--c-line); display: grid; place-items: center; color: var(--c-gold-dark); flex: none; }
.contact__icon svg { width: 20px; height: 20px; }
.contact__item small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-stone); }
.contact__item a, .contact__item p { font-size: 17px; color: var(--c-ink); font-weight: 500; margin: 2px 0 0; }
.contact__map {
  border-radius: var(--radius-lg); height: 200px; border: 1px solid var(--c-line); overflow: hidden; position: relative;
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, var(--c-mist) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, var(--c-mist) 38px 39px), var(--c-white);
  display: grid; place-items: center; color: var(--c-stone); font-size: 13px;
}
.contact__map svg { width: 34px; height: 34px; color: var(--c-gold); margin: 0 auto 6px; display: block; }

.form { background: var(--c-white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md); border: 1px solid var(--c-line); }
.form__title { font-size: 30px; margin-bottom: 6px; }
.form__sub { color: var(--c-stone); font-size: 14px; margin-bottom: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__group { position: relative; margin-bottom: 22px; }
.form__input {
  width: 100%; border: 0; border-bottom: 1px solid var(--c-line); background: transparent; padding: 22px 0 10px;
  font-size: 15px; color: var(--c-ink); outline: none; border-radius: 0; transition: border-color .3s;
}
textarea.form__input { min-height: 120px; resize: vertical; }
select.form__input { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form__label { position: absolute; left: 0; top: 22px; font-size: 15px; color: var(--c-stone); pointer-events: none; transition: all .3s var(--ease); }
.form__input:focus { border-color: var(--c-gold); }
.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label,
.form__label--fixed { top: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-dark); }
.form__group.has-error .form__input { border-color: #b4573f; }
.form__error { font-size: 12px; color: #b4573f; margin-top: 4px; display: none; }
.form__group.has-error .form__error { display: block; }
.form__check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--c-stone); margin: 6px 0 28px; cursor: pointer; }
.form__check input { width: 18px; height: 18px; accent-color: var(--c-gold); margin-top: 2px; flex: none; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__success {
  display: none; align-items: center; gap: 12px; background: var(--c-paper); border-left: 2px solid var(--c-gold);
  padding: 14px 18px; font-size: 14px; margin-top: 24px; color: var(--c-graphite);
}
.form__success.is-visible { display: flex; animation: fade-in-up .6s var(--ease); }

/* ---------- 13. Stopka ---------- */
.footer { background: var(--c-ink); color: #a9a49b; padding-top: 80px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer .brand__name { color: var(--c-white); }
.footer .logo-anim .letters { fill: var(--c-white); }
.footer .logo-anim .roof { stroke: var(--c-white); }
.footer__about { margin-top: 22px; max-width: 320px; }
.footer h4 { font-family: var(--f-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-white); margin-bottom: 22px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--c-gold-light); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.footer__skyline { color: var(--c-gold); opacity: .25; margin-bottom: -4px; }
.footer__skyline svg { width: 100%; height: auto; display: block; min-width: 900px; }
.footer__skyline .skyline__sketch path, .footer__skyline .skyline__sketch line, .footer__skyline .skyline__sketch polyline, .footer__skyline .skyline__sketch rect, .footer__skyline .skyline__sketch circle { fill: none; stroke: currentColor; stroke-width: 1; }

/* Przycisk „do góry” */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-ink); color: var(--c-white); display: grid; place-items: center; z-index: 40; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .4s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-gold-dark); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 14. Animacje ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { animation: fade-in-up 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); transition: none; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes reveal-up { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes pop { 60% { transform: scale(1.3); } to { transform: scale(1); } }

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

/* ---------- 15. Responsywność ---------- */
@media (max-width: 1100px) {
  .nav__phone { display: none; }
  .nav__list { gap: 22px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--c-white); flex-direction: column; justify-content: center; gap: 40px;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .nav__link { font-family: var(--f-display); font-size: 32px; text-transform: none; letter-spacing: 0; }
  .nav__phone { display: flex; }
  .menu-open .nav__list li { animation: fade-in-up .6s var(--ease) both; }
  .menu-open .nav__list li:nth-child(2) { animation-delay: .05s; }
  .menu-open .nav__list li:nth-child(3) { animation-delay: .1s; }
  .menu-open .nav__list li:nth-child(4) { animation-delay: .15s; }
  .menu-open .nav__list li:nth-child(5) { animation-delay: .2s; }
  .menu-open .nav__list li:nth-child(6) { animation-delay: .25s; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: stretch; max-width: none; aspect-ratio: 16 / 11; }
  .hero__badge { left: 16px; bottom: 16px; }
  .hero__frame { display: none; }
  .search__form { grid-template-columns: 1fr 1fr; }
  .field { border-right: 0; border-bottom: 1px solid var(--c-mist); }
  .search__submit { grid-column: 1 / -1; margin-top: 10px; }
  .offers__grid, .reviews__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .process__grid { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 20px; }
  .brand__tag { font-size: 9px; letter-spacing: .26em; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__logo { width: 72px; height: 72px; margin-bottom: 20px; }
  .hero__stats { gap: 24px; }
  .stat__num { font-size: 32px; }
  .stat__label { font-size: 10px; }
  .hero__badge { padding: 12px 14px; }
  .search { margin-top: -30px; }
  .search__form { grid-template-columns: 1fr; }
  .search__tabs { overflow-x: auto; }
  .offers__grid, .reviews__grid, .services__grid, .process__grid { grid-template-columns: 1fr; }
  .service { padding: 36px 28px; }
  .about__list { grid-template-columns: 1fr; }
  .about__sign { right: 12px; bottom: 12px; padding: 16px 20px; }
  .about__sign strong { font-size: 34px; }
  .about__media::before { inset: -12px 12px 12px -12px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions .btn, .about__actions .btn, .form__foot .btn { width: 100%; }
}

/* Usługi: animujemy zawartość kafelka, nie sam kafelek (siatka nie miga szarym tłem) */
.service.reveal { opacity: 1; transform: none; }
.service.reveal > * { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.service.reveal.is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .service.reveal > * { opacity: 1; transform: none; } }

/* Poprawki: cyfry nautyczne w Cormorant, ramka i plakietka w „O mnie” */
h1, h2, h3, h4, .stat__num, .card__price, .about__sign strong, .service__num, .step__num { font-variant-numeric: lining-nums; }
.about__media { isolation: isolate; }
.about__sign { bottom: -28px; }
@media (max-width: 640px) { .about__sign { bottom: -20px; } }
.footer__skyline { overflow: hidden; }
@media (max-width: 640px) {
  .about__photo { padding-bottom: 70px; }
  .about__sign { max-width: 210px; padding: 14px 18px; }
  .about__sign strong { font-size: 28px; }
  .about__sign span { font-size: 10px; }
}

/* Twoje pliki: logo i animacja panoramy (assets/media/) */
.skyline--custom { opacity: 1; }
.skyline--custom svg, .skyline--custom video { width: 100%; height: auto; display: block; min-width: 900px; }
.skyline--custom video { mix-blend-mode: multiply; }
.footer__skyline svg:not(.skyline__sketch) { opacity: .6; }
.user-logo { opacity: 0; transform: scale(.92); animation: logo-in 1.2s var(--ease) .2s forwards; }
.user-logo svg, .user-logo img { width: 100%; height: 100%; display: block; }
@keyframes logo-in { to { opacity: 1; transform: none; } }

/* ==========================================================================
   LOGO FIRMY + kolory dopasowane do logo (beż #bcad93, czerń #1e1e1d)
   ========================================================================== */
:root {
  --c-gold: #bcad93;
  --c-gold-light: #ddd4c4;
  --c-gold-dark: #857659;   /* ciemniejszy beż — czytelny na białym tle */
  --c-ink: #1e1e1d;
}
.btn--gold { color: var(--c-ink); }
.btn--gold:hover { color: var(--c-white); }

.lg-emblem { fill: var(--c-gold); }
.lg-word, .lg-tag { fill: var(--c-ink); }

/* Nagłówek: znak + napis obok siebie. Na górze strony ukryty (duże logo jest w hero),
   pojawia się po przewinięciu. */
.brand { gap: 12px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.brand__mark { width: 92px; height: 40px; }
.brand__word { width: 140px; height: 40px; }
.header:not(.is-scrolled) .brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }

/* Hero: pełne logo rysowane linią, potem wypełniane */
.hero__logo { width: clamp(210px, 24vw, 320px); height: auto; aspect-ratio: 639 / 383; margin-bottom: 30px; overflow: visible; }
.hero__logo .lg-emblem {
  fill-opacity: 0; stroke: var(--c-gold-dark); stroke-width: 1.6; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.4s cubic-bezier(.45, .05, .25, 1) .2s forwards, logo-fill 1s var(--ease) 2.1s forwards;
}
.hero__logo .lg-word, .hero__logo .lg-tag { opacity: 0; transform-box: fill-box; transform: translateY(10px); animation: fade-in-up-svg 1.1s var(--ease) 1.5s forwards; }
.hero__logo .lg-tag { animation-delay: 2s; }
@keyframes logo-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes fade-in-up-svg { to { opacity: 1; transform: none; } }

/* Stopka: logo w wersji na ciemne tło */
.footer .lg-word, .footer .lg-tag { fill: var(--c-white); }
.footer .brand { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }

@media (max-width: 640px) {
  .brand { gap: 8px; }
  .brand__mark { width: 74px; height: 32px; }
  .brand__word { width: 112px; height: 32px; }
  .hero__logo { width: 200px; margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__logo .lg-emblem { fill-opacity: 1; stroke: none; }
  .hero__logo .lg-word, .hero__logo .lg-tag { opacity: 1; transform: none; }
}

/* Animacja panoramy z filmu (assets/media/panorama.mp4)
   Film 1920×1080, szkic w dolnym pasie kadru → pokazujemy tylko ten pas.
   Białe tło znika dzięki mix-blend-mode: multiply. */
.skyline--video { opacity: 1; }
.skyline__video {
  position: relative; width: 100%; min-width: 900px; aspect-ratio: 1920 / 300; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 94%, transparent 100%);
}
.skyline__video video {
  position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0 !important;
  object-fit: cover; object-position: 50% 90%;
  mix-blend-mode: multiply; filter: sepia(.35) contrast(1.05);
}
/* Stopka: odwrócone kolory — jasny szkic na ciemnym tle */
.skyline__video--footer video { mix-blend-mode: screen; filter: invert(1) sepia(.5); opacity: .5; }
@media (max-width: 640px) {
  .skyline__video { min-width: 0; aspect-ratio: 1920 / 340; }
}

/* Hero mieści się na jednym ekranie, a animacja panoramy jest widoczna od razu */
.hero { padding-top: calc(var(--header-h) + 16px); padding-bottom: clamp(120px, 13vw, 200px); min-height: 0; }
.hero__logo { width: clamp(190px, 18vw, 260px); margin-bottom: 18px; }
.hero__title { font-size: clamp(40px, 5vw, 70px); margin-bottom: 18px; }
.hero__lead { margin-bottom: 28px; }
.hero__visual { max-height: 560px; max-width: 440px; }
.skyline--video .skyline__video { aspect-ratio: 1920 / 260; }
.skyline--video .skyline__video video { object-position: 50% 92%; }
@media (max-width: 960px) { .hero__visual { max-width: none; } }

/* Przenikanie (multiply) musi być na warstwie .skyline — ona tworzy własny kontekst,
   więc mieszanie na samym <video> nie „widziało” tła strony. */
.skyline--video { mix-blend-mode: multiply; }
.skyline__video video { mix-blend-mode: normal; }
.footer__skyline:has(.skyline__video--footer) { mix-blend-mode: screen; opacity: .45; }
.skyline__video--footer video { mix-blend-mode: normal; opacity: 1; filter: invert(1) sepia(.5); }

/* Panorama z filmu jako osobny pas pod treścią hero.
   W filmie szkic zajmuje dolną połowę kadru (ok. 48–100% wysokości). */
.hero:has(.skyline--video) { padding-bottom: 0; }
.skyline.skyline--video { position: relative; inset: auto; margin-top: clamp(8px, 2vw, 28px); }
.skyline--video .skyline__video {
  aspect-ratio: 1920 / 560; min-width: 0; max-width: 1680px; margin-inline: auto;
}
.skyline--video .skyline__video video { object-position: 50% 100%; }
.skyline--video + * { position: relative; }
@media (max-width: 640px) {
  .skyline--video .skyline__video { aspect-ratio: 1920 / 600; }
}
/* Stopka: cały szkic, przygaszony */
.skyline__video--footer { aspect-ratio: 1920 / 560 !important; min-width: 0 !important; max-width: 1680px; margin-inline: auto; }
.skyline__video--footer video { object-position: 50% 100%; }
.skyline__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: sepia(.35) contrast(1.05); }
.skyline__video--footer img { filter: invert(1) sepia(.5); }
.hero:has(.skyline--video) .hero__visual { max-height: 500px; }
/* biel filmu = czysta biel (znika przy multiply), kreska lekko ciepła */
.skyline__video video, .skyline__video img { filter: sepia(.4) brightness(1.09) contrast(1.08); }
.skyline__video--footer img { filter: invert(1) sepia(.5); }

/* Zdjęcie Huberta w sekcji „O mnie” */
.about__photo { padding: 0 !important; background: var(--c-mist); }
.about__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.6s var(--ease); }
.about__media:hover .about__img { transform: scale(1.03); }

/* Opinie z Google */
.rating {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: 99px; padding: 10px 20px;
  transition: border-color .3s, box-shadow .3s;
}
.rating:hover { border-color: var(--c-gold); box-shadow: var(--shadow-sm); }
.rating .review__g { width: 20px; height: 20px; }
.rating__score { font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--c-ink); line-height: 1; font-variant-numeric: lining-nums; }
.rating__stars { margin: 0; }
.rating__count { font-size: 13px; color: var(--c-stone); }
.review--real { border-style: solid; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.review--real:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review--real .review__stars { color: var(--c-gold); margin: 0; }
.review__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.review__g { width: 22px; height: 22px; flex: none; }
.review__ctx { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-dark); font-weight: 600; margin: 0 0 12px; }
.review--real .review__text { font-family: var(--f-display); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--c-ink); margin: 0 0 26px; flex: 1; }
.review--real .review__avatar { background: var(--c-gold); color: var(--c-white); }
.reviews__cta { text-align: center; margin-top: 44px; }
.rating__stars { color: var(--c-gold); }
.rating__stars svg { width: 14px; height: 14px; }
.review--real .review__text { font-variant-numeric: lining-nums; }
.contact__map { text-align: center; color: var(--c-graphite); line-height: 1.8; transition: border-color .3s, box-shadow .3s; }
.contact__map:hover { border-color: var(--c-gold); box-shadow: var(--shadow-sm); }
.contact__map .link-arrow { font-size: 11px; margin-top: 6px; }
.footer a[href^="mailto"], .contact__item a[href^="mailto"] { overflow-wrap: anywhere; }
.contact__note {
  border-left: 2px solid var(--c-gold); background: var(--c-paper); padding: 18px 22px; margin: -6px 0 28px;
  font-size: 14px; color: var(--c-graphite); border-radius: 0 var(--radius) var(--radius) 0;
}
.contact__note p { margin: 0 0 8px; }
.contact__note p:last-child { margin: 0; color: var(--c-stone); }
.contact__note strong { font-weight: 600; color: var(--c-ink); }

/* Media społecznościowe (Instagram, Facebook, YouTube) */
.social { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social__link {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  color: #6f6f6f; transition: color .3s, background .3s, transform .3s var(--ease);
}
.social__link svg { width: 22px; height: 22px; }
.social__link:hover { color: var(--c-gold-dark); background: var(--c-paper); transform: translateY(-2px); }
.social--header { margin-right: -8px; }
.nav { gap: 26px; }
@media (max-width: 1280px) { .header .nav__phone { display: none; } }
.social--footer { margin-top: 22px; --social-cut: var(--c-ink); }
.social--footer .social__link { color: #a9a49b; border: 1px solid rgba(255,255,255,.14); }
.social--footer .social__link:hover { color: var(--c-gold-light); background: rgba(255,255,255,.06); }
@media (max-width: 960px) {
  .header .nav__phone { display: flex; }
  .social--header { order: 2; margin: 0; gap: 14px; }
  .social--header .social__link { width: 48px; height: 48px; }
  .social--header .social__link svg { width: 26px; height: 26px; }
}
/* nagłówek: bez zawijania; numer telefonu w nagłówku tylko na bardzo szerokich ekranach
   (zawsze jest w menu mobilnym, w sekcji Kontakt i w stopce) */
.nav__link, .nav__phone, .nav .btn { white-space: nowrap; }
.nav__list { gap: 24px; }
@media (min-width: 961px) and (max-width: 1499px) { .header .nav__phone { display: none; } }
.footer .social { display: flex; gap: 10px; }

/* ==========================================================================
   INTRO — film powitalny na pełnym ekranie (raz na sesję)
   Film w oryginalnych proporcjach (object-fit: contain), tło = biel filmu.
   ========================================================================== */
.intro { display: none; }
html.intro-on .intro {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 1000; background: #fefefe;
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .6s;
}
html.intro-on body { overflow: hidden; }
.intro__video {
  display: block; width: 100%; height: 100%; object-fit: contain; background: #fefefe;
  opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.intro__video.is-playing { opacity: 1; }
.intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.intro.is-leaving .intro__video { transform: scale(1.012); }
.intro__skip {
  position: absolute; right: clamp(16px, 4vw, 44px); bottom: clamp(16px, 4vw, 40px);
  border: 0; background: transparent; cursor: pointer; padding: 10px 2px;
  font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--c-stone); border-bottom: 1px solid var(--c-gold-light);
  opacity: 0; animation: fade-in .8s var(--ease) 1.2s forwards; transition: color .3s, border-color .3s;
}
.intro__skip span { display: inline-block; margin-left: 6px; letter-spacing: 0; transition: transform .3s var(--ease); }
.intro__skip:hover, .intro__skip:focus-visible { color: var(--c-ink); border-color: var(--c-gold); }
.intro__skip:hover span { transform: translateX(3px); }
/* animacje górnej części strony czekają, aż intro zacznie znikać */
html.intro-on:not(.intro-leaving) .hero,
html.intro-on:not(.intro-leaving) .hero * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .intro__video, .intro.is-leaving .intro__video { transition: none; transform: none; }
}

/* Nagłówek po przewinięciu: pełne logo w układzie pionowym (panorama nad napisem) */
.header.is-scrolled { --header-h: 88px; }
.brand__full { display: block; height: 68px; width: auto; aspect-ratio: 639 / 383; }
@media (max-width: 960px) {
  .header.is-scrolled { --header-h: 76px; }
  .brand__full { height: 58px; }
}

/* ==========================================================================
   Ożywiony szkic panoramy: ptaki, wiatr, chmury i migotanie Warty
   (kreska ołówka nałożona na gotowy rysunek)
   ========================================================================== */
.alive { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.alive path { fill: none; stroke: #5d5952; stroke-linecap: round; stroke-linejoin: round; }

/* ptaki — przelot nad miastem z lekkim falowaniem i machaniem skrzydłami */
.alive__bird { animation: bird-fly linear infinite; }
.alive__bird path { stroke-width: 2.4; opacity: .75; }
@keyframes bird-fly { from { transform: translateX(-80px); } to { transform: translateX(2000px); } }

/* podmuchy wiatru — kreska rysuje się i znika, przesuwając się z wiatrem */
.alive__gust { stroke-width: 1.6; opacity: .45; stroke-dasharray: .45 1; stroke-dashoffset: 1.45; animation: gust ease-in-out infinite; }
@keyframes gust {
  0%   { stroke-dashoffset: 1.45; opacity: 0; }
  15%  { opacity: .45; }
  60%  { opacity: .4; }
  100% { stroke-dashoffset: -.5; opacity: 0; }
}

/* chmurki — bardzo powolny dryf */
.alive__cloud { animation: cloud-drift linear infinite; }
.alive__cloud path { stroke-width: 1.5; opacity: .32; stroke-dasharray: 6 5; }
@keyframes cloud-drift { from { transform: translateX(-200px); } to { transform: translateX(2000px); } }

/* woda — migoczące kreski na Warcie */
.alive__ripple { stroke-width: 1.4; opacity: 0; animation: ripple 4.2s ease-in-out infinite; }
@keyframes ripple {
  0%, 100% { opacity: 0; transform: translateX(0); }
  50% { opacity: .5; transform: translateX(10px); }
}

@media (prefers-reduced-motion: reduce) { .alive { display: none; } }

/* Realistyczny ruch (silnik w main.js): ptaki, liście, błyski wody */
.alive .alive__bird { animation: none; stroke-width: 2.2; }
.alive .alive__leaf { fill: rgba(93, 89, 82, .18); stroke-width: 1.2; }
.alive .alive__glint { stroke-width: 1.3; }
.alive .alive__cloud path { stroke-dasharray: none; stroke-width: 1.3; opacity: .22; }

/* Realistyczne chmury (cumulusy szkicowane ołówkiem) */
.alive .alive__cloud-shade { fill: rgba(120, 113, 102, .11); stroke: none; filter: url(#znCloudSoft); }
.alive .alive__cloud-hatch { stroke: #6b665e; stroke-width: .9; opacity: .22; }
.alive .alive__cloud-line { stroke: #5d5952; stroke-width: 1.25; opacity: .42; }
.alive .alive__cloud-line--2 { stroke-width: .8; opacity: .2; }
.alive .alive__cloud-base { stroke: #6b665e; stroke-width: .8; opacity: .18; stroke-dasharray: 14 9; }
/* chmury v2: biała góra, cień tylko od spodu, wewnętrzne kłęby */
.alive .alive__cloud-shade { fill: url(#znCloudGrad); filter: url(#znCloudSoft); }
.alive .alive__cloud-line { stroke-width: 1.3; opacity: .5; }
.alive .alive__cloud-line--2 { stroke-width: .8; opacity: .22; }
.alive .alive__cloud-inner { stroke: #6b665e; stroke-width: .95; opacity: .3; }
.alive .alive__cloud-hatch { opacity: .2; }

/* Kołyszące się drzewo (kopia korony z rysunku) + jednolity wygląd warstwy z rysunkiem */
.skyline__video .alive { filter: sepia(.4) brightness(1.09) contrast(1.08); }
.alive .alive__eraser { fill: #fff; stroke: none; }
.alive .alive__leaf { fill: rgba(93, 89, 82, .25); }
@media (max-width: 640px) { .skyline--video .skyline__video { aspect-ratio: 1920 / 560; } } /* ten sam kadr co warstwa animacji */
@media (prefers-reduced-motion: reduce) { .alive { display: none; } }
/* lewa krawędź szkicu prawie bez wygaszania — kołyszące się drzewo jest w pełni widoczne */
.skyline--video .skyline__video {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 .6%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 .6%, #000 95%, transparent 100%);
}

/* Logo na górze strony — film przycięty do samego logo.
   W kadrze 1920×1080 logo zajmuje ok. x 230–1410, y 80–810 (proporcje 590:365). */
.hero__logo-video {
  position: relative; overflow: hidden; width: clamp(220px, 21vw, 300px); aspect-ratio: 590 / 365;
  margin: 0 0 22px -2%;
}
.hero__logo-video video {
  position: absolute; left: -19.49%; top: -10.96%; width: 162.71%; height: auto; max-width: none;
  mix-blend-mode: multiply; display: block;
}
/* mieszanie z tłem strony (biel filmu znika) — bez osobnej warstwy nad siatką hero */
.hero:has(.hero__logo-video) .hero__grid { z-index: auto; }
.hero__logo--fallback[hidden] { display: none; }
@media (max-width: 640px) { .hero__logo-video { width: 220px; margin-bottom: 16px; } }
/* mieszanie na kontenerze (pewniejsze niż na samym <video>) */
.hero__logo-video { mix-blend-mode: multiply; }
.hero__logo-video video { mix-blend-mode: normal; }
/* miękko wygaszone krawędzie kadru — żadnej widocznej ramki wokół logo */
.hero__logo-video {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-composite: intersect;
}

/* Zdjęcie w hero: klucz na planie mieszkania — kadr ustawiony na klucz */
.hero__photo .hero__img { object-position: 12% 50%; }
@media (max-width: 960px) { .hero__photo .hero__img { object-position: 30% 45%; } }
/* plakietka po prawej — nie zasłania klucza na zdjęciu */
.hero__badge { left: auto; right: -36px; }
@media (max-width: 960px) { .hero__badge { left: auto; right: 16px; } }
.hero__badge { top: 40px; bottom: auto; }
@media (max-width: 960px) { .hero__badge { top: 16px; bottom: auto; } }

/* ==========================================================================
   ZGŁOŚ NIERUCHOMOŚĆ — okno z formularzem
   ========================================================================== */
.zglos { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 24px; }
.zglos[hidden] { display: none; }
.zglos__backdrop { position: absolute; inset: 0; background: rgba(23, 24, 26, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.zglos__panel {
  position: relative; width: 100%; max-width: 780px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--c-white); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(23, 24, 26, .25);
  padding: clamp(28px, 4vw, 52px); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.zglos.is-open .zglos__backdrop { opacity: 1; }
.zglos.is-open .zglos__panel { opacity: 1; transform: none; }
body.zglos-open { overflow: hidden; }
.zglos__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--c-graphite); display: grid; place-items: center; transition: background .3s, color .3s; }
.zglos__close:hover { background: var(--c-paper); color: var(--c-ink); }
.zglos__head { margin-bottom: 26px; padding-right: 40px; }
.zglos__title { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 10px; }
.zglos__title em { font-style: italic; color: var(--c-gold-dark); }
.zglos__lead { color: var(--c-stone); font-size: 15px; margin: 0; }
.zglos__group { border: 0; margin: 0 0 18px; padding: 22px 0 4px; border-top: 1px solid var(--c-mist); }
.zglos__group legend { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold-dark); font-weight: 600; padding: 0 0 6px; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 18px; border: 1px solid var(--c-line); border-radius: 99px; font-size: 14px; color: var(--c-graphite); transition: all .25s var(--ease); }
.chip:hover span { border-color: var(--c-gold); }
.chip input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.chip input:focus-visible + span { outline: 2px solid var(--c-gold); outline-offset: 2px; }

.upload { margin: 6px 0 14px; }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--c-line); border-radius: var(--radius-lg); padding: 22px 16px; color: var(--c-stone); font-size: 14px;
  transition: border-color .3s, background .3s;
}
.upload__drop svg { color: var(--c-gold-dark); }
.upload__drop strong { color: var(--c-ink); font-weight: 600; }
.upload__drop small { font-size: 12px; }
.upload__drop:hover, .upload.is-drag .upload__drop { border-color: var(--c-gold); background: var(--c-paper); }
.upload__input:focus-visible + .upload__drop { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.upload__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.upload__list li { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--c-mist); animation: fade-in-up .4s var(--ease); }
.upload__list img { width: 100%; height: 100%; object-fit: cover; }
.upload__remove { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(23, 24, 26, .7); color: #fff; font-size: 14px; line-height: 1; display: grid; place-items: center; }
.upload__note { font-size: 12px; color: #b4573f; margin-top: 6px; }

.zglos__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.zglos__done { text-align: center; padding: 20px 0 4px; }
.zglos__done[hidden] { display: none; }
.zglos__done-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--c-paper); color: var(--c-gold-dark); animation: pop .6s var(--ease); }
.zglos__done .zglos__lead { max-width: 460px; margin: 0 auto 22px; }
.zglos__done .zglos__lead a { color: var(--c-ink); font-weight: 600; }
.zglos__summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; text-align: left; max-width: 460px; margin: 0 auto 22px; padding: 18px 22px; background: var(--c-paper); border-left: 2px solid var(--c-gold); font-size: 14px; }
.zglos__summary dt { color: var(--c-stone); }
.zglos__summary dd { margin: 0; color: var(--c-ink); font-weight: 500; }
.zglos__done .demo-note { display: block; width: fit-content; margin: 0 auto 22px; }

@media (max-width: 640px) {
  .zglos { padding: 0; align-items: flex-end; }
  .zglos__panel { max-height: 94vh; border-radius: 16px 16px 0 0; padding: 30px 20px 24px; transform: translateY(40px); }
  .form__row--3 { grid-template-columns: 1fr 1fr; }
  .form__row--3 .form__group:last-child { grid-column: 1 / -1; }
  .zglos__foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .zglos__panel, .zglos__backdrop { transition: none; } }
/* duże logo na górze — wyżej (pas nagłówka na górze strony jest pusty po lewej) */
.hero__logo-video { margin-top: -34px; margin-bottom: 38px; }
@media (max-width: 960px) { .hero__logo-video { margin-top: -18px; margin-bottom: 26px; } }

/* Szkic panoramy z ptakami w szarości (ołówek na białym papierze).
   Dawny beżowy ton: usuń ten blok. */
.skyline--video .skyline__video img,
.skyline__video .alive { filter: grayscale(1) brightness(1.06) contrast(1.1); }

/* Stopka: logo pionowe (panorama nad napisem), jasny napis na ciemnym tle */
.footer .brand { display: inline-block; }
.footer .brand__full--footer { height: 92px; width: auto; }
.footer__about { margin-top: 24px; }
@media (max-width: 640px) { .footer .brand__full--footer { height: 84px; } }

/* Intro: przycisk dźwięku (lewy dolny róg; „Pomiń” — prawy) */
.intro__sound {
  position: absolute; left: clamp(16px, 4vw, 44px); bottom: clamp(16px, 4vw, 40px);
  display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; cursor: pointer; padding: 10px 2px;
  font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--c-stone); border-bottom: 1px solid var(--c-gold-light);
  opacity: 0; animation: fade-in .8s var(--ease) 1.2s forwards; transition: color .3s, border-color .3s;
}
.intro__sound:hover, .intro__sound:focus-visible, .intro__sound.is-on { color: var(--c-ink); border-color: var(--c-gold); }
.intro__sound-icon { flex: none; }
.intro__sound .intro__sound-on { display: none; }
.intro__sound.is-on .intro__sound-on { display: inline; animation: fade-in .4s; }
.intro__sound.is-on .intro__sound-off { display: none; }
/* przyciski intro na jasnym tle — czytelne także na kresce rysunku */
.intro__sound, .intro__skip {
  background: rgba(254, 254, 254, .9); border: 1px solid var(--c-gold-light); border-radius: 99px; padding: 9px 16px;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.intro__sound:hover, .intro__skip:hover, .intro__sound.is-on { background: #fff; }
/* telefon: dźwięk jako sama ikona — przyciski nie nachodzą na siebie */
@media (max-width: 560px) {
  .intro__sound { padding: 10px; gap: 0; letter-spacing: 0; }
  .intro__sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .intro__skip { letter-spacing: .2em; padding: 9px 14px; }
}

/* Mieniący się kluczyk — film w pętli w miejscu zdjęcia (kadr 16:9 → ustawiony na klucz) */
.hero__photo video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); animation: settle 2.2s var(--ease) .3s forwards; }
.hero__photo .hero__img--video { object-position: 8% 50%; }
@media (max-width: 960px) { .hero__photo .hero__img--video { object-position: 22% 45%; } }

/* Dym z komina (kreska ołówka) */
.alive .alive__puff { fill: rgba(110, 104, 96, .1); stroke: #6b665e; stroke-width: 1.1; }

/* Górna część strony — wersja zwarta (desktop). Dawne, większe proporcje: usuń ten blok. */
@media (min-width: 961px) {
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero__logo-video { width: clamp(210px, 18vw, 255px); margin-top: -30px; margin-bottom: 26px; }
  .hero__content .eyebrow { margin-bottom: 12px; }
  .hero__title { font-size: clamp(38px, 4.3vw, 60px); margin-bottom: 14px; }
  .hero__lead { font-size: 17px; margin-bottom: 24px; }
  .hero:has(.skyline--video) .hero__visual { max-height: 440px; max-width: 400px; }
  .skyline.skyline--video { margin-top: -6px; }
}
/* bardzo wąskie telefony: hasło zawsze mieści się na szerokość ekranu */
@media (max-width: 420px) { .hero__title { font-size: clamp(30px, 10.5vw, 42px); } }

/* NA PRÓBĘ (2): jeszcze bardziej zwarta góra — więcej szkicu panoramy na pierwszym ekranie.
   Powrót do poprzedniej wersji: usuń ten blok. */
@media (min-width: 961px) {
  .hero { padding-top: calc(var(--header-h) + 2px); }
  .hero__logo-video { width: clamp(190px, 15vw, 215px); margin-top: -32px; margin-bottom: 18px; }
  .hero__content .eyebrow { margin-bottom: 10px; }
  .hero__title { font-size: clamp(36px, 3.7vw, 52px); margin-bottom: 12px; }
  .hero__lead { font-size: 16px; line-height: 1.65; max-width: 540px; margin-bottom: 20px; }
  .hero:has(.skyline--video) .hero__visual { max-height: 380px; max-width: 360px; }
  .skyline.skyline--video { margin-top: -10px; }
}
@media (min-width: 961px) { .hero__photo .hero__img--video { object-position: 0% 50%; } }
/* mniejsza ramka zdjęcia: plakietka w lewym dolnym rogu — nie zasłania kluczyka */
@media (min-width: 961px) { .hero__badge { left: -36px; right: auto; top: auto; bottom: 34px; } }
@media (min-width: 961px) { .hero__badge { left: -36px; bottom: -74px; } }
@media (min-width: 961px) { .hero__badge { bottom: -58px; } }

/* „Włącz dźwięk” — delikatne pulsowanie, gdy przeglądarka wystartowała intro bez dźwięku */
.intro__sound.is-hint { animation: fade-in .8s var(--ease) 1.2s forwards, sound-hint 1.8s ease-in-out 2.2s 3; }
@keyframes sound-hint {
  0%, 100% { box-shadow: 0 0 0 0 rgba(188, 173, 147, 0); }
  50% { box-shadow: 0 0 0 8px rgba(188, 173, 147, .35); }
}
@media (min-width: 961px) { .hero__badge { bottom: -42px; left: -12px; } }

/* Kluczyk: mocniejszy blask — żywszy mosiądz, przesuwający się refleks światła, migoczące iskierki */
.hero__photo .hero__img--video { filter: contrast(1.08) saturate(1.2) brightness(1.04); }
.key-shine { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.key-shine__sweep {
  position: absolute; inset: -30% -60%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 236, 190, .0) 45%, rgba(255, 238, 200, .85) 50%, rgba(255, 236, 190, 0) 55%, transparent 58%);
  mix-blend-mode: overlay; transform: translateX(-45%);
  animation: key-sweep 5.5s cubic-bezier(.45, .05, .25, 1) 2.2s infinite;
}
@keyframes key-sweep {
  0% { transform: translateX(-45%); opacity: 0; }
  6% { opacity: 1; }
  34% { transform: translateX(45%); opacity: 1; }
  40%, 100% { transform: translateX(45%); opacity: 0; }
}
.spark {
  position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; margin: -9px 0 0 -9px;
  background: radial-gradient(circle, #fff 0 18%, rgba(255, 244, 214, .9) 30%, rgba(255, 236, 190, 0) 62%);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  transform: scale(0) rotate(0deg); opacity: 0; mix-blend-mode: screen;
  animation: spark 3.6s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes spark {
  0%, 62%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
  72% { transform: scale(var(--s)) rotate(45deg); opacity: 1; }
  84% { transform: scale(calc(var(--s) * .4)) rotate(90deg); opacity: .6; }
}
/* iskierki pasują do kadru na komputerze; na telefonie zostaje sam refleks */
@media (max-width: 960px) { .spark { display: none; } }
@media (prefers-reduced-motion: reduce) { .key-shine { display: none; } }
.spark { width: 28px; height: 28px; margin: -14px 0 0 -14px; background: radial-gradient(circle, #fff 0 22%, rgba(255, 248, 228, .95) 34%, rgba(255, 240, 205, 0) 64%); }
.key-shine__sweep { background: linear-gradient(115deg, transparent 42%, rgba(255, 248, 230, 0) 45%, rgba(255, 250, 236, .9) 50%, rgba(255, 248, 230, 0) 55%, transparent 58%); }
.form__check a { color: var(--c-gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.form__check a:hover { color: var(--c-ink); }

/* ==========================================================================
   STRONA „OFERTY”
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-oferty .header--solid .brand { opacity: 1; transform: none; pointer-events: auto; }
.page-head { padding: calc(88px + clamp(36px, 5vw, 64px)) 0 clamp(70px, 8vw, 96px); background: linear-gradient(180deg, var(--c-white), var(--c-paper)); }
.crumbs { font-size: 12px; letter-spacing: .08em; color: var(--c-stone); margin-bottom: 22px; display: flex; gap: 8px; }
.crumbs a { color: var(--c-graphite); border-bottom: 1px solid var(--c-line); }
.crumbs a:hover { color: var(--c-gold-dark); border-color: var(--c-gold); }
.page-head__title { font-size: clamp(38px, 5vw, 60px); margin-bottom: 12px; }
.page-head__title em { font-style: italic; color: var(--c-gold-dark); }
.page-head__lead { color: var(--c-stone); font-size: 17px; max-width: 640px; margin: 0; }
.page-head__lead .demo-note { margin-left: 6px; vertical-align: middle; }
.search--page { margin-top: -44px; }
.section--offers-list { padding-top: clamp(48px, 6vw, 72px); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--c-mist); scroll-margin-top: 110px; }
.results-bar__info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--c-stone); }
.results-bar__info strong { font-family: var(--f-display); font-size: 30px; color: var(--c-ink); font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 8px; }
.active-filter { border: 1px solid var(--c-line); background: var(--c-white); border-radius: 99px; padding: 6px 12px; font-size: 13px; color: var(--c-graphite); cursor: pointer; transition: border-color .25s, color .25s; }
.active-filter span[aria-hidden] { color: var(--c-gold-dark); margin-left: 2px; }
.active-filter:hover { border-color: var(--c-gold); color: var(--c-ink); }
.active-filter--clear { border-style: dashed; color: var(--c-stone); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-stone); }
.sort__select {
  border: 1px solid var(--c-line); border-radius: 99px; padding: 9px 36px 9px 16px; background: var(--c-white); color: var(--c-ink); font-size: 14px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23857659' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.offers-empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--c-line); border-radius: var(--radius-lg); background: var(--c-paper); }
.offers-empty[hidden], .offers__grid[hidden] { display: none; }
.offers-empty h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.offers-empty p { color: var(--c-stone); max-width: 520px; margin: 0 auto 24px; }
.offers-empty__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.offers-cta { background: var(--c-paper); border-top: 1px solid var(--c-mist); padding: clamp(48px, 6vw, 72px) 0; }
.offers-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.offers-cta__title { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.offers-cta__title em { font-style: italic; color: var(--c-gold-dark); }
@media (max-width: 640px) {
  .page-head { padding-top: calc(76px + 28px); }
  .results-bar { align-items: flex-start; }
  .active-filters { margin-left: 0; width: 100%; }
  .offers-cta__inner .btn { width: 100%; }
}

/* „O mnie”: numer licencji */
.about__license { display: inline-flex; align-items: center; gap: 10px; margin: -4px 0 6px; padding: 9px 16px; border: 1px solid var(--c-gold-light); border-radius: 99px; background: var(--c-white); font-size: 14px; color: var(--c-graphite); }
.about__license svg { color: var(--c-gold-dark); flex: none; }
.about__license strong { color: var(--c-ink); font-weight: 600; letter-spacing: .04em; }

/* Formularze: pole-pułapka na boty, błąd wysyłki, stan wysyłania */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { border-left-color: #b4573f; }
.zglos__error { color: #b4573f; font-size: 14px; margin: 0 0 14px; }
.btn.is-sending { opacity: .6; pointer-events: none; }
.header--solid .brand { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
.offers__soon { grid-column: 1 / -1; text-align: center; color: var(--c-stone); padding: 40px 20px; border: 1px dashed var(--c-line); border-radius: var(--radius-lg); background: var(--c-paper); margin: 0; }
.offers__soon a { color: var(--c-ink); font-weight: 600; }

/* parowóz jak szkic ołówkiem: cieniowanie kreskami zamiast wypełnień */

/* parowóz: grubość kreski jak w rysunku, ale jaśniejszy, szary ołówek */


/* ==========================================================================
   SPRZEDANE I WYNAJĘTE — archiwum zakończonych ofert (sprzedane.html + zapowiedź na stronie ofert)
   ========================================================================== */
.section--done { padding-top: clamp(40px, 5vw, 64px); }
.done-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 36px; }
.done-tabs { padding: 0; border: 0; margin: 0; }
.done-types { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.done-chip { border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-graphite); border-radius: 999px; padding: 8px 16px; font: 500 13px var(--f-body); cursor: pointer; transition: all .3s var(--ease); }
.done-chip:hover { border-color: var(--c-gold); color: var(--c-gold-dark); }
.done-chip.is-active { background: var(--c-paper); border-color: var(--c-gold); color: var(--c-ink); }
.done-count { font-size: 14px; color: var(--c-stone); }
.done-count strong { font-family: var(--f-display); font-size: 26px; color: var(--c-ink); font-weight: 600; margin-right: 2px; }

/* karta: zdjęcie w ołówkowej szarości + pieczęć; po najechaniu wraca kolor */
.card--done .card__media { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; font: inherit; }
.card--done .card__media img { filter: grayscale(.92) contrast(1.04) brightness(1.04); transition: filter .9s var(--ease), transform 1.2s var(--ease); }
.card--done:hover .card__media img, .card--done .card__media:focus-visible img { filter: none; }
.card--done .card__title { font-size: 22px; }
.card--done .card__meta { margin-bottom: 16px; }
.card__done { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-dark); font-weight: 600; }
.card__done svg { width: 18px; height: 18px; }
button.card__more { background: transparent; cursor: pointer; color: inherit; padding: 0; }

.stamp {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 22px 8px; border: 2px solid var(--c-gold-dark); outline: 1px solid var(--c-gold-dark); outline-offset: 3px;
  background: rgba(255, 255, 255, .86); color: var(--c-gold-dark); border-radius: 3px;
  font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: .22em; text-transform: uppercase; line-height: 1;
  box-shadow: 0 6px 22px rgba(23, 24, 26, .12); pointer-events: none; white-space: nowrap;
}
.stamp small { font-family: var(--f-body); font-size: 10px; letter-spacing: .3em; font-weight: 600; opacity: .8; }
.stamp--big { font-size: clamp(28px, 3.4vw, 40px); padding: 14px 32px 12px; border-width: 3px; }
.stamp--big small { font-size: 12px; }
.stamp.is-pressed { animation: stampIn .7s cubic-bezier(.2, .9, .3, 1.2) both .15s; }
@keyframes stampIn {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(1.9); }
  55% { opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(.94); }
  75% { transform: translate(-50%, -50%) rotate(-8.5deg) scale(1.03); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
}

/* okno szczegółów */
.done-modal { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 24px; }
.done-modal[hidden] { display: none; }
.done-modal__backdrop { position: absolute; inset: 0; background: rgba(23, 24, 26, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.done-modal__panel {
  position: relative; width: min(1120px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: var(--c-white);
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  display: grid; grid-template-columns: 1.35fr 1fr; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.done-modal.is-open .done-modal__backdrop { opacity: 1; }
.done-modal.is-open .done-modal__panel { opacity: 1; transform: none; }
.done-open { overflow: hidden; }
.done-modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-graphite); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s; }
.done-modal__close:hover { background: var(--c-paper); color: var(--c-ink); }
.done-modal__media { background: var(--c-paper); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.done-modal__photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--c-mist); }
.done-modal__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.done-modal__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.done-thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--c-mist); opacity: .65; transition: opacity .3s, border-color .3s; }
.done-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.done-thumb:hover { opacity: 1; }
.done-thumb.is-active { opacity: 1; border-color: var(--c-gold); }
.done-modal__info { padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; }
.done-modal__info .eyebrow { color: var(--c-gold-dark); }
.done-modal__title { font-size: clamp(26px, 2.8vw, 34px); margin: 4px 0 10px; padding-right: 30px; }
.done-modal__note { font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--c-gold-dark); margin: 0 0 20px; }
.done-modal__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--c-mist); border: 1px solid var(--c-mist); border-radius: var(--radius); overflow: hidden; margin: 0 0 24px; }
.done-modal__facts div { background: var(--c-white); padding: 12px 14px; }
.done-modal__facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-stone); margin-bottom: 4px; }
.done-modal__facts dd { margin: 0; color: var(--c-ink); font-weight: 600; font-size: 15px; }
.done-modal__cta { background: var(--c-paper); border-left: 2px solid var(--c-gold); padding: 20px 22px; margin-bottom: 20px; }
.done-modal__cta strong { font-family: var(--f-display); font-size: 22px; color: var(--c-ink); font-weight: 600; }
.done-modal__cta p { color: var(--c-stone); font-size: 14px; margin: 6px 0 16px; }
.done-modal__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.done-modal__btns .btn { min-height: 46px; padding: 0 20px; font-size: 12px; }
.done-modal__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--c-ink); font-size: 15px; }
.done-modal__phone svg { width: 16px; height: 16px; color: var(--c-gold-dark); }
.done-modal__nav { display: flex; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.done-modal__nav button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer; font: 500 13px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--c-graphite); padding: 8px 0; }
.done-modal__nav button:hover { color: var(--c-gold-dark); }
.done-modal__nav button[disabled] { opacity: .3; cursor: default; }
.done-modal__nav svg { width: 16px; height: 16px; }
.done-modal__nav [data-step="-1"] svg { transform: scaleX(-1); }

/* zapowiedź na stronie ofert */
.done-teaser { padding: clamp(56px, 7vw, 90px) 0; border-top: 1px solid var(--c-mist); }
.done-teaser__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.done-teaser__title { font-size: clamp(30px, 3.6vw, 44px); margin: 0; }
.done-teaser__title em { font-style: italic; color: var(--c-gold-dark); }

@media (max-width: 900px) {
  .done-modal { padding: 0; align-items: flex-end; }
  .done-modal__panel { grid-template-columns: 1fr; max-height: 94vh; border-radius: 16px 16px 0 0; }
  .done-modal__media { padding: 12px; }
  .done-modal__thumbs { gap: 6px; }
}
@media (max-width: 640px) {
  .done-bar { flex-direction: column; align-items: stretch; }
  .done-tabs { overflow-x: auto; }
  .done-types { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .done-chip { white-space: nowrap; }
  .stamp { font-size: 20px; padding: 8px 18px 7px; }
  .done-modal__facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .stamp.is-pressed { animation: none; } }
.offers__done-link { display: block; width: fit-content; margin: 18px auto 0; font-size: 13px; letter-spacing: .06em; color: var(--c-stone); border-bottom: 1px solid var(--c-line); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.offers__done-link:hover { color: var(--c-gold-dark); border-color: var(--c-gold); }
@media (max-width: 640px) {
  .done-bar { min-width: 0; max-width: 100%; }
  .done-types, .done-tabs { min-width: 0; max-width: 100%; width: 100%; flex: none; }
}

/* Stopka: cała (czarne tło + szkic) mieści się na jednym ekranie */
.footer { padding-top: clamp(40px, 5vh, 60px); }
.footer__grid { padding-bottom: clamp(20px, 3vh, 36px); gap: 32px; }
.footer h4 { margin-bottom: 14px; }
.footer ul { gap: 7px; }
.footer .brand__full--footer { height: 76px; }
.footer__about { margin-top: 16px; }
.skyline__video--footer { max-width: min(1100px, 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.skyline__video--footer img { object-position: 50% 100%; }
.footer__bottom { padding-block: 16px; }
@media (max-width: 640px) {
  .footer .brand__full--footer { height: 66px; }
  .footer__grid { gap: 22px; }
  .skyline__video--footer { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 640px) {
  .footer { font-size: 13px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1 / -1; }
  .footer__about { margin-top: 10px; max-width: none; }
  .footer h4 { margin-bottom: 10px; }
  .footer ul { gap: 5px; }
  .footer__bottom { font-size: 11px; gap: 6px; padding-block: 12px; }
}

/* Kontakt: cała sekcja na jednym ekranie (komputer) */
@media (min-width: 1000px) {
  #kontakt { padding-block: clamp(36px, 5vh, 60px); }
  #kontakt .contact__grid { align-items: center; gap: clamp(36px, 5vw, 64px); }
  #kontakt .section__title { font-size: clamp(34px, 3.3vw, 44px); margin-bottom: 8px; }
  #kontakt .section__lead { font-size: 15px; margin: 0; }
  #kontakt .contact__items { gap: 12px; margin: 22px 0; }
  #kontakt .contact__icon { width: 40px; height: 40px; }
  #kontakt .contact__icon svg { width: 17px; height: 17px; }
  #kontakt .contact__item { gap: 14px; }
  #kontakt .contact__item a, #kontakt .contact__item p { font-size: 15px; }
  #kontakt .contact__note { padding: 12px 16px; margin: 0 0 16px; font-size: 13px; line-height: 1.55; }
  #kontakt .contact__note p { margin-bottom: 4px; }
  /* mapa: zamiast dużego kafla — jedna linia */
  #kontakt .contact__map { height: auto; padding: 12px 18px; background: var(--c-white); display: flex; justify-content: flex-start; text-align: left; line-height: 1.5; }
  #kontakt .contact__map > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  #kontakt .contact__map svg { width: 20px; height: 20px; margin: 0; }
  #kontakt .contact__map br { display: none; }
  #kontakt .contact__map .link-arrow { margin: 0 0 0 auto; }
  #kontakt .form { padding: 30px 36px; }
  #kontakt .form__title { font-size: 26px; margin-bottom: 2px; }
  #kontakt .form__sub { margin-bottom: 10px; }
  #kontakt .form__group { margin-bottom: 12px; }
  #kontakt .form__input { padding: 18px 0 8px; }
  #kontakt .form__label { top: 18px; }
  #kontakt .form__input:focus + .form__label, #kontakt .form__input:not(:placeholder-shown) + .form__label, #kontakt .form__label--fixed { top: 0; }
  #kontakt textarea.form__input { min-height: 84px; }
  #kontakt .form__check { margin: 4px 0 18px; font-size: 12px; line-height: 1.5; }
}
@media (max-width: 999px) {
  #kontakt { padding-block: 56px; }
  #kontakt .contact__items { gap: 16px; margin: 24px 0; }
  #kontakt .contact__map { height: auto; padding: 12px 16px; background: var(--c-white); display: block; text-align: left; line-height: 1.5; }
  #kontakt .contact__map > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  #kontakt .contact__map svg { width: 20px; height: 20px; margin: 0; }
  #kontakt .contact__map br { display: none; }
  #kontakt textarea.form__input { min-height: 96px; }
}

/* Opinie: cała sekcja na jednym ekranie (komputer) */
@media (min-width: 1000px) {
  #opinie { padding-block: clamp(40px, 6vh, 64px); }
  #opinie .section__head { margin-bottom: 32px; }
  #opinie .section__title { font-size: clamp(34px, 3.4vw, 46px); margin-bottom: 12px; }
  #opinie .review { padding: 28px 30px; }
  #opinie .review__top { margin-bottom: 14px; }
  #opinie .review--real .review__text { font-size: 20px; margin-bottom: 20px; }
  #opinie .review__author { padding-top: 16px; }
  #opinie .reviews__cta { margin-top: 28px; }
}

/* Usługi („Kompleksowa opieka…”): cała sekcja na jednym ekranie (komputer) */
@media (min-width: 1000px) {
  #uslugi { padding-block: clamp(40px, 6vh, 60px); }
  #uslugi .section__head { max-width: 860px; margin-bottom: 30px; }
  #uslugi .section__title { font-size: clamp(34px, 3.4vw, 46px); margin-bottom: 10px; }
  #uslugi .section__lead { font-size: 15px; max-width: 620px; margin-inline: auto; }
  #uslugi .service { padding: 28px 32px 26px; }
  #uslugi .service__num { top: 24px; right: 26px; }
  #uslugi .service__icon { width: 46px; height: 46px; margin-bottom: 16px; }
  #uslugi .service__title { font-size: 23px; margin-bottom: 8px; }
  #uslugi .service p { font-size: 14px; line-height: 1.6; margin: 0; }
}

/* O mnie: cała sekcja na jednym ekranie (komputer) */
@media (min-width: 1000px) {
  #o-mnie { padding-block: clamp(44px, 6vh, 64px) clamp(56px, 7vh, 76px); }
  #o-mnie .about__grid { gap: clamp(40px, 6vw, 84px); }
  #o-mnie .about__media { max-width: 420px; justify-self: end; width: 100%; }
  #o-mnie .section__title { font-size: clamp(34px, 3.4vw, 46px); margin-bottom: 10px; }
  #o-mnie .section__lead { font-size: 15px; line-height: 1.65; margin-bottom: 14px; }
  #o-mnie .about__quote { font-size: clamp(20px, 1.8vw, 23px); margin: 18px 0; padding-left: 20px; }
  #o-mnie .about__list { gap: 9px 24px; margin-bottom: 22px; font-size: 14px; }
}

/* Wybrane oferty: cała sekcja na jednym ekranie (komputer) — jeden rząd kart + strzałki */
.offers__nav { display: flex; gap: 8px; }
.offers__nav[hidden] { display: none; }
.offers__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink); display: grid; place-items: center; cursor: pointer; transition: all .3s var(--ease); }
.offers__arrow svg { width: 16px; height: 16px; }
.offers__arrow--prev svg { transform: scaleX(-1); }
.offers__arrow:hover:not([disabled]) { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.offers__arrow[disabled] { opacity: .35; cursor: default; }
@media (min-width: 1000px) {
  #oferty { padding-block: clamp(40px, 6vh, 60px); }
  #oferty .offers__top { margin-bottom: 22px; align-items: center; }
  #oferty .section__head { max-width: none; }
  #oferty .section__title { font-size: clamp(34px, 3.4vw, 46px); margin-bottom: 6px; }
  #oferty .filters { margin-left: auto; }
  #offersGrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 14px; margin: -8px -2px 0; }
  #offersGrid::-webkit-scrollbar { display: none; }
  #offersGrid .card { scroll-snap-align: start; }
  #offersGrid .card__media { aspect-ratio: 16 / 10; }
  #offersGrid .card__body { padding: 18px 22px 20px; }
  #offersGrid .card__title { font-size: 22px; margin-bottom: 12px; }
  #offersGrid .card__meta { padding: 10px 0; margin-bottom: 14px; }
  #offersGrid .card__price { font-size: 24px; }
  #oferty .offers__cta { margin-top: 22px; }
}
@media (max-width: 999px) { .offers__nav { display: none; } }
@media (min-width: 1000px) {
  #oferty .offers__top { flex-wrap: nowrap; }
  #oferty .section__head { flex: 0 1 auto; }
  #oferty .section__title { font-size: clamp(32px, 2.9vw, 42px); white-space: nowrap; }
  #oferty .filters { flex: none; }
  #oferty .offers__cta { display: flex; align-items: center; justify-content: center; gap: 28px; }
  #oferty .offers__done-link { margin: 0; }
}
@media (min-width: 1000px) {
  #oferty .section__title { font-size: clamp(30px, 2.6vw, 38px); }
  #oferty .offers__top { gap: 18px; }
  #oferty .filters { gap: 6px; }
  #oferty .filter { padding: 8px 14px; font-size: 13px; }
}

/* ==== Złoty środek (po porównaniu): oferty w 2 rzędach, większe drobne napisy, więcej oddechu ==== */
@media (min-width: 1000px) {
  /* oferty: z powrotem siatka 3 × 2 (kompaktowe karty, bez strzałek) */
  #offersGrid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding: 0; margin: 0; }
  #oferty .offers__nav { display: none; }
  /* więcej powietrza między sekcjami */
  #oferty, #o-mnie, #uslugi, #opinie, #kontakt { padding-block: clamp(56px, 8vh, 80px); }
  #oferty .offers__top { margin-bottom: 28px; }
  /* czytelniejsze drobne teksty */
  #uslugi .service p { font-size: 15px; }
  #o-mnie .about__list { font-size: 15px; }
  #kontakt .contact__note { font-size: 14px; }
  #kontakt .form__check { font-size: 13px; }
  #kontakt .contact__item a, #kontakt .contact__item p { font-size: 16px; }
}

/* Góra strony: telefon obok „Zobacz oferty” */
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__call svg { width: 16px; height: 16px; margin-right: 2px; }
@media (max-width: 640px) {
  .hero__actions .btn { width: 100%; }
}

/* ==========================================================================
   Galeria zdjęć oferty (strona pojedynczej oferty) + powiększenie na pełny ekran
   ========================================================================== */
.offer-gallery { display: flex; flex-direction: column; gap: 10px; }
.offer-gallery__main { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-mist); box-shadow: var(--shadow-md); }
.offer-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.offer-gallery__main:hover img { transform: scale(1.02); }
.offer-gallery__count, .offer-gallery__zoom { position: absolute; bottom: 14px; background: rgba(23, 24, 26, .7); color: #fff; font: 600 12px var(--f-body); letter-spacing: .06em; padding: 7px 12px; border-radius: 99px; pointer-events: none; }
.offer-gallery__count { left: 14px; }
.offer-gallery__zoom { right: 14px; display: flex; align-items: center; gap: 6px; }
.offer-gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 8px) / 6); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 4px; }
.offer-gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--c-mist); opacity: .7; transition: opacity .25s, border-color .25s; scroll-snap-align: start; }
.offer-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-gallery__thumb:hover { opacity: 1; }
.offer-gallery__thumb.is-active { opacity: 1; border-color: var(--c-gold); }
@media (max-width: 640px) { .offer-gallery__thumbs { grid-auto-columns: calc((100% - 3 * 8px) / 4.3); } }

.zn-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 12, 13, .94); display: none; align-items: center; justify-content: center; }
.zn-lightbox.is-open { display: flex; animation: znFade .25s ease; }
@keyframes znFade { from { opacity: 0; } to { opacity: 1; } }
.zn-lightbox-open, .zn-lightbox-open body { overflow: hidden; }
.zn-lightbox__fig { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.zn-lightbox__fig img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.zn-lightbox__count { color: rgba(255, 255, 255, .75); font: 500 13px var(--f-body); letter-spacing: .1em; }
.zn-lightbox__close, .zn-lightbox__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 50%; transition: background .25s; font: 300 34px/1 var(--f-body); }
.zn-lightbox__close:hover, .zn-lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.zn-lightbox__close { top: 18px; right: 18px; width: 48px; height: 48px; font-size: 30px; }
.zn-lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; }
.zn-lightbox__nav--prev { left: 18px; }
.zn-lightbox__nav--next { right: 18px; }
.zn-lightbox.is-single .zn-lightbox__nav { display: none; }
@media (max-width: 640px) {
  .zn-lightbox__nav { top: auto; bottom: 18px; transform: none; width: 50px; height: 50px; }
  .zn-lightbox__nav--prev { left: calc(50% - 64px); }
  .zn-lightbox__nav--next { right: calc(50% - 64px); }
  .zn-lightbox__fig img { max-height: 72vh; }
}

/* Stopka: logo wyśrodkowane nad opisem biura (pierwsza kolumna) */
.footer__grid > :first-child { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__grid > :first-child .footer__about { margin-inline: auto; }
.footer__grid > :first-child .social { justify-content: center; }

/* Napis pod logo na górze („Biuro nieruchomości · Gorzów Wielkopolski”) — dużo mniejszy */
.hero .eyebrow { font-size: 9px; letter-spacing: .14em; font-weight: 500; gap: 10px; }
.hero .eyebrow::before { width: 22px; }

/* Telefon i tablet: duże logo na górze wyśrodkowane */
@media (max-width: 999px) {
  .hero__logo-video, .hero__logo { margin-left: auto !important; margin-right: auto !important; }
}

/* Telefon: mniejsze hasło i tekst pod nim */
@media (max-width: 640px) {
  .hero__title { font-size: 22px !important; line-height: 1.15 !important; margin-bottom: 12px !important; }
  .hero__lead { font-size: 12.5px !important; line-height: 1.6 !important; margin-bottom: 20px !important; }
}

/* Telefon: mniejszy przycisk „Zobacz oferty” */
@media (max-width: 640px) {
  .hero__actions .btn { width: auto !important; min-height: 42px; padding: 0 20px; font-size: 11px; }
}

/* Telefon: plakietka „Klucze w dobrych rękach” — dużo mniejsza, w lewym dolnym rogu zdjęcia z kluczem */
@media (max-width: 640px) {
  .hero__badge { top: auto !important; bottom: 10px !important; left: 10px !important; right: auto !important; padding: 6px 10px 6px 6px !important; gap: 7px !important; max-width: none !important; box-shadow: 0 4px 14px rgba(23, 24, 26, .12) !important; }
  .hero__badge strong { font-size: 12.5px !important; }
  .hero__badge span { font-size: 9px !important; }
  .hero__badge-icon { width: 24px !important; height: 24px !important; }
  .hero__badge-icon svg { width: 12px !important; height: 12px !important; }
}

/* Telefon: szkic panoramy większy i w całości widoczny (wyszukiwarka niżej, nie zachodzi na szkic) */
@media (max-width: 640px) {
  /* rysunek (pas 1920×560 w obrazie 1920×1080) w szerokości 540 px, kadr od kościoła do mostu; animacje w tym samym kadrze */
  .skyline--video .skyline__video { aspect-ratio: auto !important; height: 158px !important; position: relative; overflow: hidden; min-width: 0 !important; }
  .skyline--video .skyline__video img { position: absolute !important; inset: auto !important; left: -65px !important; bottom: 0 !important; width: 540px !important; height: 304px !important; max-width: none !important; object-fit: fill !important; transform: none !important; }
  .skyline--video .skyline__video svg.alive { position: absolute !important; inset: auto !important; left: -65px !important; bottom: 0 !important; width: 540px !important; height: 158px !important; min-width: 0 !important; max-width: none !important; transform: none !important; }
  .search { margin-top: 18px !important; }
}

/* Telefon: mniejsze przyciski Wszystkie / Kupno / Wynajem */
@media (max-width: 640px) {
  .search__tab { padding: 8px 14px !important; font-size: 10.5px !important; letter-spacing: .1em !important; }
  .search__tabs { gap: 2px !important; padding-bottom: 10px !important; }
}

/* Telefon: mniejszy portret w „O mnie” (wyśrodkowany) i mniejsza plakietka 1:1 */
@media (max-width: 640px) {
  .about__media { width: 100% !important; max-width: 240px !important; margin-inline: auto !important; justify-self: center !important; }
  .about__media::before { inset: -10px 10px 10px -10px !important; }
  .about__sign { padding: 10px 12px !important; max-width: 150px !important; right: -18px !important; bottom: -14px !important; }
  .about__sign strong { font-size: 22px !important; }
  .about__sign span, .about__sign small { font-size: 9px !important; }
}

/* ==== Telefon: wszystko od „Wybrane oferty” w dół mniejsze i zwarte ==== */
@media (max-width: 640px) {
  #oferty, #o-mnie, #uslugi, #opinie, #kontakt, .process, .section--paper { padding-block: 44px !important; }
  .section__head { margin-bottom: 22px !important; }
  #oferty .eyebrow, #o-mnie .eyebrow, #uslugi .eyebrow, #opinie .eyebrow, #kontakt .eyebrow, .process .eyebrow { font-size: 9.5px !important; letter-spacing: .16em !important; margin-bottom: 10px !important; }
  .section__title { font-size: 25px !important; line-height: 1.18 !important; margin-bottom: 10px !important; }
  .section__lead { font-size: 13.5px !important; line-height: 1.6 !important; }
  /* oferty */
  #oferty .offers__top { margin-bottom: 18px !important; gap: 12px !important; }
  .filter { padding: 6px 12px !important; font-size: 12px !important; }
  .offers__grid { gap: 18px !important; }
  .card__media { aspect-ratio: 16 / 10 !important; }
  .card__body { padding: 14px 16px 16px !important; }
  .card__loc { font-size: 10px !important; margin-bottom: 4px !important; }
  .card__title { font-size: 18px !important; margin-bottom: 10px !important; }
  .card__meta { gap: 14px !important; padding: 8px 0 !important; margin-bottom: 12px !important; font-size: 11.5px !important; }
  .card__price { font-size: 20px !important; }
  .card__price small { font-size: 10.5px !important; margin-top: 3px !important; }
  .card__more { width: 36px !important; height: 36px !important; }
  .tag { font-size: 9.5px !important; padding: 4px 9px !important; }
  .offers__cta { margin-top: 24px !important; }
  .offers__cta .btn { min-height: 42px !important; font-size: 11px !important; }
  .offers__done-link { font-size: 12px !important; }
  /* O mnie */
  #o-mnie .section__lead { font-size: 13.5px !important; }
  .about__license { font-size: 12px !important; padding: 7px 12px !important; }
  .about__quote { font-size: 17px !important; margin: 16px 0 !important; padding-left: 14px !important; }
  .about__list { font-size: 13px !important; gap: 8px !important; margin-bottom: 18px !important; }
  .about__signature { font-size: 22px !important; }
  .about__actions .btn { min-height: 42px !important; font-size: 11px !important; }
  .about__sign span { font-size: 8.5px !important; letter-spacing: .08em !important; line-height: 1.4 !important; display: block; }
  /* usługi */
  .service { padding: 20px 18px !important; }
  .service__icon { width: 38px !important; height: 38px !important; margin-bottom: 12px !important; }
  .service__icon svg { width: 16px !important; height: 16px !important; }
  .service__num { top: 18px !important; right: 18px !important; font-size: 14px !important; }
  .service__title { font-size: 19px !important; margin-bottom: 6px !important; }
  .service p { font-size: 13px !important; line-height: 1.55 !important; margin: 0 !important; }
  /* jak pracuję */
  .process__grid { gap: 18px !important; }
  .step { padding-top: 16px !important; }
  .step h3, .step__title { font-size: 19px !important; }
  .step p { font-size: 13px !important; }
  /* opinie */
  .rating { transform: scale(.9); }
  .review { padding: 20px 18px !important; }
  .review--real .review__text { font-size: 16.5px !important; margin-bottom: 16px !important; }
  .review__ctx { font-size: 9.5px !important; }
  .review__avatar { width: 36px !important; height: 36px !important; font-size: 15px !important; }
  .review__author { padding-top: 12px !important; }
  .reviews__grid { gap: 16px !important; }
  /* kontakt */
  #kontakt .contact__item a, #kontakt .contact__item p { font-size: 14.5px !important; }
  #kontakt .contact__icon { width: 36px !important; height: 36px !important; }
  #kontakt .contact__note { font-size: 13px !important; padding: 12px 14px !important; }
  .form { padding: 22px 18px !important; }
  .form__title { font-size: 22px !important; }
  .form__check { font-size: 11.5px !important; }
  .form__foot .btn { min-height: 44px !important; font-size: 11px !important; }
}
@media (max-width: 640px) { .reviews__cta a, .reviews__cta .link-arrow { font-size: 10.5px !important; letter-spacing: .1em !important; } .reviews__cta { margin-top: 20px !important; } }

/* ==== Telefon: jeszcze mniejsze (krok 2) ==== */
@media (max-width: 640px) {
  #oferty, #o-mnie, #uslugi, #opinie, #kontakt, .process, .section--paper { padding-block: 34px !important; }
  .section__head { margin-bottom: 16px !important; }
  .section__title { font-size: 22px !important; }
  .section__lead, #o-mnie .section__lead { font-size: 12.5px !important; }
  .filter { padding: 5px 10px !important; font-size: 11px !important; }
  .offers__grid { gap: 14px !important; }
  .card__media { aspect-ratio: 16 / 9 !important; }
  .card__body { padding: 12px 14px 14px !important; }
  .card__title { font-size: 16px !important; margin-bottom: 8px !important; }
  .card__meta { font-size: 11px !important; padding: 6px 0 !important; margin-bottom: 10px !important; }
  .card__price { font-size: 18px !important; }
  .card__more { width: 32px !important; height: 32px !important; }
  .about__media { max-width: 200px !important; }
  .about__quote { font-size: 15.5px !important; }
  .about__list { font-size: 12.5px !important; }
  .service { padding: 16px 16px !important; }
  .service__title { font-size: 17px !important; }
  .service p { font-size: 12.5px !important; }
  .step h3, .step__title { font-size: 17px !important; }
  .step p { font-size: 12.5px !important; }
  .review { padding: 16px !important; }
  .review--real .review__text { font-size: 15px !important; }
  #kontakt .contact__item a, #kontakt .contact__item p { font-size: 13.5px !important; }
  #kontakt .contact__note { font-size: 12.5px !important; }
  .form { padding: 18px 16px !important; }
  .form__title { font-size: 20px !important; }
}
/* Telefon: bez podpisu „Hubert Zalewski” obok „Umów spotkanie” (powtarza nagłówek sekcji) */
@media (max-width: 640px) { .about__signature { display: none !important; } }
@media (max-width: 640px) { .about__list li { font-size: 12.5px !important; } .about__list li svg { width: 15px !important; height: 15px !important; } }

/* Telefon: formularz „Napisz wiadomość” dużo mniejszy */
@media (max-width: 640px) {
  .form { padding: 14px 14px 16px !important; }
  .form__title { font-size: 17px !important; margin-bottom: 2px !important; }
  .form__sub { font-size: 11px !important; margin-bottom: 6px !important; }
  .form__row { gap: 0 12px !important; grid-template-columns: 1fr 1fr !important; }
  .form__group { margin-bottom: 8px !important; }
  .form__input { padding: 18px 0 5px !important; font-size: 13px !important; }
  .form__label { top: 18px !important; font-size: 12px !important; }
  .form__input:focus + .form__label, .form__input:not(:placeholder-shown) + .form__label, .form__label--fixed { top: 0 !important; font-size: 9px !important; }
  textarea.form__input { min-height: 56px !important; }
  .form__check { font-size: 10px !important; line-height: 1.45 !important; margin: 4px 0 12px !important; gap: 8px !important; }
  .form__foot { gap: 10px !important; }
  .form__foot .btn { width: auto !important; min-height: 38px !important; padding: 0 16px !important; font-size: 10.5px !important; }
  .form__foot .demo-note { font-size: 9px !important; }
}
/* Komputer: wyszukiwarka delikatnie niżej — szkic panoramy w całości widoczny */
@media (min-width: 641px) { .search { margin-top: 8px !important; } }
/* Komputer: plakietka „Klucze w dobrych rękach” trochę wyżej */
@media (min-width: 961px) { .hero__badge { bottom: -14px !important; } }


/* ==== Podstrony WordPress: polityka, strony, pojedyncza oferta (dodane przez zbuduj-motyw.rb) ==== */
.policy { max-width: 820px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.policy__back { display: flex; width: fit-content; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink); border-bottom: 1px solid var(--c-gold); padding-bottom: 4px; margin-bottom: 40px; }
.policy__back:hover { color: var(--c-gold-dark); }
.policy h1 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 10px; }
.policy h1 em { font-style: italic; color: var(--c-gold-dark); }
.policy h2 { font-size: 26px; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--c-mist); }
.policy p, .policy li { font-size: 16px; color: var(--c-graphite); }
.policy ul { padding-left: 20px; margin: 0 0 1em; }
.policy li { margin-bottom: 6px; }
.policy .lead { color: var(--c-stone); font-size: 17px; }
.policy .todo { background: #fbf3df; color: #7a5a1c; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.policy .box { background: var(--c-paper); border-left: 2px solid var(--c-gold); padding: 18px 22px; margin: 18px 0; }
.policy .note { font-size: 13px; color: var(--c-stone); margin-top: 48px; }
/* Podstrony w WordPressie */
.page-inner { padding-top: calc(88px + 40px) !important; }
.policy .entry > *:first-child { margin-top: 0; }
.policy .entry img { border-radius: var(--radius-lg); height: auto; }
.policy .entry a { color: var(--c-gold-dark); text-decoration: underline; text-underline-offset: 2px; }

/* Pojedyncza oferta */
.offer-single { padding-bottom: clamp(64px, 8vw, 110px); background: linear-gradient(180deg, var(--c-white), var(--c-paper) 420px, var(--c-white) 900px); }
.offer-single__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 8px; }
.offer-single__media { min-height: 200px; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-mist); aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.offer-single__media img { width: 100%; height: 100%; object-fit: cover; }
.offer-single__info { position: sticky; top: 110px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.offer-single__title { font-size: clamp(30px, 3.6vw, 44px); margin: 6px 0 10px; }
.offer-single__price { font-family: var(--f-display); font-size: 36px; font-weight: 600; color: var(--c-ink); margin: 18px 0 6px; font-variant-numeric: lining-nums; }
.offer-single__price small { display: block; font-family: var(--f-body); font-size: 13px; font-weight: 400; color: var(--c-stone); }
.offer-single__facts { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--c-mist); }
.offer-single__facts li { padding: 14px 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-stone); text-align: center; }
.offer-single__facts li + li { border-left: 1px solid var(--c-mist); }
.offer-single__facts strong { display: block; margin-top: 4px; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--c-ink); font-weight: 600; }
.offer-single__actions { display: grid; gap: 10px; }
.offer-single__content { max-width: 760px; margin-top: clamp(36px, 5vw, 56px); font-size: 16px; }
.offer-single__content h2 { font-size: 28px; margin: 28px 0 12px; }
.offer-single__back { margin-top: 36px; }
@media (max-width: 960px) {
  .offer-single__grid { grid-template-columns: 1fr; }
  .offer-single__info { position: static; }
}

/* 404 */
.not-found { text-align: center; min-height: 70vh; display: grid; place-items: center; }
.not-found__code { font-family: var(--f-display); font-size: clamp(80px, 14vw, 160px); color: var(--c-gold-light); line-height: 1; }
.not-found .btn { margin: 6px; }

/* Oferta zakończona (sprzedana / wynajęta) — pojedyncza strona */
.offer-single__gallery { display: flex; flex-direction: column; gap: 12px; }
.offer-single--done .offer-single__media { position: relative; }
.offer-single--done .offer-single__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-single--done .done-modal__cta { margin-bottom: 0; }
.offer-single--done .done-thumb img { width: 100%; height: 100%; object-fit: cover; }
