*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f7f4ee;
  --white: #ffffff;
  --charcoal: #2c2c2c;
  --mid: #6b6b6b;
  --gold: #b89a5a;
  --gold-lt: #d4b97a;
  --green: #3e5c42;
  --green-lt: #f0f4ee;
  --border: #ddd8ce;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.3;
}

.nav-logo span {
  display: block;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
  background: var(--gold);
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: var(--gold-lt);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 90%;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-lt);
  margin-bottom: 18px;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 36px;
  text-decoration: none;
  transition: all 0.25s;
  font-family: "Raleway", sans-serif;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  margin-left: 12px;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}
.hero-dot.active {
  background: var(--gold-lt);
}

/* ── SECTIONS ── */
section {
  padding: 96px 0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.section-title em {
  font-style: italic;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
}

/* ── INTRO ── */
.intro {
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text p {
  font-size: 1rem;
  color: var(--mid);
  margin-bottom: 18px;
  font-weight: 300;
}

.intro-text p:first-of-type {
  font-size: 1.1rem;
  color: var(--charcoal);
  font-weight: 400;
}

.intro-image {
  position: relative;
  min-height: 540px;
}

.intro-image .img-main {
  position: relative;
  width: 88%;
  aspect-ratio: 3/4;
  overflow: hidden;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.18);
}
.intro-image .img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.intro-image:hover .img-main img {
  transform: scale(1.03);
}

.intro-image .img-second {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: 62%;
  aspect-ratio: 4/3;
  overflow: hidden;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.22);
  border: 6px solid var(--cream);
  z-index: 2;
}
.intro-image .img-second img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.intro-image:hover .img-second img {
  transform: scale(1.04);
}

.intro-image-badge {
  position: absolute;
  top: 24px;
  right: 0;
  background: var(--green);
  color: var(--white);
  padding: 18px 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.intro-image-badge span {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .intro-image {
    min-height: auto;
  }
  .intro-image .img-main {
    width: 100%;
    aspect-ratio: 4/3;
  }
  .intro-image .img-second {
    position: relative;
    width: 75%;
    margin: -50px 0 0 auto;
    right: auto;
    bottom: auto;
  }
  .intro-image-badge {
    top: auto;
    bottom: 12px;
    right: 12px;
  }
}

/* ── FEATURES ── */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--border);
}

.feature-card {
  background: var(--white);
  padding: 44px 36px;
  transition: background 0.2s;
}
.feature-card:hover {
  background: var(--cream);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--gold);
}

.feature-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.feature-text {
  font-size: 0.88rem;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.7;
}

/* ── INTERACTIVE PLOTS MAP ── */
.plots-section {
  background: var(--cream);
  padding: 96px 0;
}

.plots-intro {
  max-width: 720px;
  margin-bottom: 56px;
}
.plots-intro p {
  font-size: 1rem;
  color: var(--mid);
  font-weight: 300;
}

.plots-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.plots-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.plot-map-wrapper {
  position: relative;
  width: 100%;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  background: var(--charcoal);
}

.plot-map-wrapper img {
  width: 100%;
  display: block;
}

.plot-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.plot-poly {
  fill: rgba(184, 154, 90, 0);
  stroke: rgba(255, 255, 255, 0);
  stroke-width: 5;
  cursor: pointer;
  transition:
    fill 0.25s,
    stroke 0.25s,
    filter 0.25s;
}
.plot-poly:hover,
.plot-poly.active {
  fill: rgba(184, 154, 90, 0.45);
  stroke: rgba(255, 235, 180, 1);
  filter: drop-shadow(0 0 10px rgba(184, 154, 90, 0.7));
}
.plot-poly.sold {
  cursor: not-allowed;
}
.plot-poly.sold:hover {
  fill: rgba(120, 30, 30, 0.4);
  stroke: rgba(220, 90, 90, 0.85);
}

/* Tooltip on hover */
.plot-tooltip {
  position: absolute;
  z-index: 20;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 16px 18px;
  min-width: 200px;
  transform: translate(-50%, calc(-100% - 14px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  border-top: 3px solid var(--gold);
}
.plot-tooltip.show {
  opacity: 1;
  pointer-events: auto;
}

.plot-tooltip::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--white);
}

.pt-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.pt-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
  margin: 2px 0 8px;
}
.pt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.pt-row:last-of-type {
  border-bottom: none;
  margin-bottom: 10px;
}
.pt-row .l {
  color: var(--mid);
  font-weight: 300;
}
.pt-row .v {
  font-weight: 500;
}

.pt-status {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 9px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pt-cta {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s;
}
.pt-cta:hover {
  background: var(--charcoal);
}

/* Numery są nadrukowane bezpośrednio na zdjęciu — ukrywamy własne etykiety SVG */
.plot-label {
  display: none;
}

/* Info panel beside map */
.plot-info {
  background: var(--white);
  padding: 36px 32px;
  border: 1px solid var(--border);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 96px;
}

.plot-legend-wrap {
  background: var(--white);
  padding: 28px 32px;
  border: 1px solid var(--border);
}

.plot-legend-wrap h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.plot-legend-wrap p {
  font-size: 0.82rem;
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 14px;
}

/* Techniczna mapa PZT pod sekcją działek */
.pzt-map {
  margin-top: 40px;
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  background: var(--white);
}
.pzt-map img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}
.pzt-map:hover img {
  transform: scale(1.02);
}
.pzt-map .zoom-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(44, 44, 44, 0.88);
  color: var(--white);
  padding: 8px 14px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.pzt-map .zoom-badge svg {
  width: 14px;
  height: 14px;
}
.pzt-map-header {
  margin-top: 56px;
  margin-bottom: 14px;
}
.pzt-map-header h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.pzt-map-header p {
  font-size: 0.85rem;
  color: var(--mid);
  font-weight: 300;
}

.plot-info-empty {
  color: var(--mid);
  font-style: italic;
  font-weight: 300;
  text-align: center;
  margin: auto;
  max-width: 240px;
  line-height: 1.7;
  font-size: 0.92rem;
}

.plot-info-empty svg {
  display: block;
  margin: 0 auto 16px;
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.plot-info.is-active .plot-info-empty {
  display: none;
}
.plot-info-detail {
  display: none;
}
.plot-info.is-active .plot-info-detail {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plot-detail-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.plot-detail-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.2;
}
.plot-detail-list {
  list-style: none;
  margin-bottom: 24px;
}
.plot-detail-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.plot-detail-list li:last-child {
  border-bottom: none;
}
.plot-detail-list .label {
  color: var(--mid);
  font-weight: 300;
}
.plot-detail-list .value {
  font-weight: 500;
  color: var(--charcoal);
}

.plot-detail-status {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 16px;
  font-weight: 600;
}
.status-dostepna {
  background: #e5f0e5;
  color: #2e6b33;
}
.status-rezerwacja {
  background: #fcefd9;
  color: #8a6515;
}
.status-sprzedana {
  background: #f3dede;
  color: #872929;
}

.plot-detail-cta {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

/* Plot legend chips */
.plot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.plot-chip {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 600;
  color: var(--charcoal);
  transition: all 0.2s;
}
.plot-chip:hover,
.plot-chip.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.plot-chip .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .plots-bottom {
    grid-template-columns: 1fr;
  }
  .plot-info {
    min-height: auto;
    position: static;
  }
}

/* ── CENNIK ── */
.cennik-section {
  background: var(--white);
  padding: 96px 0;
}

.cennik-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  margin: 40px 0 48px;
}
.cs-cell {
  background: var(--cream);
  padding: 28px 22px;
  text-align: center;
}
.cs-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.cs-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
}

.cennik-table-wrap {
  overflow-x: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.cennik-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
}
.cennik-table thead th {
  background: var(--charcoal);
  color: var(--white);
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 14px;
  text-align: left;
  white-space: nowrap;
}
.cennik-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.cennik-table tbody tr:hover {
  background: var(--cream);
}
.cennik-table td {
  padding: 14px 14px;
  vertical-align: middle;
}
.cennik-table td.num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  width: 70px;
}
.cennik-table td.cadastral {
  color: var(--mid);
  font-size: 0.85rem;
}
.cennik-table td.area {
  font-weight: 500;
}
.cennik-table td.price {
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}
.cennik-table td.status {
  width: 110px;
}
.cennik-table .badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 600;
}
.cennik-table .badge.dostepna {
  background: #e5f0e5;
  color: #2e6b33;
}
.cennik-table .badge.rezerwacja {
  background: #fcefd9;
  color: #8a6515;
}
.cennik-table .badge.sprzedana {
  background: #f3dede;
  color: #872929;
}
.cennik-table td.action a {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}
.cennik-table td.action a:hover {
  text-decoration: underline;
}

.cennik-note {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--mid);
  font-weight: 300;
  font-style: italic;
}

@media (max-width: 700px) {
  .cennik-summary {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── AKTUALNOŚCI ── */
.news-section {
  background: var(--cream);
  padding: 96px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}

.news-image {
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}
.news-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.news-image:hover img {
  transform: scale(1.03);
}

.news-meta {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.news-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 22px;
}
.news-title em {
  font-style: italic;
}

.news-text p {
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.news-event-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 20px 22px;
  margin: 22px 0;
}
.news-event-card .nec-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}
.news-event-card .nec-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.news-event-card .nec-info {
  font-size: 0.85rem;
  color: var(--mid);
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── GALLERY ── */
.gallery {
  background: var(--charcoal);
  padding: 96px 0;
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  margin-bottom: 8px;
}
.gallery-tab {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 22px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}
.gallery-tab:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.gallery-tab.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.gallery-tab .count {
  opacity: 0.6;
  margin-left: 6px;
  font-weight: 400;
}
.gallery-tab.active .count {
  opacity: 0.85;
}

.gallery .section-label {
  color: var(--gold-lt);
}
.gallery .section-title {
  color: var(--white);
}
.gallery .divider {
  background: var(--gold-lt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
  margin-top: 48px;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
}
.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.92);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* ── MAP ── */
.map-section {
  background: var(--green-lt);
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.map-image img {
  width: 100%;
  display: block;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* ── LOCATION ── */
.location {
  background: var(--white);
}

.location-intro {
  max-width: 700px;
  margin-bottom: 56px;
}

.location-intro p {
  font-size: 1rem;
  color: var(--mid);
  font-weight: 300;
}

.distances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-bottom: 56px;
}

.distance-item {
  background: var(--cream);
  padding: 36px 28px;
  text-align: center;
}

.distance-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.distance-unit {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
}

.distance-label {
  font-size: 0.82rem;
  color: var(--mid);
  margin-top: 10px;
  font-weight: 400;
}

.location-photo {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* ── MAP & POIs ── */
.map-embed-wrapper {
  position: relative;
  margin-top: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  background: var(--charcoal);
}

.map-embed-wrapper iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

.map-pluski-pin {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  padding: 10px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
.map-pluski-pin .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: middle;
}

.pois {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}

.poi-group h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.poi-group h4 svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.poi-list {
  list-style: none;
}

.poi-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  font-size: 0.9rem;
  gap: 10px;
}
.poi-list li:not(:last-child) {
  border-bottom: 1px dashed var(--border);
}

.poi-name {
  color: var(--charcoal);
  font-weight: 400;
}
.poi-dist {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .pois {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .map-embed-wrapper iframe {
    height: 360px;
  }
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--green);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-band .section-label {
  color: rgba(255, 255, 255, 0.6);
}
.cta-band .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 0.95rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
}

/* ── CONTACT FORM ── */
.contact-section {
  background: var(--cream);
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-info p {
  font-size: 1rem;
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 28px;
}

.contact-list {
  list-style: none;
  margin-top: 32px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child {
  border-bottom: none;
}

.contact-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold);
  margin-top: 4px;
}

.contact-list .ci-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-list .ci-value {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 400;
}

.contact-list a {
  color: var(--charcoal);
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--gold);
}

/* Form */
.contact-form {
  background: var(--white);
  padding: 44px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
  margin-bottom: 8px;
}

.form-field label .req {
  color: var(--gold);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 14px 16px;
  transition:
    border-color 0.2s,
    background 0.2s;
  font-weight: 400;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
  font-family: "Raleway", sans-serif;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.78rem;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.55;
}

.form-consent input {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.form-consents {
  margin-bottom: 18px;
}
.form-consents .form-consent {
  margin-bottom: 10px;
}

.marketing-toggle {
  background: none;
  border: none;
  color: var(--gold);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}
.marketing-toggle:hover {
  color: var(--charcoal);
}

.marketing-full {
  display: none;
  margin: 10px 0 0 26px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--mid);
  font-weight: 300;
  max-height: 280px;
  overflow-y: auto;
}
.marketing-full.open {
  display: block;
}
.marketing-full p {
  margin-bottom: 10px;
}
.marketing-full p:last-child {
  margin-bottom: 0;
}
.marketing-full strong {
  color: var(--charcoal);
  font-weight: 500;
}
.marketing-full a {
  color: var(--gold);
}

.form-submit {
  width: 100%;
  cursor: pointer;
  font-family: "Raleway", sans-serif;
}

.form-success {
  display: none;
  padding: 18px;
  background: #e5f0e5;
  color: #2e6b33;
  font-size: 0.9rem;
  margin-bottom: 18px;
  border-left: 3px solid #2e6b33;
}
.form-success.show {
  display: block;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form {
    padding: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 0;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-logo span {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 400;
}

.footer-copy {
  text-align: right;
  line-height: 1.8;
}

.footer-bottom {
  max-width: 1140px;
  margin: 32px auto 0;
  padding: 18px 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-disclaimer {
  max-width: 1140px;
  margin: 18px auto 0;
  padding: 0 48px;
  font-size: 0.65rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  font-weight: 300;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--gold);
}

@media (max-width: 700px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 18px 24px 0;
    text-align: center;
  }
}

.footer-rw {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.footer-rw a {
  color: var(--gold);
  text-decoration: none;
}

/* ── RWP BANNER ── */
.rwp-banner {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: var(--charcoal);
}
.rwp-banner .rb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 8s ease;
}
.rwp-banner:hover .rb-bg {
  transform: scale(1.06);
}
.rwp-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(20, 30, 25, 0.85) 0%,
    rgba(20, 30, 25, 0.65) 50%,
    rgba(20, 30, 25, 0.35) 100%
  );
}
.rwp-banner .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}
.rwp-content {
  max-width: 620px;
  color: var(--white);
}
.rwp-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-weight: 600;
  margin-bottom: 18px;
}
.rwp-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 22px;
}
.rwp-title em {
  font-style: italic;
}
.rwp-text {
  font-size: 0.98rem;
  line-height: 1.75;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 28px;
}
.rwp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold-lt);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.rwp-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.rwp-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
}
.rwp-cta:hover svg {
  transform: translateX(4px);
}

/* ── BACK TO TOP ── */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--white);
  border: none;
  cursor: pointer;
  z-index: 80;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s;
}
.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover {
  background: var(--charcoal);
}
.back-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 600px) {
  .back-top {
    width: 42px;
    height: 42px;
    bottom: 16px;
    right: 16px;
  }
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  transition:
    background 0.2s,
    opacity 0.2s,
    transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 300;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
}
.lightbox-arrow.left {
  left: 24px;
}
.lightbox-arrow.right {
  right: 24px;
}
.lightbox-arrow svg {
  width: 22px;
  height: 22px;
}
.lightbox-arrow[disabled] {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* Apply pointer cursor to any element that opens lightbox */
[data-lightbox] {
  cursor: zoom-in;
}

@media (max-width: 700px) {
  .lightbox-arrow {
    width: 44px;
    height: 44px;
  }
  .lightbox-arrow.left {
    left: 12px;
  }
  .lightbox-arrow.right {
    right: 12px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .container {
    padding: 0 24px;
  }
  section {
    padding: 64px 0;
  }
  .intro-grid,
  .map-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-image-badge {
    right: 0;
    bottom: 0;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item.wide {
    grid-column: span 1;
  }
  .distances {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    bottom: 20%;
  }
  .btn-outline-white {
    display: none;
  }
}

/* ============================================================
   PODSTRONA DZIAŁKI — klasy uzupełnione z extra.css
   ============================================================ */

/* HEADER BAND — pełnoekranowe zdjęcie */
.plot-header {
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}
.plot-header .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.plot-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}
.plot-header .container {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  padding-top: 120px;
  width: 100%;
}

.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 14px;
}
.breadcrumb a {
  color: var(--gold-lt);
  text-decoration: none;
  opacity: 0.8;
}
.breadcrumb a:hover {
  opacity: 1;
}

.plot-h-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
}
.plot-h-title em {
  font-style: italic;
  font-weight: 400;
}

.plot-h-status {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* CONTENT */
section.main {
  padding: 80px 0;
}

.main-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
}

.map-mini {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
}
.map-mini img {
  width: 100%;
  display: block;
}
.map-mini-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Inactive plots — subtle outline only */
.map-mini-svg .other {
  fill: rgba(0, 0, 0, 0);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 4;
  stroke-dasharray: 12 10;
  cursor: pointer;
  transition:
    stroke 0.25s,
    fill 0.25s;
}
.map-mini-svg .other:hover {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.7);
}
/* Selected plot — highlighted */
.map-mini-svg .selected {
  fill: rgba(184, 154, 90, 0.55);
  stroke: rgba(255, 235, 180, 1);
  stroke-width: 7;
  filter: drop-shadow(0 0 14px rgba(184, 154, 90, 0.7));
}
/* Numery są nadrukowane na zdjęciu — ukrywamy własne etykiety SVG */
.map-mini-svg .label,
.map-mini-svg .label-other {
  display: none;
}
.map-mini-caption {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--mid);
  font-weight: 300;
  text-align: center;
}
.map-mini-caption a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}
.map-mini-caption a:hover {
  text-decoration: underline;
}

/* Rysunkowa mapa (akwarela) */
.map-sketch {
  margin-top: 28px;
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  background: var(--cream);
}
.map-sketch img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}
.map-sketch:hover img {
  transform: scale(1.02);
}
.map-sketch .zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(44, 44, 44, 0.85);
  color: var(--white);
  padding: 8px 14px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.map-sketch .zoom-badge svg {
  width: 14px;
  height: 14px;
}
.map-sketch-caption {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--mid);
  font-weight: 300;
  text-align: center;
  font-style: italic;
}

/* Lightbox popup (wariant "ls-" z podstrony działki) */
.ls-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 32px;
  flex-direction: column;
}
.ls-lightbox.open {
  display: flex;
}
.ls-lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
}
.ls-close,
.ls-arrow {
  position: absolute;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ls-close:hover,
.ls-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}
.ls-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 300;
}
.ls-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
}
.ls-arrow.left {
  left: 24px;
}
.ls-arrow.right {
  right: 24px;
}
.ls-arrow svg {
  width: 22px;
  height: 22px;
}
.ls-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}
@media (max-width: 700px) {
  .ls-arrow {
    width: 44px;
    height: 44px;
  }
  .ls-arrow.left {
    left: 12px;
  }
  .ls-arrow.right {
    right: 12px;
  }
  .ls-close {
    top: 12px;
    right: 12px;
  }
}

/* ── PHOTO GALLERY (podstrona działki) ── */
.plot-gallery-section {
  background: var(--cream);
  padding: 80px 0;
}
.plot-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 8px;
  margin-top: 40px;
}
.pg-item {
  overflow: hidden;
  background: var(--charcoal);
}
.pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.5s ease,
    filter 0.3s;
  filter: brightness(0.95);
}
.pg-item:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}
.pg-item.feature {
  grid-column: span 2;
  grid-row: span 2;
}
.pg-item.wide {
  grid-column: span 2;
}
@media (max-width: 700px) {
  .plot-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .pg-item.feature,
  .pg-item.wide {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ── CONTACT FORM SECTION (podstrona działki) ── */
.plot-contact-section {
  background: var(--white);
  padding: 96px 0;
}
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.pc-info p {
  font-size: 1rem;
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 28px;
}
.pc-list {
  list-style: none;
  margin-top: 24px;
}
.pc-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.pc-list li:last-child {
  border-bottom: none;
}
.pc-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold);
  margin-top: 4px;
}
.pc-list .l {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2px;
}
.pc-list .v {
  font-size: 0.95rem;
  color: var(--charcoal);
}
.pc-list a {
  color: var(--charcoal);
  text-decoration: none;
}
.pc-list a:hover {
  color: var(--gold);
}

.pc-form {
  background: var(--cream);
  padding: 44px;
  border: 1px solid var(--border);
}
.pc-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.pc-form .f {
  margin-bottom: 18px;
}
.pc-form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
  margin-bottom: 8px;
}
.pc-form label .req {
  color: var(--gold);
}
.pc-form input,
.pc-form select,
.pc-form textarea {
  width: 100%;
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px 16px;
  transition: border-color 0.2s;
  font-weight: 400;
}
.pc-form input:focus,
.pc-form select:focus,
.pc-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.pc-form textarea {
  resize: vertical;
  min-height: 130px;
  font-family: "Raleway", sans-serif;
}
.pc-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.55;
}
.pc-consent input {
  margin-top: 4px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.pc-consents {
  margin-bottom: 18px;
}
.pc-submit {
  width: 100%;
  cursor: pointer;
  font-family: "Raleway", sans-serif;
}
.pc-success {
  display: none;
  padding: 18px;
  background: #e5f0e5;
  color: #2e6b33;
  font-size: 0.9rem;
  margin-bottom: 18px;
  border-left: 3px solid #2e6b33;
}
.pc-success.show {
  display: block;
}

@media (max-width: 900px) {
  .pc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pc-form {
    padding: 28px;
  }
  .pc-form .row {
    grid-template-columns: 1fr;
  }
  .main-grid {
    grid-template-columns: 1fr;
  }
  .info-band-grid {
    grid-template-columns: 1fr;
  }
}

.specs h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.specs h3 + .divider {
  margin-bottom: 22px;
}

.spec-list {
  list-style: none;
  margin-bottom: 32px;
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.spec-list .label {
  color: var(--mid);
  font-weight: 300;
}
.spec-list .value {
  font-weight: 500;
}

.desc {
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 18px;
}
.desc strong {
  color: var(--charcoal);
  font-weight: 500;
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  margin-left: 8px;
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* Download card */
.download-card {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 18px;
}
.download-card .dc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.download-card .dc-icon svg {
  width: 22px;
  height: 22px;
}
.download-card .dc-text {
  flex: 1;
}
.download-card .dc-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.download-card .dc-sub {
  font-size: 0.78rem;
  color: var(--mid);
  font-weight: 300;
}
.download-card a.btn {
  margin: 0;
  padding: 10px 22px;
  font-size: 0.65rem;
}

@media (max-width: 600px) {
  .download-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* INFO BAND */
.info-band {
  background: var(--cream);
  padding: 64px 0;
}
.info-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.info-cell {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}
.info-cell svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 12px;
}
.info-cell h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.info-cell p {
  font-size: 0.85rem;
  color: var(--mid);
  font-weight: 300;
}

.cta-band h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  margin-bottom: 14px;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

/* ============================================================
   strona tekstowa
   ============================================================ */
.pp-header {
  background: var(--cream);
  padding: 140px 0 60px;
}
.pp-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
}
.pp-title em {
  font-style: italic;
}

.pp-meta {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--mid);
}

main {
  padding: 64px 0 96px;
}

main h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

main h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 10px;
}

main p,
main li {
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 14px;
}

main strong {
  color: var(--charcoal);
  font-weight: 500;
}

main ul,
main ol {
  padding-left: 24px;
  margin-bottom: 14px;
}
main li {
  margin-bottom: 6px;
}

.intro-text {
  font-size: 1.02rem;
  color: var(--charcoal);
  font-weight: 400;
  padding: 24px 28px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  margin-bottom: 24px;
}

a {
  color: var(--gold);
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0 28px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
table.purpose-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  background: var(--white);
}
table.purpose-table th {
  background: var(--charcoal);
  color: var(--white);
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}
table.purpose-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--mid);
  font-weight: 300;
}
table.purpose-table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   Selektory z extra.css, które JUŻ ISTNIAŁY w app.css,
   ale z INNYMI wartościami niż poniżej — nieaktywne,
   zostawione wyłącznie jako odniesienie.
   ============================================================

.nav-cta {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
  background: var(--gold);
  padding: 10px 22px;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
}

.status-dostepna {
  background: rgba(96, 180, 110, 0.25);
  color: #b6e1bc;
}
.status-rezerwacja {
  background: rgba(220, 170, 80, 0.25);
  color: #f0d49c;
}
.status-sprzedana {
  background: rgba(200, 80, 80, 0.25);
  color: #f2bfbf;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 36px;
  text-decoration: none;
  transition: all 0.25s;
  font-family: "Raleway", sans-serif;
  cursor: pointer;
  border: none;
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

.cta-band {
  background: var(--green);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-band p {
  opacity: 0.85;
  margin-bottom: 28px;
}

footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.5);
  padding: 36px 0;
  font-size: 0.8rem;
  text-align: center;
}

   ============================================================ */

/* ── POPUP PROMOCYJNY (wyskakujące okno po wejściu na stronę) ── */
.promo-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
}
.promo-popup.is-open {
  display: flex;
}
.promo-popup-inner {
  position: relative;
  max-width: 600px;
  width: 100%;
}
.promo-popup-inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.promo-popup-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
