.section-desc {
  text-align: center;
  color: #6b7280;
  font-size: 1.25rem;
  margin-top: 10px;
  margin-bottom: 24px;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) {
  .section-desc {
    max-width: 100%;
  }
}
/* Opis pod nagłówkiem sekcji dokumentacja */
.section-desc {
  text-align: center;
  color: #6b7280;
  font-size: 1.25rem;
  margin-top: 10px;
  margin-bottom: 24px;
  font-weight: 400;
}
/* Wyśrodkowany link informacyjny na dole strony */
.info-link-row {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.info-link {
  margin-left: 8px;
  text-decoration: underline;
  color: inherit;
  font-weight: 500;
  transition: color 0.2s;
}
.info-link:hover {
  color: var(--brand);
}
.back-link-btn {
  display: inline-block;
  margin-top: 8px;
}
:root{
  /* New color scheme: dark green */
  --bg: #0d4f3c; /* dark green for footer and accents */
  --bg-soft: #0a3d2e; /* darker green variant */
  --text: #0d4f3c; /* primary text in dark green */
  --muted: #5b8a6a; /* muted green text */
  --brand: #0d4f3c; /* primary accent (dark green) */
  --brand-2: #0a3d2e; /* secondary accent (darker green) */
  --surface: #ffffff; /* main surface white */
  --surface-alt: #f0f9f4; /* light green surface alt */
  --radius:16px; --ring: rgba(13,79,60,0.12);
}

/* Smooth in-page scrolling and offset for sticky header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* keep anchors below the sticky header */
}

*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--surface);color:var(--text);font-family:Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6}
img{max-width:100%;display:block}
.container{width:min(1120px,92%);margin-inline:auto}

/* Header/nav */
.site-header{position:sticky;top:0;z-index:20;background:rgba(253,248,243,.95);backdrop-filter:blur(6px);border-bottom:1px solid var(--brand);transition:transform 0.3s ease-in-out}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:40px 0;position:relative}

/* Logo wyśrodkowane */
.brand{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;text-decoration:none;color:var(--text);font-weight:800;transition:transform 0.2s ease}
.brand:hover{transform:translateX(-50%) scale(1.05)}
.brand img{height:182px;width:auto}
.logo-mobile{display:none}

/* Menu po bokach */
.left-nav{flex:1;display:flex;justify-content:flex-end;padding-right:140px}
.right-nav{flex:1;display:flex;justify-content:flex-start;padding-left:140px}
.mobile-only{display:none}

.nav-toggle{display:none;background:none;border:0;cursor:pointer;position:relative;z-index:21}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--brand);margin:5px 0}
.site-nav ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.site-nav a{font-weight:600;border:0;background:none;color:var(--text);text-decoration:none;padding:8px 10px;border-radius:10px;position:relative;transition:color 0.3s ease;overflow:hidden}
.site-nav a::before{content:'';position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--brand);transition:width 0.3s ease}
.site-nav a:hover{color:var(--brand)}
.site-nav a:hover::before{width:100%}

@media (max-width:960px){
  .header-inner{padding:6px 0}
  
  .nav-toggle{display:block}
  .left-nav, .right-nav{display:none}
  .nav-open .left-nav{display:block;position:absolute;left:0;right:0;top:28px;background:var(--surface);border-bottom:1px solid var(--brand);z-index:20;padding:16px}
  .nav-open .right-nav{display:none}
  .left-nav ul{flex-direction:column;align-items:flex-start;padding:0;margin:0}
  .left-nav li{margin:0}
  .left-nav a{display:inline-block;padding:12px 16px;margin:0;position:relative}
  .left-nav a::before{left:16px;width:0;max-width:calc(100% - 32px)}
  .left-nav a:hover::before{width:calc(100% - 32px)}
  .mobile-only{display:block}
  
  .brand{position:static;transform:none;margin-right:auto;display:flex;align-items:center;gap:8px;transition:none}
  .brand:hover{transform:none;transition:none}
  .logo-desktop{display:none}
  .logo-mobile{display:block;height:16px}
  .brand::after{content:'MP INVEST-BUD SPÓŁKA Z OGRANICZONĄ ODPOWIEDZIALNOŚCIĄ';font-size:18px;font-weight:800;color:var(--text);letter-spacing:-0.4px}
}

/* Hero */
.hero{position:relative;min-block-size:520px;block-size:72vh}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:relative;z-index:1;display:grid;place-items:center;height:100%;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.45))}
.hero h1{color:#fff;font-size:clamp(28px,4vw,44px);margin:0 0 8px}
.hero p{color:#e7e9f2;margin:0 0 16px}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap}
.compliance-badges{display:flex;gap:8px;margin-top:12px;padding:0;list-style:none}
.compliance-badges li{color:#d3f8e5;border:1px solid rgba(255,255,255,.35);padding:6px 10px;border-radius:999px;font-size:13px}

/* Sections */
.section{padding:56px 0}
.section--alt{background:var(--surface-alt)}
.section-header h2{margin:0 0 6px;font-size:clamp(24px,3vw,34px)}
.section-header p{margin:0 0 8px;color:var(--muted)}
/* Wyśrodkowane nagłówki sekcji */
.section-title {
  text-align: center;
  font-size: clamp(22px, 2.5vw, 32px);
  margin: 18px 0 10px 0;
  font-weight: 700;
}
.section-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}
.section-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

/* Featured Offer */
.featured-offer {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  background: var(--surface);
  border: 2px solid rgba(13,79,60,.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13,79,60,.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 24px 0;
}

.featured-offer:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,79,60,.16);
}

.featured-offer-media {
  position: relative;
  overflow: hidden;
}

.featured-offer-media a {
  display: block;
  height: 100%;
}

.featured-offer-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-offer:hover .featured-offer-media img {
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brand-2);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

.featured-offer-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-offer-header h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: var(--text);
}

.featured-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 16px 0;
  font-weight: 500;
}

.featured-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.featured-deadline {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.featured-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
  padding: 20px;
  background: rgba(11,27,58,.03);
  border-radius: 12px;
  border: 1px solid rgba(11,27,58,.06);
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.highlight-item strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
}

.highlight-item span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.featured-description {
  margin: 16px 0 24px 0;
}

.featured-description p {
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

.featured-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-featured {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-featured-primary {
  background: var(--brand);
  color: #fff;
}

.btn-featured-primary:hover {
  background: var(--brand-2);
  transform: translateY(-1px);
}

.btn-featured-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-featured-outline:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .featured-offer {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .featured-offer-content {
    padding: 24px;
  }
  
  .featured-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .featured-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-featured {
    justify-content: center;
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.about-intro h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.about-intro .lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
  font-weight: 400;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(11,27,58,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.about-feature-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px 0;
}

.about-feature-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: #fff;
  border: 2px solid rgba(13,79,60,.06);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13,79,60,.16);
}

.stat-card.highlighted {
  background: linear-gradient(135deg, rgba(13,79,60,1), rgba(10,61,46,1));
  border-color: rgba(10,61,46,1);
  color: #fff;
}

.stat-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 6px;
  line-height: 1;
}

.stat-card.highlighted .stat-number {
  color: #fff;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 2px;
}

.stat-card.highlighted .stat-label {
  color: rgba(255,255,255,.9);
}

.stat-note {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  margin-top: 2px;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(13,79,60,.03), rgba(13,79,60,.04));
  border: 1px solid rgba(13,79,60,.06);
  border-radius: 20px;
  padding: 32px 40px;
  margin-top: 48px;
}

.about-cta-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px 0;
}

.about-cta-content p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .about-cta {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 28px 24px;
  }
  
  .about-feature {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .about-feature-icon {
    align-self: center;
  }
}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
@media (max-width:900px){.cards{grid-template-columns:1fr}}
.card{background:var(--surface);border:1px solid var(--brand);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;position:relative;box-shadow:0 4px 12px rgba(13,79,60,.06)}
.card-media{position:relative}
.card-media img{height:260px;width:100%;object-fit:cover}
.card-media{position:relative}

/* Disabled card overlay for 'Dostępne wkrótce' */
.card-media.is-disabled{cursor:default}
.card-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius:inherit;
  pointer-events:auto; /* overlay will capture clicks */
}
.overlay-pill{
  background:rgba(255,255,255,0.95);
  color:var(--text);
  padding:8px 14px;
  border-radius:999px;
  font-weight:800;
  box-shadow:0 8px 24px rgba(13,79,60,0.12);
}
.link-cover{display:block}
.badge{position:absolute;left:12px;bottom:12px;background:rgba(13,79,60,.75);color:#fff;padding:6px 10px;border-radius:999px;font-size:12px}
.card-body{padding:18px}
.card h3{margin:0 0 6px}
.meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
/* Wyśrodkowanie i zapobieganie łamaniu linii w tabeli */
.nowrap {
  white-space: nowrap;
}
.meta dt{font-weight:600}
.meta dd{margin:0}
.status{padding:3px 8px;border-radius:999px;font-size:12px;font-weight:800}
.status--ongoing{background:#ecfdf3;color:#047857}
.status--prep{background:#fff7ed;color:#b45309}
.card-actions{display:flex;gap:8px;flex-wrap:wrap}

.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer;text-decoration:none;
  /* normalize browser defaults for button elements so <a> and <button> look the same */
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  font-family: inherit; line-height: 1; vertical-align: middle;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--brand);color:#fff}

/* Global primary button styling — anchors and buttons will look identical.
   More specific selectors like .contact-form-wrap .btn-primary can override this. */
.btn-primary{
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
  padding: 12px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
}
.btn-secondary{background:var(--brand-2);color:#fff}
.btn-outline{background:var(--surface);color:var(--text);border:1px solid var(--brand)}
.btn-xs{padding:6px 10px;border-radius:10px;font-size:12px}

/* Offer page — galerie */
.offer-gallery{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 12px 0 18px;
}
.gallery-main{height:720px;overflow:hidden;border-radius:14px}
.gallery-main img{width:100%;height:100%;object-fit:cover;border-radius:14px;border:1px solid #e9edf7;transition:opacity .38s ease, transform .25s ease}
.gallery-thumbs{display:flex;gap:12px;align-items:center;overflow-x:auto;padding-bottom:6px;justify-content:center;width:100%;padding-inline:8px}
/* Thumbnails: use transparent border to create a visible active state without relying on outline
  We reduce the inner image size slightly so the outer footprint stays similar when border is applied. */
.gallery-thumbs img{height:132px;min-width:152px;object-fit:cover;border-radius:10px;box-sizing:border-box;border:4px solid transparent;transition:transform .18s ease, border-color .18s ease}
.gallery-thumbs img.thumb-empty{opacity:0.45;filter:grayscale(60%)}

/* Smooth fade when main image changes */
.offer-gallery img:first-child{transition:opacity .38s ease, transform .25s ease}

/* Lightbox styles */
.gallery-lightbox-overlay{position:fixed;inset:0;background:rgba(3,7,18,0.75);display:none;align-items:center;justify-content:center;z-index:1200}
.gallery-lightbox-overlay.show{display:flex}
.gallery-lightbox{position:relative;max-width:94vw;max-height:92vh;background:transparent;display:flex;align-items:center;justify-content:center}
.gallery-lightbox img{max-width:100%;max-height:92vh;border-radius:12px;box-shadow:0 30px 80px rgba(2,6,23,.6)}
.gl-close,.gl-nav{position:absolute;border:0;background:rgba(255,255,255,0.92);width:44px;height:44px;border-radius:999px;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(2,6,23,.2)}
.gl-close{top:18px;right:18px}
.gl-nav{top:50%;transform:translateY(-50%)}
.gl-nav.prev{left:18px}
.gl-nav.next{right:18px}
.gl-close svg,.gl-nav svg{stroke:var(--text);width:18px;height:18px}

/* Desktop gallery controls and thumbnail active state */
.offer-gallery{position:relative}
.offer-gallery .gallery-control{
  position:absolute;top:50%;transform:translateY(-50%);z-index:10;
  width:44px;height:44px;border-radius:999px;border:0;background:rgba(255,255,255,0.88);display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(13,79,60,0.08)
}
.offer-gallery .gallery-control svg{stroke:var(--brand-2);width:20px;height:20px}
.offer-gallery .gallery-control.prev{left:12px}
.offer-gallery .gallery-control.next{right:12px}
.gallery-thumbs img.thumb-active{border-color:var(--brand);transform:scale(1.02)}

/* Hide desktop controls on small screens (mobile uses .slider) */
@media (max-width:900px){
  .offer-gallery .gallery-control{display:none}
  .offer-gallery img{height:auto}
}

/* Slider (mobile only) */
.slider{display:none;position:relative;overflow:hidden;border-radius:16px;margin:12px 0 8px}
.slides{display:flex;transition:transform .5s ease}
.slides img{min-width:100%;object-fit:cover;height:260px}
.slider button.prev,
.slider button.next{
  position:absolute;top:50%;transform:translateY(-50%);
  background:rgba(0,0,0,.45);color:#fff;border:0;border-radius:50%;
  width:36px;height:36px;cursor:pointer;font-size:20px;
}
.slider button.prev{left:10px}
.slider button.next{right:10px}

/* tylko na telefonie pokaz slider, ukryj siatkę */
@media (max-width:900px){
  .offer-gallery{display:none}
  .slider{display:block}
}

/* KPI / layout */
.kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:10px}
.kpi{background:#fff;color:var(--text);border:2px solid rgba(13,79,60,.08);border-radius:14px;padding:20px;text-align:center;box-shadow:0 4px 16px rgba(13,79,60,.12)}
.kpi-label{display:block;color:var(--brand);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:0.5px}
.kpi-value{display:block;font-size:24px;font-weight:800;color:var(--text);margin-top:4px}

/* Small phones: remove horizontal padding on KPI boxes to avoid label overflow */
@media (max-width: 450px) {
  .kpi { padding: 12px 0; }
  .kpi-grid { grid-template-columns: 1fr; gap: 10px; }
}

.sep{border:0;border-top:1px solid #edf0f7;margin:24px 0}

.offer-two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:center;margin:16px 0}
.offer-two-col.reverse{grid-template-columns:.9fr 1.1fr}
@media (max-width:900px){.offer-two-col,.offer-two-col.reverse{grid-template-columns:1fr}}
.offer-two-col .media img{width:100%;height:auto;border-radius:14px;border:1px solid #e9edf7}

.features-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;margin:12px 0 0;list-style:none}
.features-3 li{background:#f6f7fb;border:1px solid #e9edf7;border-radius:999px;padding:10px 12px;font-weight:700;text-align:center}

.table{width:100%;border-collapse:collapse;border:1px solid #e8eaf0;border-radius:12px;overflow:hidden}
.table th,.table td{padding:12px;border-bottom:1px solid #eef0f6;vertical-align:top;text-align:center}
.table thead{background:#f6f7fb}
.table-wrap{overflow:auto;border-radius:12px;border:1px solid #e8eaf0;margin:12px 0 24px}
.table-pagination{display:flex;gap:8px;align-items:center;justify-content:center;margin:8px 0 28px}
.table-pagination .pag-pages{display:flex;gap:8px}
.table-pagination .pag-page.pag-active{background:var(--brand);color:#fff;border-color:var(--brand)}
.table-pagination .pag-prev[disabled], .table-pagination .pag-next[disabled]{opacity:0.45;cursor:not-allowed}
.pill{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
.pill--avail{background:#dcfce7;color:#166534}
.pill--sold{background:#fee2e2;color:#991b1b}
.pill--reserve{background:#fef3c7;color:#92400e}

.map-wide{border:1px solid #e8eaf0;border-radius:16px;overflow:hidden;margin:10px 0 24px}
.map-wide iframe{display:block;width:100%;height:420px}

/* Contact section styles */
/* Contact form styles removed (form markup moved to backup.txt). */
/* Note: form-specific CSS was intentionally removed — map and contact-grid layout kept below. */

.docs-tiles {
  display: flex;
  gap: 2rem;
  margin: 24px 0 8px 0;
  justify-content: center;
  /* stretch tiles so they have equal height on desktop */
  align-items: stretch;
  width: 100%;
}
.tile {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(13,79,60,0.10);
  padding: 2.2rem 2rem 2rem 2rem;
  flex: 1 1 340px;
  min-width: 280px;
  max-width: 420px;
  display: flex;
  flex-direction: column; /* changed: stack top + button vertically */
  align-items: stretch;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  /* ensure tiles are visually balanced — identical heights on wide viewports */
  min-height: 300px;
}
.tile-top {
  display: flex; /* icon + content on one row */
  gap: 1.2rem;
  align-items: flex-start;
}

.tile-icon {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.tile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.tile-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}
.tile-content p {
  margin: 0 0 1.2rem 0;
  color: var(--muted);
  font-size: 1rem;
}
.tile-btn-wrap {
  width: 100%;
  display: flex;
  justify-content: center; /* center across full tile width */
  align-items: center;
  /* push CTA to the bottom when tile grows so both tiles look balanced */
  margin-top: auto;
}
.tile-btn-wrap .btn {
  min-width: 140px;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 12px;
  display: inline-block;
  text-align: center;
}
.tile:hover {
  box-shadow: 0 8px 32px rgba(13,79,60,0.16);
  transform: translateY(-4px) scale(1.02);
  border-color: #e3eaf5;
}
@media (max-width: 900px) {
  .docs-tiles {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .tile {
    max-width: 100%;
    min-width: 0;
    /* on small screens, don't force a minimum height */
    min-height: auto;
  }
}
.back-link{display:flex;gap:10px;justify-content:center;margin-top:8px}

/* Kontakt + formularz (z index.html) */
/* Contact layout (map + contact-info) — form-specific styles removed above. */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr}}
.map-wrap{border:1px solid #e8eaf0;border-radius:16px;overflow:hidden;min-height:320px}
.map-wrap iframe{display:block;width:100%;height:100%}
.small{font-size:14px}.xsmall{font-size:12px}
.dim{color:var(--muted)}

/* Footer */
.site-footer{background:var(--bg);color:#d4f0e4;padding:34px 0;margin-top:24px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:620px){.footer-grid{grid-template-columns:1fr}}
.footer-links{list-style:none;margin:6px 0 0;padding:0}
.footer-links a{color:#a8d5b8;text-decoration:none}
.footer-links a:hover{text-decoration:underline}

/* Cookie banner */
.cookie-banner{position:fixed;inset:auto 0 0 0;background:var(--bg);color:#fff;padding:14px 0;z-index:50}
.cookie-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cookie-inner a{color:#a8d5b8}
.cookie-actions{display:flex;gap:8px}

/* Back-to-top button */
.back-to-top{
  position:fixed;
  right:20px;
  bottom:20px;
  width:48px;
  height:48px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  display:inline-grid;
  place-items:center;
  border:0;
  box-shadow:0 8px 24px rgba(13,79,60,0.12);
  cursor:pointer;
  z-index:70;
  opacity:0;
  transform:translateY(12px);
  transition:opacity .22s ease, transform .22s ease, box-shadow .12s;
  -webkit-appearance:none; appearance:none; font-family:inherit;
}
.back-to-top svg{stroke:#fff}
.back-to-top:focus{outline:2px solid var(--ring); outline-offset:3px}
.back-to-top.show{opacity:1; transform:translateY(0)}

@media (max-width:420px){
  .back-to-top{right:12px;bottom:14px;width:44px;height:44px}
}

/* Footer disclaimer specific to oferta page */
.footer-disclaimer{
  text-align:center;
  font-size:0.85rem;
  color:#d4f0e4; /* match footer text color */
  background:var(--bg); /* same as footer background */
  padding:10px 12px 16px;
  display:flex;
  justify-content:center;
}

@media (min-width: 900px) {
  .footer-disclaimer{
    padding-left:0;
    padding-right:0;
  }
  .footer-disclaimer > *{
    margin:0 16px;
  }
  .footer-disclaimer__inner{
  max-width:720px; /* slightly wider readable column on desktop */
    margin:0 auto;
    padding:0 12px;
    text-align:center;
    font-size:14px; /* match .small */
    line-height:1.35;
    color:var(--muted); /* match .dim */
  }
}

/* Responsive table: at 680px and below show rows as stacked labeled blocks */
@media (max-width: 680px) {
  .table { border: 0; border-radius: 0; }
  .table thead { display: none; }
  .table, .table tbody { display: block; width: 100%; }
  .table tr { display: block; margin-bottom: 12px; border:1px solid #eef0f6; border-radius:12px; padding:8px; background:#fff }
  .table td { display: flex; justify-content:space-between; align-items:center; padding:8px 10px; border:0; font-size:0.95rem; gap:8px }
  .table td::before { content: attr(data-label); font-weight:700; color:var(--muted); flex:0 0 46%; text-align:left }
  .table td > * { margin:0 }
  .table td .pill, .table td .btn { margin:0 }
  .table td span.nowrap{display:inline-block}
}


/* --- Feature row (profesjonalne karty zamiast "piguł") --- */
/* --- Feature row (profesjonalne karty zamiast "piguł") --- */
.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--brand);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(11,27,58,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.feature:hover {
  transform: translateY(-1px);
  border-color: var(--brand-2);
  box-shadow: 0 8px 24px rgba(13,79,60,0.12);
}

.feature .ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-2);
  border: 1px solid var(--brand-2);
  color: #fff;
}

.feature .feature-text {
  line-height: 1.2;
}

.feature .kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.feature strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

/* Redesigned benefits grid: modern card-based layout */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 18px 0 26px;
}

.benefit-card{
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  border-radius: 14px;
  padding: 18px 18px 18px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 8px 28px rgba(13,79,60,0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  border-left: 6px solid transparent;
}

.benefit-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(13,79,60,0.12);
}

.benefit-icon{
  width:56px;height:56px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(13,79,60,0.08), rgba(10,61,46,0.04));
  flex:0 0 56px;color:var(--brand);
}
.benefit-icon svg{stroke:var(--brand);width:28px;height:28px}

.benefit-body h4{margin:0 0 6px;font-size:1.05rem;font-weight:800;color:var(--text)}
.benefit-body p{margin:0;color:var(--muted);line-height:1.45}

/* subtle accent colors on the left border for visual variety */
.benefit-card:nth-child(1){border-left-color: var(--brand-2)}
.benefit-card:nth-child(2){border-left-color: rgba(212,84,0,0.9)}
.benefit-card:nth-child(3){border-left-color: rgba(102,126,234,0.9)}
.benefit-card:nth-child(4){border-left-color: rgba(34,197,94,0.9)}
.benefit-card:nth-child(5){border-left-color: rgba(79,70,229,0.9)}
.benefit-card:nth-child(6){border-left-color: rgba(6,182,212,0.9)}

@media (max-width: 1000px){
  .benefits-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 640px){
  .benefits-grid{grid-template-columns:1fr}
  .benefit-card{align-items:flex-start}
}

/* Centrowanie bloku na PC, pełna szerokość na mobile */
.feature-row.is-centered {
  justify-content: center;
}

@media (min-width: 768px) {
  .feature-row.is-centered {
    max-width: 700px;   /* możesz dopasować np. 660–760px */
    margin-left: auto;
    margin-right: auto;
  }
  .feature-row.is-centered .feature {
    flex: 0 0 auto; /* karty nie rozciągają się, zachowują naturalną szerokość */
  }
}

@media (max-width: 767px) {
  .feature-row.is-centered .feature {
    flex: 1 1 100%; /* karty pełna szerokość na telefonie */
  }
}

/* ===== Ikona/przycisk ===== */
.price-history-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;padding:0;border:none;border-radius:8px;
  background:rgba(255,255,255,0.95);color:#0b1020;border:1px solid rgba(11,16,32,0.06);
  box-shadow:0 4px 12px rgba(11,16,32,0.06);
  cursor:pointer;transition:transform .12s,box-shadow .2s,background .2s;
  vertical-align:middle;margin-left:4px}
.price-history-btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(11,16,32,0.08)}
.price-history-btn:active{transform:translateY(0)}
.price-history-btn:focus-visible{outline:2px solid rgba(26,86,219,.25);outline-offset:2px}
.icon-history{width:22px;height:22px;fill:currentColor}

/* ===== Modal ===== */
.ph-modal[aria-hidden="true"]{display:none}
.ph-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center}
.ph-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.55);backdrop-filter:blur(2px)}
.ph-dialog{position:relative;width:min(92vw,520px);max-height:86vh;display:flex;flex-direction:column;
  background:#fff;border-radius:14px;box-shadow:0 24px 60px rgba(2,6,23,.25);overflow:hidden;
  animation:ph-zoom-in .15s ease-out}
@keyframes ph-zoom-in{from{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}
.ph-header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #eef2f7}
.ph-title{font-size:18px;font-weight:700;color:#0f172a;margin:0}
.ph-close{width:34px;height:34px;border:none;border-radius:8px;background:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s}
.ph-close:hover{background:#f3f4f6}
.ph-close:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
.ph-close-icon{width:18px;height:18px;fill:#0f172a}
.ph-body{padding:8px 0;overflow:auto}
.ph-list{list-style:none;margin:0;padding:0}
.ph-row{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px 18px;border-bottom:1px solid #eef2f7}
.ph-row:last-child{border-bottom:0}
.ph-date{color:#64748b;font-weight:600}
.ph-price{color:#0f172a;font-weight:700}
.ph-footer{padding:12px 18px 16px;display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #eef2f7}
.ph-btn{appearance:none;border:none;border-radius:10px;padding:10px 14px;font-weight:600;cursor:pointer;transition:transform .1s,box-shadow .2s,background .2s}
.ph-btn-secondary{background:#0f172a;color:#fff}
.ph-btn-secondary:hover{filter:brightness(1.05)}
.ph-btn:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}

/* Lokale grid */
.lokale-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 24px 0;
}

.lokal-block {
  background: #fff;
  border: 2px solid rgba(11,27,58,.06);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(11,27,58,.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lokal-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,27,58,.16);
}

.lokal-title {
  text-align: center;
  background: var(--brand);
  color: #fff;
  margin: -20px -20px 20px -20px;
  padding: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 14px 14px 0 0;
}

.lokal-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lokal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.lokal-row:last-child {
  border-bottom: none;
  margin-top: 8px;
}

.lokal-label {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.lokal-value {
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

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

/* Contact layout and spacing */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
.contact-grid .company-head h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.125rem;
}
.contact-grid h4 {
  margin: 0 0 0.15rem 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.contact-grid p {
  margin: 0 0 0.45rem 0;
  font-size: 1.05rem; /* slightly larger address text */
  color: #102134;
  line-height: 1.35;
}
.contact-grid a[href^="tel:"],
.contact-grid a[href^="mailto:"] {
  text-decoration: underline;
  color: #0b1020;
  font-weight: 700;
}

.map-wrap iframe {
  width: 100%;
  height: 320px; /* slightly taller map */
  border: 0;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 440px; /* wider map column on desktop */
    gap: 2rem;
  }
  .map-wrap {
    grid-column: 2;
  }
}

/* Legal Info Popup */
.legal-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.legal-popup {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.legal-popup-overlay.show .legal-popup {
  transform: translateY(0) scale(1);
}

.legal-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
  z-index: 10;
}

.legal-popup-close:hover {
  background: rgba(0, 0, 0, 0.15);
  color: #000;
  transform: scale(1.1);
}

.legal-popup-content {
  padding: 40px 32px 32px 32px;
}

.legal-popup-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.legal-popup-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 20px 0;
  text-align: justify;
}

.legal-popup-content p:last-of-type {
  margin-bottom: 32px;
}

.legal-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: var(--brand-2);
  text-decoration: underline;
}

.legal-popup-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.legal-popup-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(11,27,58,0.18);
}

.legal-popup-btn:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,27,58,0.24);
}

.legal-popup-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .legal-popup {
    width: 95%;
    border-radius: 16px;
    max-height: 90vh;
  }
  
  .legal-popup-content {
    padding: 32px 24px 24px 24px;
  }
  
  .legal-popup-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .legal-popup-content p {
    font-size: 15px;
  }
  
  .legal-popup-btn {
    width: 100%;
    padding: 16px;
  }
}

/* Prospekt Info Popup */
.prospekt-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.prospekt-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.prospekt-popup {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 480px;
  width: 90%;
  max-height: 70vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.prospekt-popup-overlay.show .prospekt-popup {
  transform: translateY(0) scale(1);
}

.prospekt-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
  z-index: 10;
}

.prospekt-popup-close:hover {
  background: rgba(0, 0, 0, 0.15);
  color: #000;
  transform: scale(1.1);
}

.prospekt-popup-content {
  padding: 40px 32px 32px 32px;
  text-align: center;
}

.prospekt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(11,27,58,0.06);
  border-radius: 50%;
  margin: 0 auto 24px auto;
  color: var(--brand);
}

.prospekt-popup-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.prospekt-popup-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 16px 0;
}

.prospekt-note {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-bottom: 28px !important;
}

.prospekt-popup-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.prospekt-popup-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(11,27,58,0.18);
}

.prospekt-popup-btn:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,27,58,0.24);
}

.prospekt-popup-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .prospekt-popup {
    width: 95%;
    border-radius: 16px;
    max-height: 85vh;
  }
  
  .prospekt-popup-content {
    padding: 32px 24px 24px 24px;
  }
  
  .prospekt-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
  
  .prospekt-popup-content h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  
  .prospekt-popup-content p {
    font-size: 15px;
  }
  
  .prospekt-popup-btn {
    width: 100%;
    padding: 14px;
  }
}

