/* ============================================================
   GANES — meble na wymiar
   Wspólny arkusz stylów (ciemny, nowoczesny, premium)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:            #0d0d0f;
  --bg-soft:       #131317;
  --surface:       #18181d;
  --surface-2:     #1f1f26;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text:          #f3f1ec;
  --text-muted:    #a4a29b;
  --text-faint:    #6e6c66;

  --accent:        #c8a063;   /* mosiądz / złamane złoto */
  --accent-hi:     #e0bd83;
  --accent-soft:   rgba(200, 160, 99, 0.12);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

p { color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 5vw, 3rem);
}

section { padding-block: clamp(4.5rem, 9vw, 8rem); }

.section-head { max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head p { margin-top: 1.2rem; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #1a1408; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Header / nawigacja
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand .dot { color: var(--accent); }
.brand small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 400;
  margin-left: -0.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 0.6rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(200,160,99,0.10), transparent 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(200,160,99,0.06), transparent 50%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { margin: 1.6rem 0 1.8rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 540px;
  margin-bottom: 2.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: 2.4rem;
  border-top: 1px solid var(--border);
}
.hero-stats .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--text);
  line-height: 1;
}
.hero-stats .num span { color: var(--accent); }
.hero-stats .lbl { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.4rem; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.scroll-hint .line {
  width: 1px; height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrolldown 2.2s var(--ease) infinite;
}
@keyframes scrolldown {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   Placeholder media (zamiast zdjęć)
   ============================================================ */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 90% at 70% 10%, rgba(200,160,99,0.16), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 14px, transparent 14px 28px);
  z-index: -1;
}
.ph .ph-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(200,160,99,0.4);
}
.ph .ph-icon svg { width: 46px; height: 46px; }
.ph .ph-label {
  position: relative;
  padding: 1.1rem 1.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: linear-gradient(transparent, rgba(13,13,15,0.85));
  width: 100%;
}
.ph .ph-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(13,13,15,0.6);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  z-index: 2;
}

/* ============================================================
   Oferta (kategorie)
   ============================================================ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}
.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}
.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.offer-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.offer-card:hover::after { opacity: 1; }
.offer-card .ic {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.offer-card .ic svg { width: 26px; height: 26px; }
.offer-card h3 { margin-bottom: 0.6rem; }
.offer-card p { font-size: 0.95rem; }
.offer-card .num-badge {
  position: absolute;
  top: 1.6rem; right: 1.8rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-faint);
}

/* ============================================================
   Proces
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), transparent);
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.92rem; }

/* ============================================================
   Split (obraz + tekst)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { aspect-ratio: 4/5; }
.split-body .eyebrow { margin-bottom: 1.2rem; }
.split-body h2 { margin-bottom: 1.4rem; }
.split-body p + p { margin-top: 1.1rem; }
.feature-list { margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.feature-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.98rem;
}
.feature-list .chk {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-top: 2px;
}
.feature-list .chk svg { width: 12px; height: 12px; }

/* ============================================================
   Galeria realizacji
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.6rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #1a1408; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: opacity 0.5s, transform 0.5s var(--ease);
}
.gallery-item.tall { aspect-ratio: 3/4; }
.gallery-item .ph { width: 100%; height: 100%; }
.gallery-item .ph-icon { transition: transform 0.6s var(--ease); }
.gallery-item:hover .ph-icon { transform: scale(1.08); }
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item.hide { display: none; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-band {
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(200,160,99,0.14), transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band p { max-width: 520px; margin: 0 auto 2.4rem; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================================
   O nas — wartości
   ============================================================ */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.value {
  padding: 1.8rem;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, var(--surface), transparent);
}
.value h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.value p { font-size: 0.94rem; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info .info-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .info-item:first-child { padding-top: 0; }
.contact-info .ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.contact-info .ic svg { width: 20px; height: 20px; }
.contact-info .info-item h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.3rem; font-weight: 600; }
.contact-info .info-item p { color: var(--text); }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-faint);
  text-align: center;
}
.form-success {
  display: none;
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(200,160,99,0.3);
  color: var(--accent-hi);
  font-size: 0.9rem;
  text-align: center;
}
.form-success.show { display: block; }

.map-ph { margin-top: 1.6rem; aspect-ratio: 16/7; }

/* ============================================================
   Page hero (podstrony)
   ============================================================ */
.page-hero {
  padding-top: calc(78px + clamp(3.5rem, 8vw, 6rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 80% 0%, rgba(200,160,99,0.08), transparent 60%);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 1.2rem; }
.page-hero p { max-width: 560px; font-size: 1.05rem; }
.breadcrumb { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.92rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { font-size: 0.92rem; color: var(--text-muted); transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.socials { display: flex; gap: 0.8rem; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: all 0.3s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-hint .line { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(13,13,15,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1rem clamp(1.2rem, 5vw, 3rem) 2rem;
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease);
    height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav-links .nav-cta { margin: 1rem 0 0; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 1.6rem 2.4rem; }
}

/* ============================================================
   BLOG / PORADNIK (SEO)
   ============================================================ */

/* --- Index bloga --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.6rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.post-card .ph { aspect-ratio: 16/9; border: 0; border-radius: 0; }
.post-card .post-body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.post-card .post-cat {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 0.8rem;
}
.post-card h3 { font-size: 1.35rem; line-height: 1.18; margin-bottom: 0.7rem; }
.post-card p { font-size: 0.92rem; margin-bottom: 1.3rem; }
.post-card .post-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-faint);
}
.post-card .read-more { color: var(--accent); font-weight: 500; }
.post-card.featured { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .post-card.featured { flex-direction: row; }
  .post-card.featured .ph { aspect-ratio: auto; width: 46%; min-height: 320px; }
  .post-card.featured .post-body { padding: 2.6rem; justify-content: center; }
  .post-card.featured h3 { font-size: 2rem; }
  .post-card.featured p { font-size: 1rem; }
}

/* --- Artykuł --- */
.article-hero {
  padding-top: calc(78px + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
}
.article-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 100% at 80% 0%, rgba(200,160,99,0.08), transparent 60%);
}
.article-hero .container { position: relative; z-index: 1; max-width: 820px; }
.article-hero .post-cat {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.article-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 1.1rem 0 1.3rem; }
.article-hero .lead { font-size: 1.15rem; color: var(--text-muted); max-width: 680px; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center;
  margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-faint);
}
.post-meta .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-faint); }

.article-cover { max-width: 980px; margin: 0 auto; padding-inline: clamp(1.2rem, 5vw, 3rem); }
.article-cover .ph { aspect-ratio: 21/9; }

.prose {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 5vw, 3rem);
}
.prose > * + * { margin-top: 1.3rem; }
.prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-top: 3rem; padding-top: 0.4rem;
}
.prose h3 { font-size: 1.3rem; margin-top: 2rem; }
.prose p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent-hi); }
.prose ul, .prose ol { padding-left: 1.3rem; color: var(--text-muted); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-top: 0.7rem; line-height: 1.7; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg);
}
.prose ol { padding-left: 1.4rem; }
.prose ol li { margin-top: 0.7rem; line-height: 1.7; padding-left: 0.3rem; }
.prose ol li::marker { color: var(--accent); font-family: var(--font-display); font-weight: 600; }
.prose blockquote {
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, var(--surface), transparent);
  padding: 1.2rem 1.6rem; border-radius: 0 8px 8px 0;
  font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--text);
}
.prose .callout {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.7rem;
}
.prose .callout h4 { font-family: var(--font-body); font-size: 0.95rem; color: var(--accent); margin-bottom: 0.6rem; }
.prose .callout p { font-size: 0.96rem; margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose table th, .prose table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); }
.prose table th { color: var(--text); font-weight: 600; font-family: var(--font-body); background: var(--surface); }
.prose table td { color: var(--text-muted); }

/* --- FAQ (FAQPage schema) --- */
.faq { max-width: 760px; margin-inline: auto; padding-inline: clamp(1.2rem, 5vw, 3rem); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.3rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1;
  transition: transform 0.3s var(--ease); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 1.4rem; color: var(--text-muted); line-height: 1.75; font-size: 1rem; }

/* --- Spis treści --- */
.toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.7rem;
}
.toc h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.toc ul { display: grid; gap: 0.6rem; }
.toc a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.3s; }
.toc a:hover { color: var(--accent); }

/* --- Powiązane wpisy --- */
.related { border-top: 1px solid var(--border); }
.author-box {
  max-width: 760px; margin-inline: auto; padding-inline: clamp(1.2rem, 5vw, 3rem);
  display: flex; gap: 1.3rem; align-items: center;
  padding-block: 2rem; margin-top: 2.5rem; border-top: 1px solid var(--border);
}
.author-box .avatar {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  border: 1px solid var(--border);
}
.author-box .a-name { color: var(--text); font-weight: 600; }
.author-box .a-role { font-size: 0.88rem; color: var(--text-faint); }

/* ============================================================
   OBSZAR DZIAŁANIA (lokalne SEO)
   ============================================================ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}
.area-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-weight: 500; font-size: 1rem;
  transition: transform 0.4s var(--ease), border-color 0.3s, color 0.3s;
}
.area-grid a span { color: var(--text-faint); font-size: 0.82rem; font-weight: 400; }
.area-grid a:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }
.area-grid a:hover span { color: var(--accent); }
.area-grid .area-more {
  grid-column: 1 / -1; justify-content: center;
  background: transparent; border-style: dashed; color: var(--text-muted); font-weight: 400;
}

/* lista miejscowości na stronie obszaru */
.town-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem;
}
.town-list a, .town-list .town-static {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.1rem 1.4rem; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text); transition: all 0.3s;
}
.town-list a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.town-list .km { color: var(--text-faint); font-size: 0.82rem; }
.town-list a:hover .km { color: var(--accent); }
.town-list .muted { opacity: 0.65; cursor: default; }

/* Zdjęcia realizacji */
.foto{position:relative;width:100%;height:100%;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);margin:0}
.foto video{width:100%;height:100%;object-fit:cover;display:block}
.foto img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s var(--ease)}
.gallery-item:hover .foto img,.split-media:hover .foto video{width:100%;height:100%;object-fit:cover;display:block}
.foto img{transform:scale(1.04)}
.foto .ph-tag{position:absolute;top:1rem;left:1rem;font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);background:rgba(13,13,15,.6);border:1px solid var(--border);padding:.3rem .7rem;border-radius:100px;z-index:2}
