/*
 Theme Name:   Architekt Chojnice v2
 Template:     architekt-chojnice
 Version:      1.1.0
 Author:       Webfilar.com
*/

/* ============================================
   FONT OVERRIDE - Albert Sans
   ============================================ */
:root {
  --font: 'Albert Sans', sans-serif;
  --col: calc(100vw / 12);
}

html, body { background: #ffffff; }


/* Nadpisanie wszystkich tła offwhite na czyste białe */
.site-header,
.hero,
.latest-posts,
.hiw-section ~ *,
.site-footer-v2,
.arch-firms,
.arch-guide,
.arch-pricing-cta,
.arch-contact-cta,
.arch-faq,
.post-body-wrap,
.archive-hero {
  background: #ffffff;
}

:root { --offwhite: #ffffff; }

/* Hero btn override - białe tło */
.hero--cinematic .btn-primary {
  background: #fff;
  color: var(--navy);
  border: none;
}
.hero--cinematic .btn-primary:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

/* Nav - transparent (domyślnie) */
.nav-menu a { font-size: 0.80rem !important; color: #fff !important; }
.nav-menu .nav-cta { border-color: rgba(255,255,255,0.75) !important; }
.nav-menu .nav-cta:hover { background: rgba(255,255,255,0.15) !important; color: #fff !important; border-color: #fff !important; }

/* Nav - scrolled (białe tło) */
.site-header.scrolled .nav-menu a { color: var(--navy) !important; }
.site-header.scrolled .nav-menu a:not(.nav-cta):hover { color: var(--gold) !important; }
.site-header.scrolled .nav-menu .nav-cta { border-color: var(--navy) !important; color: var(--navy) !important; }
.site-header.scrolled .nav-menu .nav-cta:hover { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
.site-header.scrolled .site-logo img,
.site-header.scrolled .site-logo-img { filter: invert(0); }

.nav-toggle span {
  background: #fff !important;
}

.site-header.scrolled .nav-toggle span {
  background: var(--navy) !important;
}

/* Header - transparent → frosted on scroll */
.site-header {
  background: transparent !important;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

/* Slim nav on scroll */
.nav-inner {
  transition: height 0.25s ease;
}
.site-header.scrolled .nav-inner {
  height: 56px;
}
.site-header.scrolled .site-logo-img {
  height: 40px !important;
}

.site-logo img,
.site-logo-img {
  height: 64px !important;
  width: auto;
  display: block;
  filter: invert(1);
  transition: filter 0.3s, height 0.25s ease;
}


/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   HERO - poprawki (homepage)
   ============================================ */
.hero-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-title { font-weight: 800; }
.hero-title em { font-weight: 800; }

/* ============================================
   HERO - technical/artistic
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  justify-content: center;
}

/* Corner registration marks */
.hero-mark {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 3;
  pointer-events: none;
}
.hero-mark--tl {
  top: 0.75rem; left: 0.75rem;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.hero-mark--tr {
  top: 0.75rem; right: 0.75rem;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.hero-mark--bl {
  bottom: 0.75rem; left: 0.75rem;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.hero-mark--br {
  bottom: 0.75rem; right: 0.75rem;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

/* Hero - cinematic */
.hero--cinematic {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0f1923;
  padding: 140px 0 86px;
}

.hero--cinematic .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--cinematic .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(10%) contrast(1.08) brightness(0.82);
  transform: scale(1.02);
}

.hero--cinematic .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15,25,35,0.92) 0%, rgba(15,25,35,0.74) 38%, rgba(15,25,35,0.28) 72%, rgba(15,25,35,0.12) 100%),
    linear-gradient(0deg, rgba(15,25,35,0.82) 0%, rgba(15,25,35,0.18) 48%, rgba(15,25,35,0.35) 100%);
}

.hero--cinematic .container {
  position: relative;
  z-index: 2;
}

.hero--cinematic .hero-content {
  max-width: 980px;
}

.hero-kicker {
  margin: 0 0 1.625rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
  color: #fff;
}

/* Coordinates + ref row */
.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.hero-coord,
.hero-ref {
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.hero-ref { color: var(--gold); }

.hero-title {
  margin: 0 0 0 0;
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.8rem, 5.4vw, 5.8rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.hero-lead {
  max-width: 620px;
  margin: 2.125rem 0 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2.625rem !important;
  margin-bottom: 0 !important;
}

/* ============================================
   INDEX BAND
   ============================================ */
.index-band {
  background: var(--navy);
  border-top: 2px solid var(--gold);
}

.index-band-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  align-items: stretch;
}

.index-band-label {
  padding: 1.25rem 2rem;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.index-band-items {
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.index-band-items::-webkit-scrollbar { display: none; }

.index-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.index-item:hover { background: rgba(255,255,255,0.04); }

.index-num {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.index-name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.index-item:hover .index-name { color: #fff; }

.hero-herb {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  width: 100px;
  height: auto;
  opacity: 0.9;
  z-index: 3;
  pointer-events: none;
}

.hero-image-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-mark {
  z-index: 4;
}

.hero-bottom {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  white-space: nowrap;
}

/* ============================================
   TOPIC STRIP
   ============================================ */
.topic-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.topic-strip-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.topic-strip-inner::-webkit-scrollbar { display: none; }
.topic-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 1.25rem;
  border-right: 1px solid var(--border);
  margin-right: 0.5rem;
}
.topic-link {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.topic-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--offwhite);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.hiw-section {
  background: linear-gradient(135deg, #0a1218 0%, #0F1923 45%, #162030 100%);
  padding: 5rem 0;
}
.hiw-section .section-eyebrow::before { background: var(--gold); }
.hiw-section .section-eyebrow span { color: var(--gold); }
.hiw-section .section-title { color: var(--offwhite) !important; }
.hiw-header { margin-bottom: 3.5rem; }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.hiw-step {
  min-height: 100%;
  padding: 1.45rem;
  border: 1px solid rgba(245,243,240,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hiw-step:hover {
  border-color: rgba(181,140,76,0.5);
  background: rgba(255,255,255,0.055);
  transform: translateY(-1px);
}
.hiw-step:last-child { border-right: 1px solid rgba(245,243,240,0.1); }
.hiw-step:not(:first-child) { padding-left: 1.45rem; }
.hiw-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(181,140,76,0.12);
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.35rem;
}
.hiw-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--offwhite);
  line-height: 1.3;
  margin-bottom: 0.875rem;
}
.hiw-step-desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(245,243,240,0.5);
}

/* Subtelniejszy reveal dla HIW */
.hiw-grid [data-reveal],
.hiw-grid .reveal {
  transition: opacity 0.9s ease, transform 0.9s ease;
  transform: translateY(12px);
}

/* ============================================
   BLOG INDEX - Editorial list
   ============================================ */
.blog-page { padding-bottom: 7rem; }

.blog-hero {
  padding: 9rem 0 5rem;
  background: var(--navy);
  border-bottom: 1px solid rgba(245,243,240,0.08);
  position: relative;
  overflow: hidden;
}

.blog-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
}

.blog-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.blog-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.blog-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.blog-hero-eyebrow span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.blog-hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #f5f3f0;
}

.blog-hero-right {
  padding-bottom: 0.5rem;
}

.blog-issue {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,243,240,0.35);
  margin-bottom: 1.25rem;
}

.blog-hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245,243,240,0.6);
  max-width: 380px;
}

/* Post list */
.post-list {
  border-bottom: 1px solid var(--border);
}

.post-list-item {
  border-top: 1px solid var(--border);
}

.post-list-link {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 2.25rem 0;
  transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-list-link:hover { padding-left: 1rem; }

.pli-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 0.2rem;
}

.pli-body { min-width: 0; }

.pli-title {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.post-list-link:hover .pli-title { color: var(--gold-dark); }

.pli-excerpt {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pli-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.875rem;
  flex-shrink: 0;
  padding-left: 1.5rem;
}

.pli-date {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

.pli-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 1rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.post-list-link:hover .pli-arrow {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--offwhite);
  transform: translateX(4px);
}

/* Blog pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 0 0;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--navy);
  transition: all 0.2s;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--offwhite);
}

.blog-count {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ============================================
   SINGLE POST
   ============================================ */
.post-hero {
  padding: 9rem 0 5rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(184,147,74,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.post-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.post-hero-breadcrumb a {
  color: rgba(245,243,240,0.4);
  transition: color 0.2s;
}
.post-hero-breadcrumb a:hover { color: var(--gold); }
.post-hero-breadcrumb .sep { color: rgba(245,243,240,0.15); }
.post-hero-breadcrumb .post-cat { color: var(--gold); }

.post-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--offwhite);
  max-width: 860px;
  margin-bottom: 3rem;
}

.post-hero-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.post-hero-info .ph-item {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,243,240,0.35);
}

.post-hero-info .ph-dot {
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Post body */
.post-body-wrap {
  padding: 5rem 0 6rem;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
}

/* ---- TOC sidebar layout ---- */
.post-body-with-toc {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: start;
}

.post-body-with-toc .post-body {
  max-width: 100%;
  margin: 0;
}

/* TOC sidebar */
.toc-sidebar {
  position: sticky;
  top: 100px;
}

.toc-sidebar-inner {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.toc-toggle {
  display: none; /* desktop: zawsze widoczny jako header */
  width: 100%;
  padding: 13px 18px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  align-items: center;
  gap: 6px;
}

.toc-toggle-icon {
  transition: transform 0.2s;
}

.toc-toggle[aria-expanded="true"] .toc-toggle-icon {
  transform: rotate(180deg);
}

.toc-nav {
  padding: 8px 0 10px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-list li {
  border: none;
  padding: 0;
  margin: 0;
}

.toc-list li::before { display: none; }

.toc-link {
  display: block;
  padding: 7px 18px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.toc-link:hover {
  color: var(--navy);
  background: rgba(15,25,35,0.035);
}

.toc-link.is-active {
  color: var(--navy);
  border-left-color: var(--gold);
  font-weight: 600;
}

/* Desktop: pokaż label nad listą (dynamiczny przez data-toc-label) */
.toc-sidebar-inner::before {
  content: attr(data-toc-label);
  display: block;
  padding: 13px 18px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--border);
}

/* Mobile TOC */
@media (max-width: 900px) {
  .post-body-with-toc {
    grid-template-columns: 1fr;
  }

  .toc-sidebar {
    position: static;
    order: -1; /* idzie na górę */
  }

  .toc-sidebar-inner::before {
    display: none;
  }

  .toc-toggle {
    display: flex;
  }

  .toc-nav {
    display: none;
    padding: 4px 0 10px;
  }

  .toc-nav.is-open {
    display: block;
  }
}

[data-theme="dark"] .toc-sidebar-inner {
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .toc-link:hover {
  background: rgba(255,255,255,0.04);
  color: #c9d1d9;
}

[data-theme="dark"] .toc-link.is-active {
  color: #e6e6e6;
}

.post-body > p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 2rem;
}

.post-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #2c3547;
  margin-bottom: 1.75rem;
}

.post-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 3.5rem 0 1.25rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.post-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.75rem;
}

.post-body strong { color: var(--navy); font-weight: 700; }

.post-body ul,
.post-body ol {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.post-body li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2c3547;
  padding: 0.65rem 0 0.65rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.post-body li:first-child { border-top: 1px solid var(--border); }

.post-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 1px;
  background: var(--gold);
}

.post-body ol { counter-reset: oli; }
.post-body ol li { counter-increment: oli; }
.post-body ol li::before {
  content: counter(oli, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  top: 50%; transform: translateY(-50%);
  width: auto; height: auto; background: none;
}

.post-body a {
  color: var(--navy);
  border-bottom: 1px solid rgba(184,147,74,0.5);
  transition: color 0.2s, border-color 0.2s;
}
.post-body a:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
}

.post-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 3rem 0;
  background: var(--white);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.75;
}

/* Tables */
.post-body figure.wp-block-table,
.post-body .wp-block-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
}

.post-body table th {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.post-body table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  color: #2c3547;
  font-size: 0.95rem;
  line-height: 1.5;
  vertical-align: top;
}

.post-body table td:last-child {
  font-weight: 700;
  color: var(--navy);
}

.post-body table tr:last-child td { border-bottom: none; }

.post-body table tr:hover td { background: rgba(184,147,74,0.04); }

/* Post footer */
.post-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-footer-back {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s, gap 0.2s;
}
.post-footer-back:hover { color: var(--gold); gap: 1rem; }

/* ============================================
   PAGE - ARCHITEKCI
   ============================================ */

/* Hero */
.arch-hero {
  padding: 9rem 0 5rem;
  background: var(--navy);
  border-bottom: 1px solid rgba(245,243,240,0.08);
  position: relative;
  overflow: hidden;
}

.arch-hero::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(197,161,85,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.arch-hero-inner {
  border-left: 1px solid var(--gold);
  padding-left: 2rem;
  max-width: 680px;
  position: relative;
}

.arch-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.arch-hero-coord,
.arch-hero-ref {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,243,240,0.35);
}

.arch-hero-ref { color: var(--gold); }

.arch-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #f5f3f0;
  margin-bottom: 2rem;
}

.arch-hero-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245,243,240,0.6);
  margin-bottom: 1.25rem;
}

.arch-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 2rem 0 0.25rem;
}

.arch-hero-cta,
.arch-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.arch-hero-cta {
  padding: 0.75rem 1.15rem;
  background: #f5f3f0;
  border: 1px solid #f5f3f0;
  color: var(--navy);
}

.arch-hero-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

.arch-hero-secondary {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(245,243,240,0.22);
  color: rgba(245,243,240,0.76);
}

.arch-hero-secondary:hover {
  border-color: rgba(245,243,240,0.55);
  color: #fff;
}

.arch-notice {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(245,243,240,0.35);
  border-left: 2px solid rgba(245,243,240,0.12);
  padding-left: 1rem;
  margin-top: 2rem;
}

/* Section header */
.arch-section-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

/* Firms */
.arch-firms {
  padding: 5rem 0 5.5rem;
}

.arch-firms-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 0 3rem;
  align-items: start;
}

.arch-firms-with-sidebar .toc-sidebar {
  position: sticky;
  top: 100px;
  margin-top: 0;
}

.arch-firms-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.firm-card,
.firm-card * {
  box-sizing: border-box;
}

.firm-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 24, 38, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.firm-card:last-of-type { margin-bottom: 2rem; }

.firm-card:hover {
  border-color: rgba(181, 140, 76, 0.45);
  box-shadow: 0 14px 34px rgba(11, 24, 38, 0.08);
  transform: translateY(-1px);
}

/* Head - lewa kolumna */
.firm-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0;
  grid-column: 1;
  grid-row: 1;
}

.firm-card-head-left {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1 1 auto;
  min-width: fit-content;
}

.firm-num {
  display: none;
}

.firm-name {
  font-size: clamp(1.03rem, 1.2vw, 1.22rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
  margin: 0;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.firm-area {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Link button - prawa kolumna, wyrównany do góry */
.firm-link-btn {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 0.55rem 0.9rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.firm-link-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Body - pod nazwą, te same 2 kolumny siatki */
.firm-card-body {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 1rem 1.5rem;
  padding: 0.35rem 0 0;
}

.firm-details {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.firm-detail-row {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.58rem 0;
  border-top: 1px solid rgba(11, 24, 38, 0.08);
}

.firm-detail-row:first-child { border-top: none; }

.firm-details dt {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.firm-details dd {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--navy);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.firm-details dd a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(181, 140, 76, 0.35);
  text-underline-offset: 0.18em;
  transition: color 0.2s;
}

.firm-details dd a:hover { color: var(--gold); }

/* Opis - schowany, niepotrzebny w katalogu */
.firm-desc {
  align-self: start;
  margin: 0;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 2px solid rgba(181, 140, 76, 0.28);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.arch-firms-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  line-height: 1.7;
  background: #fff;
}

/* Guide */
.arch-guide {
  padding: 5rem 0;
  background: #f8f8f8;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.arch-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.arch-guide-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.arch-guide-block p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.arch-guide-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arch-guide-block li {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--navy);
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.arch-guide-block li:first-child { border-top: 1px solid var(--border); }

.arch-guide-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* Pricing CTA */
.arch-pricing-cta {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.arch-pricing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.arch-pricing-label {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.arch-pricing-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.arch-pricing-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Contact CTA */
.arch-contact-cta {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.arch-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}

.arch-cta-block {
  padding: 3rem;
  position: relative;
}

.arch-cta-block:first-child {
  border-right: 1px solid var(--border);
}

.arch-cta-num {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.arch-cta-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

.arch-cta-block p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* FAQ */
.arch-faq {
  padding: 5rem 0;
}

.arch-faq-list {
  max-width: 720px;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.faq-a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .arch-firms-with-sidebar { grid-template-columns: 1fr; }
  .arch-firms-with-sidebar .toc-sidebar { position: static; order: -1; }
  .firm-card-body { grid-template-columns: 1fr; }
  .firm-desc {
    padding: 0.9rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(11, 24, 38, 0.08);
  }
}

@media (max-width: 768px) {
  .arch-hero { padding: 7rem 0 3rem; }
  .arch-hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.5rem;
  }
  .arch-hero-cta,
  .arch-hero-secondary {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.78rem 0.9rem;
    text-align: center;
  }
  .arch-firms { padding: 3.5rem 0 4rem; }
  .arch-section-header { margin-bottom: 2rem; }
  .arch-firms-list { gap: 0.7rem; }
  .firm-card {
    grid-template-columns: 1fr;
    padding: 0.95rem;
    gap: 0.75rem;
    border-radius: 7px;
  }
  .firm-card:hover {
    box-shadow: 0 8px 24px rgba(11, 24, 38, 0.06);
    transform: none;
  }
  .firm-card-head {
    grid-column: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .firm-card-head-left {
    width: 100%;
    min-width: 0;
  }
  .firm-name {
    font-size: 1rem;
    line-height: 1.25;
  }
  .firm-area {
    font-size: 0.66rem;
    line-height: 1.35;
  }
  .firm-card-body {
    gap: 0;
    padding-top: 0.15rem;
  }
  .firm-link-btn {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    min-height: 2.6rem;
    padding: 0.58rem 0.75rem;
    white-space: normal;
    text-align: center;
  }
  .firm-details { gap: 0; }
  .firm-detail-row {
    grid-template-columns: 1fr;
    gap: 0.18rem;
    padding: 0.55rem 0;
  }
  .firm-details dt { font-size: 0.6rem; }
  .firm-details dd { font-size: 0.92rem; }
  .firm-desc { display: none; }
  .arch-guide-grid { grid-template-columns: 1fr; gap: 3rem; }
  .arch-pricing-inner { flex-direction: column; align-items: flex-start; }
  .arch-cta-grid { grid-template-columns: 1fr; }
  .arch-cta-block:first-child { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ============================================
   FOOTER V2
   ============================================ */
.site-footer-v2 {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-v2-top {
  padding: 4rem 0;
}

.footer-v2-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
}

.footer-v2-wordmark {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.footer-v2-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: none;
}

.footer-v2-logo img {
  display: block;
  width: 128px;
  height: auto;
}

.footer-v2-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 280px;
}

.footer-v2-heading {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-v2-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-v2-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.35rem 0;
  display: inline-block;
  transition: color 0.2s;
  border-bottom: none;
}

.footer-v2-links a:hover { color: var(--gold-dark); }

.footer-v2-bottom {
  border-top: 1px solid var(--border);
  padding: 1.375rem 0;
}

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

.footer-v2-copy {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}

.footer-v2-credit {
  font-size: 0.78rem;
  color: var(--text);
}

.footer-v2-credit a {
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.footer-v2-credit a:hover {
  color: var(--navy);
  border-color: var(--border);
}

/* Floating page navigation */
.page-jump {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 980;
  display: grid;
  grid-template-columns: minmax(0, auto) 2.75rem 2.75rem;
  gap: 0.45rem;
  align-items: end;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-jump.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page-jump-current {
  align-self: center;
  max-width: 230px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(15,25,35,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(15,25,35,0.1);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-jump-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15,25,35,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  box-shadow: 0 12px 34px rgba(15,25,35,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-jump-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

.page-jump-menu-btn {
  flex-direction: column;
  gap: 4px;
}

.page-jump-menu-btn span {
  width: 1rem;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.page-jump-top-btn {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.page-jump-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(310px, calc(100vw - 2.5rem));
  padding: 0.75rem;
  border: 1px solid rgba(15,25,35,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(15,25,35,0.16);
}

.page-jump-title {
  margin: 0 0 0.45rem;
  padding: 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-jump-nav {
  display: grid;
  gap: 0.15rem;
}

.page-jump-link {
  display: block;
  padding: 0.62rem 0.7rem;
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  border-bottom: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-jump-link:hover,
.page-jump-link.is-active {
  background: rgba(181,140,76,0.12);
  color: var(--navy);
}

@media (max-width: 768px) {
  .page-jump {
    right: 0.9rem;
    bottom: 0.9rem;
    grid-template-columns: 2.75rem 2.75rem;
  }

  .page-jump-current {
    display: none;
  }

  .page-jump-panel {
    width: min(300px, calc(100vw - 1.8rem));
  }
}

/* ============================================
   TOPICS - najczęściej szukane tematy
   ============================================ */
.topics-section {
  padding: 5rem 0;
  background: var(--offwhite);
}

.topics-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.topics-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.topic-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.topic-num {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.topic-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.topic-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.topic-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 0.5rem;
}

.topic-card:hover .topic-cta { color: var(--gold); }

@media (max-width: 900px) {
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .topics-grid { grid-template-columns: 1fr; }
}

[data-theme="dark"] .topics-section { background: #0c1117; }
[data-theme="dark"] .topic-card { background: #161b22; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .topic-card:hover { border-color: var(--gold); }
[data-theme="dark"] .topic-title { color: #e6e6e6; }
[data-theme="dark"] .topic-cta { color: #c9d1d9; }

/* ============================================
   INVESTOR - na jakim etapie jesteś
   ============================================ */
.investor-section {
  padding: 5rem 0;
  background: var(--navy);
}

.investor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.investor-text .section-title { color: var(--offwhite); }

.investor-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245,243,240,0.6);
  margin-top: 0.75rem;
}

.investor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.investor-list li {
  border-top: 1px solid rgba(245,243,240,0.1);
  padding: 0;
}

.investor-list li:last-child {
  border-bottom: 1px solid rgba(245,243,240,0.1);
}

.investor-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  font-size: 0.95rem;
  color: rgba(245,243,240,0.7);
  text-decoration: none;
  transition: color 0.15s;
}

.investor-list a:hover { color: var(--offwhite); }

.investor-list .inv-highlight { color: var(--gold) !important; font-weight: 600; }
.investor-list .inv-highlight:hover { color: #e8c84a !important; }

.inv-arrow {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .investor-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   SEKCJA LEAD NA /architekci/
   ============================================ */
.arch-lead-section {
  padding: 5rem 0;
  background: var(--navy);
}

.arch-lead-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.arch-lead-text .section-title { color: var(--offwhite); }
.arch-lead-text .section-eyebrow span { color: var(--gold); }

.arch-lead-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 1rem;
}

/* ============================================
   FORMULARZ LEADOWY
   ============================================ */
.lead-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  border: 1.5px solid rgba(15,25,35,0.08);
}

.lead-msg {
  padding: 0.875rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
}

.lead-msg--ok  { background: #e8f5e9; color: #2e7d32; }
.lead-msg--err { background: #fdecea; color: #c62828; }

.lead-form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.lead-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(15,25,35,0.45);
  margin-bottom: 8px;
}

.lead-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(15,25,35,0.15);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.lead-input::placeholder { color: rgba(15,25,35,0.35); }
.lead-input:focus { border-color: var(--navy); }
.lead-textarea { resize: vertical; min-height: 110px; }
select.lead-input { cursor: pointer; color: var(--navy); }
select.lead-input option[value=""] { color: rgba(15,25,35,0.35); }

.lead-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
}

.lead-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.lead-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  background: var(--navy);
  color: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.lead-submit:hover { transform: scale(1.015); opacity: 0.88; }

.lead-form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex-direction: unset;
}
.lead-form-row--2col > div { display: flex; flex-direction: column; }

.lead-hint {
  font-size: 11px;
  color: rgba(15,25,35,0.35);
  margin: -12px 0 14px;
  line-height: 1.4;
}

.lead-optional {
  font-size: 11px;
  font-weight: 400;
  color: rgba(15,25,35,0.35);
  letter-spacing: 0;
  text-transform: none;
}

.lead-form-row--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 14px;
}

.lead-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
  line-height: 1.5;
}

.lead-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.lead-check-label a { color: var(--navy); text-decoration: underline; }

@media (max-width: 540px) {
  .lead-form-row--2col { grid-template-columns: 1fr; }
}

[data-theme="dark"] .lead-hint { color: rgba(255,255,255,0.25); }
[data-theme="dark"] .lead-optional { color: rgba(255,255,255,0.25); }
[data-theme="dark"] .lead-check-label { color: #c9d1d9; }
[data-theme="dark"] .lead-check-label a { color: #c9d1d9; }

/* ============================================
   MULTI-STEP FORM
   ============================================ */

/* Track switcher */
.msf-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.msf-switch-btn {
  padding: 12px 10px;
  background: transparent;
  border: none;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: background 0.15s, color 0.15s;
}

.msf-switch-btn + .msf-switch-btn {
  border-left: 1.5px solid var(--border);
}

.msf-switch-sub {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.65;
}

.msf-switch-active {
  background: var(--navy);
  color: #fff;
}

.msf-switch-active .msf-switch-sub { opacity: 0.7; }

/* Track containers */
.msf-track { display: none; }
.msf-track--active { display: block; }

/* Progress bar */
.msf-progress--hidden { display: none !important; }

.msf-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}

.msf-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.msf-step-dot.msf-active {
  background: var(--navy);
  border-color: var(--navy);
}

.msf-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: background 0.3s;
}

.msf-step-line.msf-done {
  background: var(--navy);
}

/* Steps */
.msf-step {
  display: none;
}

.msf-step--active {
  display: block;
}

.msf-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.msf-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* Service cards */
.msf-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.msf-service-box {
  display: flex;
  cursor: pointer;
}

.msf-service-box input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.msf-service-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 1rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  line-height: 1.3;
}

.msf-service-box:hover .msf-service-label {
  border-color: var(--navy);
}

.msf-service-box.msf-selected .msf-service-label {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* Navigation row */
.msf-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.msf-btn-prev {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.msf-btn-prev:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.msf-nav .lead-submit {
  flex: 1;
  margin-top: 0;
}

@media (max-width: 540px) {
  .msf-services-grid { grid-template-columns: 1fr 1fr; }
  .msf-nav { flex-direction: column-reverse; }
}

[data-theme="dark"] .msf-switcher { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .msf-switch-btn { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .msf-switch-btn + .msf-switch-btn { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .msf-switch-active { background: var(--gold); color: #0f1923; }

[data-theme="dark"] .msf-step-dot { background: #161b22; border-color: rgba(255,255,255,0.15); }
[data-theme="dark"] .msf-step-dot.msf-active { background: var(--gold); border-color: var(--gold); }
[data-theme="dark"] .msf-step-line { background: rgba(255,255,255,0.1); }
[data-theme="dark"] .msf-step-line.msf-done { background: var(--gold); }
[data-theme="dark"] .msf-title { color: #e6e6e6; }
[data-theme="dark"] .msf-service-label { background: #161b22; border-color: rgba(255,255,255,0.1); color: #c9d1d9; }
[data-theme="dark"] .msf-service-box:hover .msf-service-label { border-color: rgba(255,255,255,0.4); }
[data-theme="dark"] .msf-service-box.msf-selected .msf-service-label { background: var(--gold); border-color: var(--gold); color: #0f1923; }
[data-theme="dark"] .msf-btn-prev { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.4); }
[data-theme="dark"] .msf-btn-prev:hover { border-color: rgba(255,255,255,0.5); color: #c9d1d9; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .blog-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .blog-hero-desc { max-width: 100%; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-step,
  .hiw-step:not(:first-child) { padding: 1.25rem; }
  .hiw-step,
  .hiw-step:last-child {
    border: 1px solid rgba(245,243,240,0.1);
    border-radius: 8px;
  }
  .footer-v2-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-v2-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .blog-hero { padding: 7rem 0 3rem; }
  .blog-hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .post-list-link {
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0;
  }
  .pli-meta { display: none; }
  .post-hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .post-body { padding: 0 0.25rem; }
  .post-body h2 { font-size: 1.35rem; }
  .footer-v2-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-v2-bottom-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-dev-card {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .arch-lead-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero--cinematic { min-height: 58vh; padding: 100px 0 48px; }
  .hero--cinematic .hero-overlay {
    background: linear-gradient(0deg, rgba(15,25,35,0.92) 0%, rgba(15,25,35,0.62) 54%, rgba(15,25,35,0.32) 100%);
  }
  .hero-title {
    font-size: clamp(2.4rem, 11vw, 4.2rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em;
  }
  .hero-meta-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hero-mark--tl { top: 0.75rem; left: 0.75rem; }
  .hero-mark--tr { top: 0.75rem; right: 0.75rem; }
  .hero-mark--bl { bottom: 0.75rem; left: 0.75rem; }
  .hero-mark--br { bottom: 0.75rem; right: 0.75rem; }
  .hero-bottom { bottom: 4rem; }

  .section-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .section-intro .view-all { font-size: 0.8rem; }

  /* Mobile nav - slide in from right */
  .nav-menu {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 80vw;
    max-width: 320px;
    background: #fff;
    padding: 5rem 2.5rem 3rem;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transform: translateX(110%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
    z-index: 9999;
    overflow-x: hidden;
  }
  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  }
  .nav-menu a {
    font-size: 1.1rem;
    font-weight: 500;
  }
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.nav-menu { margin-left: auto; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1.25rem;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.site-header.scrolled .theme-toggle { border-color: rgba(15,25,35,0.3); color: var(--navy); }
.site-header.scrolled .theme-toggle:hover { border-color: var(--navy); background: rgba(15,25,35,0.06); }

/* show sun in light mode, moon in dark */
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }

@media (max-width: 768px) {
  .nav-right { gap: 0.625rem; }
  .theme-toggle { width: 34px; height: 34px; }
}

/* ============================================
   DARK MODE
   ============================================ */

/*
  Nie nadpisujemy --offwhite, --white, --navy ani --gold.
  --offwhite jest używany jako kolor TEKSTU w ciemnych sekcjach
  (HIW, arch-lead-section) - zmiana go ciemnym złamałaby te sekcje.
  Nadpisujemy tylko --text, --text-muted i --border.
*/
[data-theme="dark"] {
  --text:      #c9d1d9;
  --text-muted:#7d8590;
  --border:    rgba(230, 237, 243, 0.1);
}

/* Body */
[data-theme="dark"] body { background: #0c1117 !important; color: #c9d1d9; }

/* Sekcje z białym tłem → ciemne */
[data-theme="dark"] .latest-posts,
[data-theme="dark"] .site-footer-v2,
[data-theme="dark"] .arch-hero,
[data-theme="dark"] .arch-firms,
[data-theme="dark"] .arch-pricing-cta,
[data-theme="dark"] .arch-contact-cta,
[data-theme="dark"] .arch-faq,
[data-theme="dark"] .blog-page,
[data-theme="dark"] .post-body-wrap,
[data-theme="dark"] .archive-hero,
[data-theme="dark"] .topic-strip { background: #0c1117 !important; }

[data-theme="dark"] .arch-guide { background: #161b22 !important; }

/* Header */
[data-theme="dark"] .site-header { background: transparent !important; }
[data-theme="dark"] .site-header.scrolled {
  background: rgba(12,17,23,0.94) !important;
  box-shadow: 0 1px 0 rgba(230,237,243,0.08);
}

/* Logo - zawsze białe w dark */
[data-theme="dark"] .site-logo img,
[data-theme="dark"] .site-logo-img,
[data-theme="dark"] .site-header.scrolled .site-logo img,
[data-theme="dark"] .site-header.scrolled .site-logo-img { filter: invert(1) !important; }

/* Nav scrolled - białe linki */
[data-theme="dark"] .site-header.scrolled .nav-menu a { color: rgba(255,255,255,0.8) !important; }
[data-theme="dark"] .site-header.scrolled .nav-menu a:not(.nav-cta):hover { color: var(--gold) !important; }
[data-theme="dark"] .site-header.scrolled .nav-menu .nav-cta { border-color: rgba(255,255,255,0.4) !important; color: rgba(255,255,255,0.8) !important; }
[data-theme="dark"] .site-header.scrolled .nav-menu .nav-cta:hover { background: rgba(255,255,255,0.1) !important; color: #fff !important; border-color: rgba(255,255,255,0.7) !important; }
[data-theme="dark"] .site-header.scrolled .theme-toggle { border-color: rgba(255,255,255,0.35) !important; color: #fff !important; }
[data-theme="dark"] .site-header.scrolled .theme-toggle:hover { border-color: #fff !important; background: rgba(255,255,255,0.1) !important; }
[data-theme="dark"] .site-header.scrolled .nav-toggle span { background: #fff !important; }

/* Mobile nav drawer - tylko na mobile */
@media (max-width: 768px) {
  [data-theme="dark"] .nav-menu { background: #161b22 !important; }
}
[data-theme="dark"] .nav-menu a { color: #fff !important; }

/* ---- TYPOGRAFIA ---- */

/* Nagłówki sekcji w jasnych obszarach */
[data-theme="dark"] .section-title { color: #c9d1d9; }
[data-theme="dark"] .view-all { color: #c9d1d9; }
[data-theme="dark"] .view-all:hover { color: var(--gold); }

/* Homepage - karty artykułów */
[data-theme="dark"] .post-featured { background: #161b22; }
[data-theme="dark"] .post-card { background: #161b22; }
[data-theme="dark"] .post-featured-image,
[data-theme="dark"] .post-card-image,
[data-theme="dark"] .post-cover { background: #1c2128; }
[data-theme="dark"] .post-featured:hover,
[data-theme="dark"] .post-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.35); }

[data-theme="dark"] .post-featured-title a,
[data-theme="dark"] .post-card-title a { color: #c9d1d9; }
[data-theme="dark"] .post-featured-title a:hover,
[data-theme="dark"] .post-card-title a:hover { color: var(--gold); }
[data-theme="dark"] .post-featured-excerpt,
[data-theme="dark"] .post-card-excerpt { color: #7d8590; }
[data-theme="dark"] .post-read-link { color: #c9d1d9; }
[data-theme="dark"] .post-read-link:hover { color: var(--gold); }
[data-theme="dark"] .post-date { color: #7d8590; }
[data-theme="dark"] .post-index { color: var(--gold); }

/* Blog lista */
[data-theme="dark"] .blog-hero-title { color: #c9d1d9; }
[data-theme="dark"] .blog-issue { color: #7d8590; }
[data-theme="dark"] .blog-hero-desc { color: #7d8590; }
[data-theme="dark"] .blog-count { color: #7d8590; }
[data-theme="dark"] .pli-title { color: #c9d1d9; }
[data-theme="dark"] .post-list-link:hover .pli-title { color: var(--gold); }
[data-theme="dark"] .pli-excerpt { color: #7d8590; }
[data-theme="dark"] .pli-date { color: #7d8590; }
[data-theme="dark"] .pli-arrow { color: #c9d1d9; border-color: rgba(230,237,243,0.12); }
[data-theme="dark"] .post-list-link:hover .pli-arrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff; }

/* Single post */
[data-theme="dark"] .post-body > p:first-of-type { color: #c9d1d9; }
[data-theme="dark"] .post-body h2,
[data-theme="dark"] .post-body h3 { color: #c9d1d9; }
[data-theme="dark"] .post-body strong { color: #c9d1d9; }
[data-theme="dark"] .post-body p,
[data-theme="dark"] .post-body li { color: #8b949e; }
[data-theme="dark"] .post-body table td { color: #8b949e; }
[data-theme="dark"] .post-body table td:last-child { color: #c9d1d9; }
[data-theme="dark"] .post-body a { color: #a8c0d8; border-bottom-color: rgba(168,192,216,0.3); }
[data-theme="dark"] .post-body a:hover { color: var(--gold); border-bottom-color: var(--gold); }
[data-theme="dark"] .post-body blockquote { background: #161b22; color: #c9d1d9; }
[data-theme="dark"] .post-footer-back { color: #c9d1d9; }
[data-theme="dark"] .post-footer-back:hover { color: var(--gold); }

/* Strona architekci */
[data-theme="dark"] .arch-hero-title { color: #c9d1d9; }
[data-theme="dark"] .arch-hero-lead { color: #7d8590; }
[data-theme="dark"] .arch-notice { color: #7d8590; border-left-color: rgba(230,237,243,0.15); }
[data-theme="dark"] .firm-name { color: #c9d1d9; }
[data-theme="dark"] .firm-details dd { color: #c9d1d9; }
[data-theme="dark"] .firm-details dd a { color: #c9d1d9; }
[data-theme="dark"] .firm-link-btn { color: #c9d1d9; border-color: rgba(230,237,243,0.15); }
[data-theme="dark"] .firm-link-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); color: #fff; }
[data-theme="dark"] .arch-guide-block h2 { color: #c9d1d9; }
[data-theme="dark"] .arch-guide-block li { color: #c9d1d9; }
[data-theme="dark"] .arch-pricing-text h2 { color: #c9d1d9; }
[data-theme="dark"] .arch-cta-block h3 { color: #c9d1d9; }
[data-theme="dark"] .faq-q { color: #c9d1d9; }

/* Footer dev notice */
.footer-dev-notice {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  background: #fafafa;
}
.footer-dev-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  max-width: 900px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.footer-dev-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.footer-dev-text {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
}
.footer-dev-text a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.footer-dev-text a:hover { color: var(--gold); border-color: var(--gold); }

[data-theme="dark"] .footer-dev-notice { background: #0c1117; }
[data-theme="dark"] .footer-dev-card { background: #161b22; border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .footer-dev-text { color: #7d8590; }
[data-theme="dark"] .footer-dev-text a { color: #7d8590; }
[data-theme="dark"] .footer-dev-text a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .footer-dev-card {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* Footer */
[data-theme="dark"] .footer-v2-wordmark { color: #c9d1d9; }
[data-theme="dark"] .footer-v2-logo img { filter: invert(1); }
[data-theme="dark"] .footer-v2-links a { color: #c9d1d9; }
[data-theme="dark"] .footer-v2-links a:hover { color: var(--gold); }
[data-theme="dark"] .footer-v2-copy,
[data-theme="dark"] .footer-v2-credit { color: #7d8590; }
[data-theme="dark"] .footer-v2-credit a { color: #7d8590; }
[data-theme="dark"] .footer-v2-credit a:hover { color: #c9d1d9; }

[data-theme="dark"] .page-jump-current,
[data-theme="dark"] .page-jump-btn,
[data-theme="dark"] .page-jump-panel {
  background: rgba(22,27,34,0.92);
  border-color: rgba(255,255,255,0.1);
  color: #c9d1d9;
}

[data-theme="dark"] .page-jump-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}

[data-theme="dark"] .page-jump-link { color: #c9d1d9; }
[data-theme="dark"] .page-jump-link:hover,
[data-theme="dark"] .page-jump-link.is-active {
  background: rgba(181,140,76,0.18);
  color: #fff;
}

/* Formularz */
[data-theme="dark"] .lead-form-wrap { background: #1c2128; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .lead-input { background: #161b22; border-color: rgba(255,255,255,0.1); color: #c9d1d9; }
[data-theme="dark"] .lead-input:focus { border-color: rgba(255,255,255,0.4); }
[data-theme="dark"] .lead-input::placeholder { color: rgba(255,255,255,0.22); }
[data-theme="dark"] .lead-label { color: rgba(255,255,255,0.4); }
[data-theme="dark"] select.lead-input { color: #c9d1d9; }

/* Topic strip */
[data-theme="dark"] .topic-link { color: #c9d1d9; border-color: rgba(230,237,243,0.1); }
[data-theme="dark"] .topic-link:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: #fff; }

/*
  Sekcje już ciemne - bez zmian:
  - .hero--cinematic (ciemne zdjęcie + overlay)
  - .index-band (navy)
  - .hiw-section (navy gradient)
  - .post-hero (navy)
  - .arch-lead-section (navy)
*/

/* ============================================
   PAGE - KONTAKT (zgłoś zmianę danych)
   ============================================ */

.kontakt-page {
  padding: 5rem 0 7rem;
}

.kontakt-wrap {
  max-width: 600px;
}

.kontakt-intro {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.kontakt-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.kontakt-msg {
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid;
}

.kontakt-msg--ok {
  background: #f0faf4;
  border-color: #2e9c5a;
  color: #1e6b3c;
}

.kontakt-msg--err {
  background: #fff5f5;
  border-color: #e05555;
  color: #a33;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kontakt-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kontakt-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.kontakt-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.9rem;
  color: var(--navy);
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.kontakt-input:focus {
  border-color: var(--navy);
}

.kontakt-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   SYSTEM OCEN — AggregateRating
   ============================================ */
.wf-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem 0.55rem 0.75rem;
  margin-bottom: 1.5rem;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1;
}

.wf-rating-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.wf-stars {
  display: inline-flex;
  gap: 1px;
}

.wf-star {
  font-size: 0.95rem;
  line-height: 1;
}

.wf-star--full  { color: var(--gold); }
.wf-star--half  { color: var(--gold); opacity: 0.55; }
.wf-star--empty { color: var(--border); }

.wf-rating-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

[data-theme="dark"] .wf-rating {
  background: rgba(212,175,55,0.07);
  border-color: rgba(212,175,55,0.18);
}
[data-theme="dark"] .wf-rating-value { color: #c9d1d9; }
[data-theme="dark"] .wf-star--empty  { color: rgba(255,255,255,0.12); }
