:root {
  --forest: #193f2c;
  --leaf: #447a3f;
  --moss: #7f9d4e;
  --water: #257b8b;
  --sun: #f0b735;
  --clay: #bd6f3b;
  --vote-red: #d71920;
  --paper: #fbfaf4;
  --soft: #eef3e8;
  --ink: #17221b;
  --muted: #607064;
  --line: rgba(25, 63, 44, 0.18);
  --shadow: 0 18px 60px rgba(23, 34, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 16px rgba(25, 63, 44, 0.18);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vote-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.36);
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.06);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.facebook-link:hover {
  background: rgba(24, 119, 242, 0.12);
}

.vote-link,
.button.primary {
  color: #fff;
  background: var(--vote-red);
  box-shadow: 0 12px 30px rgba(215, 25, 32, 0.3);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.button.facebook {
  color: #fff;
  background: #1877f2;
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.24);
}

.button:hover,
.vote-link:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--forest);
}

.hero-image,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 31, 22, 0.86) 0%, rgba(13, 31, 22, 0.48) 48%, rgba(13, 31, 22, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 31, 22, 0.78) 0%, rgba(13, 31, 22, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(110px, 14vh, 170px) clamp(18px, 7vw, 92px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 11vw, 8.8rem);
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-facts {
  position: absolute;
  left: clamp(18px, 7vw, 92px);
  right: clamp(18px, 7vw, 92px);
  bottom: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(251, 250, 244, 0.92);
  box-shadow: var(--shadow);
}

.hero-facts div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts strong {
  display: block;
  color: var(--forest);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 6vw, 78px);
}

.section-copy,
.section-heading {
  max-width: 920px;
}

.section h2,
.final-cta h2 {
  color: var(--forest);
  font-size: clamp(2rem, 4.8vw, 4.4rem);
}

.section-copy p:not(.eyebrow),
.access-card p,
.final-cta p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.intro {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.promise-grid article,
.scope-list article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 34, 27, 0.06);
}

.promise-grid h3,
.scope-list h3 {
  margin: 16px 0 8px;
  color: var(--forest);
  font-size: 1.18rem;
}

.promise-grid p,
.scope-list p,
.cost-row span {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--leaf);
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.86rem;
}

.before-after {
  background: var(--soft);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 34px;
}

figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
}

figure img {
  width: 100%;
  height: clamp(290px, 39vw, 560px);
  object-fit: cover;
}

figcaption {
  padding: 15px 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.location {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.map-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.image-button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-button:hover img {
  transform: scale(1.025);
}

.scope {
  background: #fff;
}

.scope-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 64px);
  margin-top: 34px;
  align-items: stretch;
}

.plan img {
  object-fit: contain;
  background: #f8f8f1;
}

.scope-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.scope-list article {
  min-height: 0;
}

.accessibility {
  background:
    linear-gradient(90deg, rgba(25, 63, 44, 0.92), rgba(25, 63, 44, 0.72)),
    url("assets/nowe11.jpg") center / cover;
}

.access-card {
  width: min(880px, 100%);
  padding: clamp(28px, 5vw, 58px);
  color: #fff;
  background: rgba(20, 54, 37, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.access-card h2 {
  color: #fff;
}

.access-card p {
  color: rgba(255, 255, 255, 0.84);
}

.costs {
  background: var(--paper);
}

.cost-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.cost-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.cost-row strong {
  color: var(--forest);
  font-size: 1.18rem;
  white-space: nowrap;
}

.gallery {
  background: #fff;
}

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

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

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

.final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 6vw, 78px);
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.final-cta img {
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 6vw, 78px);
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(10, 18, 14, 0.86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 96vw;
  max-height: 88vh;
  object-fit: contain;
  background: #fff;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .intro,
  .location,
  .scope-layout {
    grid-template-columns: 1fr;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 14px;
  }

  .main-nav {
    min-width: 0;
    max-width: 100%;
  }

  .vote-link {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 0.7fr 1fr;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .vote-link {
    min-height: 40px;
    padding: 0 16px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: min(340px, calc(100% - 36px));
    margin: 0 18px 255px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 17vw, 4.6rem);
  }

  .lead {
    line-height: 1.48;
  }

  .hero-actions .secondary {
    display: none;
  }

  .hero-facts {
    left: 18px;
    right: 18px;
    bottom: 18px;
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    padding: 12px 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .promise-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .cost-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-grid .tall,
  .gallery-grid .wide {
    grid-row: auto;
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
