/* ================================================================
   WOODAN — Design System v3  "Słoje — Rings of Time"
   Fonty: Cormorant Garamond (display) + Jost (body)
   ================================================================ */

:root {
  /* Ciemne tła — grafit/kamień zamiast wszechobecnego brązu */
  --void:       #1A1B1D;
  --bark:       #232427;
  --forest:     #1F2022;
  --grain:      #33353A;
  /* Akcent — drewno (zostaje, ale używane oszczędniej) */
  --oak:        #BC864E;
  --oak-hi:     #D49E64;
  --straw:      #E2C990;
  /* Jasne tła i tekst — ciepły kamień/greige */
  --parchment:  #F1EEE7;
  --sand:       #E4E0D6;
  --warm-white: #F2EFE8;
  --mist:       #9A958C;
  --charcoal:   #21221F;
  --page-bg:    #F5F3EE;
  /* Jeden kolor tekstu opisów — osobno dla jasnych i ciemnych teł */
  --text-on-light: #6E6961;
  --text-on-dark:  rgba(242,232,212,0.72);
  /* Jedna wspólna szerokość treści — spójna, wyśrodkowana siatka */
  --content-w:  1240px;
  /* Spójny język zaokrągleń */
  --radius-card: 16px;
  --radius-btn:  9px;
  --card-shadow: 0 30px 80px -50px rgba(0,0,0,0.5);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--oak); }

body {
  font-family: 'Jost', sans-serif;
  background-color: var(--page-bg);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

.display, h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.05;
}
h3, h4, label, .label {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 500;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* ================================================================
   PASEK POSTĘPU
   ================================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--oak), var(--straw));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ================================================================
   REVEAL ANIMACJE
   ================================================================ */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
              transform 1s cubic-bezier(0.16,1,0.3,1);
}
.reveal       { transform: translateY(60px); }
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.46s; }

/* ================================================================
   HEADER
   ================================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 30px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.4s, background 0.4s, box-shadow 0.4s;
}
#site-header.solid {
  padding: 16px 6%;
  background: rgba(22,23,25,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(184,131,76,0.15);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--warm-white);
  letter-spacing: 7px;
  text-transform: uppercase;
 
}
.nav-logo em { font-style: normal; color: var(--oak); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(242,232,212,0.72);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
 
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--oak);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--warm-white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  color: var(--void) !important;
  background: var(--oak);
  padding: 10px 20px !important;
  letter-spacing: 2px !important;
  border-radius: 100px !important;
  transition: background 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--oak-hi) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  /* cel dotykowy min. 44x44px — margines ujemny nie powiększa pilla */
  padding: 16px 10px;
  margin: -12px -6px;
  z-index: 10002;   /* nad pełnoekranowym menu (10000) — X musi być klikalny */
}
.hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--warm-white);
  transition: all 0.35s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ================================================================
   HERO V3 — "SŁOJE"
   ================================================================ */
.hero-v3 {
  position: relative;
  min-height: 100svh;
  background-color: var(--void);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Grain overlay */
.hv3-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

/* SVG słoje — centered */
.hv3-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: min(720px, 95vw);
  height: min(720px, 95vw);
  pointer-events: none;
  z-index: 0;
  animation: rings-breathe 12s ease-in-out infinite;
}
@keyframes rings-breathe {
  0%,100% { transform: translate(-50%,-52%) scale(1) rotate(0deg); opacity: 0.75; }
  50%      { transform: translate(-50%,-52%) scale(1.03) rotate(1.5deg); opacity: 1; }
}

/* Centralny blask */
.hv3-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(184,131,76,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { opacity: 0.5; transform: translate(-50%,-52%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%,-52%) scale(1.3); }
}

/* Górny pasek danych */
.hv3-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 110px 7% 0;
  font-size: 0.58rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(242,232,212,0.18);
  font-weight: 500;
}

/* Środkowa zawartość */
.hv3-center {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 8% 20px;
}

.hv3-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 600;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: hv3-rise 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
.hv3-eyebrow::before,
.hv3-eyebrow::after {
  content: '';
  width: 36px; height: 1px;
  background: var(--oak);
  opacity: 0.5;
}

.hv3-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.8rem, 10vw, 9.5rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 36px;
  opacity: 0;
  animation: hv3-rise 1s cubic-bezier(0.16,1,0.3,1) 0.05s forwards;
}
.hv3-h1 em {
  font-style: italic;
  color: var(--straw);
  display: block;
  font-weight: 300;
}

/* Scramble efekt */
.scramble-char {
  color: var(--oak);
  opacity: 0.65;
  font-style: normal;
}

.hv3-sub {
  font-size: clamp(0.82rem, 1.2vw, 0.97rem);
  color: var(--text-on-dark);
  font-weight: 300;
  line-height: 1.9;
  max-width: 480px;
  margin-bottom: 54px;
  opacity: 0;
  animation: hv3-rise 0.9s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}

.hv3-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: hv3-rise 0.9s cubic-bezier(0.16,1,0.3,1) 0.45s forwards;
}

@keyframes hv3-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Przyciski hero */
.btn-hv3-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 38px;
  background: var(--oak);
  color: var(--void);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
 
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.btn-hv3-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--oak-hi);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}
.btn-hv3-primary:hover::after { transform: translateX(0); }
.btn-hv3-primary span, .btn-hv3-primary svg {
  position: relative;
  z-index: 1;
}
.btn-hv3-primary:hover svg { transform: translateX(4px); }
.btn-hv3-primary svg { transition: transform 0.3s; }

.btn-hv3-ghost {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(242,232,212,0.4);
  position: relative;
  padding-bottom: 4px;
 
  will-change: transform;
}
.btn-hv3-ghost::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--oak);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.btn-hv3-ghost:hover { color: var(--warm-white); }
.btn-hv3-ghost:hover::after { width: 100%; }

/* Magnetyczne przyciski */
.btn-magnetic {
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

/* Dolny pasek statystyk */
.hv3-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(242,232,212,0.07);
  opacity: 0;
  animation: hv3-rise 0.9s cubic-bezier(0.16,1,0.3,1) 0.6s forwards;
}

.hv3-stat-item {
  flex: 1;
  padding: 28px 40px;
  border-right: 1px solid rgba(242,232,212,0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hv3-stat-item:last-of-type { border-right: none; }

.hv3-stat-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1;
}
.hv3-stat-n sup {
  font-size: 0.45em;
  color: var(--oak);
  vertical-align: super;
}

.hv3-stat-l {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(242,232,212,0.58);
  font-weight: 500;
}

.hv3-scroll-hint {
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.56rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(242,232,212,0.2);
  flex-shrink: 0;
}
.hv3-scroll-line {
  width: 36px; height: 1px;
  background: linear-gradient(to right, var(--oak), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 0.3; transform: scaleX(0.7); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* ================================================================
   TICKER
   ================================================================ */
.ticker-wrap {
  overflow: hidden;
  background: var(--oak);
  padding: 13px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 24s linear infinite;
}
.ticker-track span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--void);
  padding: 0 36px;
}
.ticker-track span::after {
  content: '·';
  margin-left: 36px;
  opacity: 0.4;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   O NAS — SPLIT
   ================================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  width: 88%;
  max-width: var(--content-w);
  margin: 72px auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.about-dark {
  background-color: var(--forest);
  padding: 80px 9% 80px 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-dark::before {
  content: '30';
  position: absolute;
  bottom: -60px; left: -20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 30vw;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184,131,76,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.about-dark .section-label {
  font-size: 0.62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 600;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-dark .section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--oak);
}

.about-dark h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--warm-white);
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.1;
}
.about-dark h2 em { font-style: italic; color: var(--straw); }

.about-dark p {
  font-size: 0.95rem;
  color: var(--text-on-dark);
  line-height: 1.95;
  margin-bottom: 16px;
  font-weight: 300;
}

.about-dark blockquote {
  margin: 32px 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--oak);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--straw);
  line-height: 1.4;
}

.link-oak {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--oak);
  border-bottom: 1px solid rgba(184,131,76,0.3);
  padding-bottom: 3px;
  margin-top: 14px;
  transition: gap 0.3s, border-color 0.3s;
 
}
.link-oak:hover { gap: 20px; border-color: var(--oak); }

.about-light {
  background-color: var(--parchment);
  position: relative;
  overflow: hidden;
}
.about-photo-slot {
  position: absolute;
  inset: 0;
  background-color: #D8CEBD;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.photo-label {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(44,30,14,0.3);
  text-align: center;
  padding: 0 20%;
}

/* ================================================================
   STATYSTYKI — wielka typografia
   ================================================================ */
.stats-giant {
  background: var(--bark);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.stats-giant::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.stats-giant-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.stat-giant-cell {
  padding: 60px 50px 50px;
  border-right: 1px solid rgba(242,232,212,0.06);
  position: relative;
  overflow: hidden;
}
.stat-giant-cell:last-child { border-right: none; }

.stat-giant-cell::before {
  content: attr(data-bg);
  position: absolute;
  bottom: -20px; right: -10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,232,212,0.03);
  line-height: 1;
  pointer-events: none;
}

.sg-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 6.5vw, 6.5rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.sg-num sup {
  font-size: 0.38em;
  color: var(--oak);
  vertical-align: super;
}

.sg-line {
  width: 30px; height: 1px;
  background: var(--oak);
  margin-bottom: 14px;
  transition: width 0.6s cubic-bezier(0.16,1,0.3,1);
}
.stat-giant-cell:hover .sg-line { width: 60px; }

.sg-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(242,232,212,0.62);
  font-weight: 500;
  line-height: 1.6;
}

/* ================================================================
   OFERTA — 3 PANELE
   ================================================================ */
.offer-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 58vh;
  width: 88%;
  max-width: var(--content-w);
  margin: 72px auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.offer-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 50px;
 
  border-right: 1px solid rgba(0,0,0,0.25);
  text-decoration: none;
}
.offer-panel:last-child { border-right: none; }

.offer-panel.p1 { background-color: #26282B; }
.offer-panel.p2 { background-color: #202225; }
.offer-panel.p3 { background-color: #1A1B1D; }

.offer-panel::before {
  content: attr(data-num);
  position: absolute;
  top: 24px; right: 30px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.offer-panel:hover::before {
  opacity: 0.12;
  transform: scale(1.1) translateY(-8px);
}

/* Kolorowy gradient na hover */
.offer-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,131,76,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.offer-panel:hover::after { opacity: 1; }

.offer-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.05) 55%);
  transition: opacity 0.5s;
}
.offer-panel:hover .offer-panel-overlay { opacity: 0.65; }

.offer-panel-content { position: relative; z-index: 1; }

.offer-panel-num {
  font-size: 0.58rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.offer-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1.05;
  margin-bottom: 0;
  transition: margin-bottom 0.45s cubic-bezier(0.16,1,0.3,1);
}

.offer-panel-desc {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  font-weight: 300;
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1),
              opacity 0.4s;
}
.offer-panel:hover .offer-panel-title { margin-bottom: 18px; }
.offer-panel:hover .offer-panel-desc { max-height: 100px; opacity: 1; }

.offer-panel-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 600;
  margin-top: 24px;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.offer-panel:hover .offer-panel-arrow { opacity: 1; transform: translateX(0); }

/* ================================================================
   CYTAT
   ================================================================ */
.quote-section {
  background: var(--void);
  padding: 90px 10%;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '"';
  position: absolute;
  top: -80px; left: 4%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 45vw;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184,131,76,0.05);
  line-height: 1;
  pointer-events: none;
}
/* Grain na cytacie */
.quote-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}
.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1.3;
  font-style: italic;
  margin-bottom: 40px;
}
.quote-text em { color: var(--straw); font-style: normal; }
.quote-author {
  font-size: 0.62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(242,232,212,0.55);
  font-weight: 500;
}

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: var(--parchment);
  padding: 76px 8%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.cta-banner-text h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  color: var(--charcoal);
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta-banner-text h2 em { font-style: italic; color: var(--oak); }
.cta-banner-text p {
  font-size: 0.95rem;
  color: var(--text-on-light);
  max-width: 500px;
  font-weight: 300;
  line-height: 1.85;
}

.btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 42px;
  background: var(--charcoal);
  color: var(--warm-white);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;
  transition: background 0.3s, gap 0.3s;
 
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-btn);
}
.btn-primary-light::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--oak);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}
.btn-primary-light:hover::after { transform: translateX(0); }
.btn-primary-light span,
.btn-primary-light svg { position: relative; z-index: 1; }
.btn-primary-light:hover { gap: 20px; }

/* ================================================================
   STOPKA
   ================================================================ */
.site-footer {
  background: var(--bark);
  position: relative;
  overflow: hidden;
}
/* złota linia akcentu na górze */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,131,76,0.45), transparent);
  z-index: 2;
}
/* (słoje przeniesione za logo — patrz .brand-logo::before) */
.footer-top {
  padding: 104px 6% 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* Nawigacja | logo | Lokalizacja+Kontakt */
  grid-template-areas:
    "nav brand loc"
    "nav brand kontakt";
  column-gap: 60px;
  row-gap: 30px;
  align-items: start;
  border-bottom: 1px solid rgba(184,131,76,0.12);
  position: relative;
  z-index: 1;
  max-width: var(--content-w);
  margin: 0 auto;
}
/* Logo — środek, spina obie linie */
.footer-brand {
  grid-area: brand;
  align-self: center;
  max-width: 320px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Lokalizacja — prawo, góra */
.footer-top > div:nth-of-type(2) { grid-area: loc; text-align: right; }
/* Kontakt — prawo, dół */
.footer-top > div:nth-of-type(3) { grid-area: kontakt; text-align: right; }
/* Nawigacja — lewo, wyrównana do góry (na poziomie Lokalizacji) */
.footer-top > div:nth-of-type(4) { grid-area: nav; text-align: left; align-self: start; }
/* akcenty pod nagłówkami */
.footer-top > div:nth-of-type(2) h4::after,
.footer-top > div:nth-of-type(3) h4::after { left: auto; right: 0; transform: none; }
.footer-top > div:nth-of-type(4) h4::after { left: 0; right: auto; transform: none; }
.footer-brand .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--warm-white);
  letter-spacing: 6px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 22px;
}
.footer-brand .brand-name em { font-style: normal; color: var(--oak); }
.footer-brand .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--warm-white);
  letter-spacing: 6px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 22px;
}
.footer-brand .brand-name em { font-style: normal; color: var(--oak); }

/* Logo w stopce — brązowy odcień jak w preloaderze */
.footer-brand .brand-logo { display: inline-block; margin-bottom: 18px; position: relative; }
/* słoje jak w preloaderze — 3 czyste pierścienie wokół logo */
.footer-brand .brand-logo::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 340px; height: 340px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340' viewBox='0 0 340 340' fill='none'%3E%3Cg fill='none'%3E%3Ccircle cx='170' cy='170' r='163' stroke='%23B8834C' stroke-opacity='0.24' stroke-width='1.1'/%3E%3Ccircle cx='170' cy='170' r='136' stroke='%23B8834C' stroke-opacity='0.37' stroke-width='1.3'/%3E%3Ccircle cx='170' cy='170' r='109' stroke='%23B8834C' stroke-opacity='0.54' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}
.footer-brand .brand-logo img {
  width: 128px; height: auto;
  filter: brightness(0) saturate(100%) invert(58%) sepia(38%) saturate(540%) hue-rotate(353deg) brightness(90%) contrast(88%);
  opacity: 0.95;
  transition: opacity 0.3s;
}
.footer-brand .brand-logo:hover img { opacity: 1; }
.footer-brand p {
  font-size: 0.84rem;
  color: rgba(242,232,212,0.5);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; justify-content: center; margin-top: 100px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(184,131,76,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700;
  color: rgba(242,232,212,0.5);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  letter-spacing: 0;
}
.footer-social a:hover {
  border-color: var(--oak);
  background: var(--oak);
  color: var(--void);
  transform: translateY(-4px);
}
/* Ikony social (czarne PNG) — rozjaśnione filtrem na kremowo */
.footer-social a img {
  width: 17px; height: 17px;
  object-fit: contain;
  filter: brightness(0) invert(0.85);
  transition: filter 0.35s;
}
.footer-social a:hover img { filter: brightness(0) invert(0.1); }
.footer-col { text-align: center; }
.footer-col h3 {
  font-size: 0.6rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 24px; height: 1px;
  background: rgba(184,131,76,0.5);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(242,232,212,0.55);
  font-weight: 300;
  transition: color 0.3s;
 
  position: relative;
}
.footer-col ul li a:hover { color: var(--oak); }
.footer-col p {
  font-size: 0.88rem;
  color: rgba(242,232,212,0.55);
  font-weight: 300;
  line-height: 1.95;
  margin-bottom: 8px;
}
/* Kluczowa informacja — realizacje w całej Polsce */
/* Kluczowa informacja — elegancki pas na całą szerokość stopki */
.footer-banner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  padding: 36px 6%;
  border-bottom: 1px solid rgba(188,134,78,0.12);
}
.footer-banner .fb-line {
  flex: 1 1 auto;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(188,134,78,0.45));
}
.footer-banner .fb-line:last-child {
  background: linear-gradient(to left, transparent, rgba(188,134,78,0.45));
}
.footer-banner .fb-text {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--straw);
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-align: center;
}
.footer-banner .fb-text svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--oak);
}
@media (max-width: 600px) {
  .footer-banner { padding: 28px 6%; gap: 14px; }
  .footer-banner .fb-line { max-width: 40px; }
  .footer-banner .fb-text { font-size: 1.1rem; white-space: normal; }
}
.footer-col a:not(ul a) {
  color: rgba(242,232,212,0.55);
  font-size: 0.88rem;
  font-weight: 300;
  transition: color 0.3s;
}
.footer-col a:not(ul a):hover { color: var(--oak); }
.footer-bottom {
  padding: 18px 6%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  position: relative; z-index: 1;
}
.footer-bottom p {
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: rgba(242,232,212,0.32);
  font-weight: 300;
}
.footer-bottom p:last-child {
  display: flex; align-items: center; gap: 18px;
}
.footer-bottom p:last-child::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--oak);
  display: inline-block;
}

/* ================================================================
   COOKIE
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: -100%; left: 0; right: 0;
  background: rgba(26,17,8,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(184,131,76,0.18);
  z-index: 9998;
  padding: 20px 6%;
  transition: bottom 0.5s cubic-bezier(0.16,1,0.3,1);
}
.cookie-banner.show { bottom: 0; }
.cookie-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cookie-inner p {
  font-size: 0.8rem;
  color: rgba(242,232,212,0.72);
  font-weight: 300;
  line-height: 1.6;
}
.cookie-inner a { color: var(--oak); }
.btn-cookie {
  padding: 10px 28px;
  background: var(--oak);
  color: var(--void);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
 
  white-space: nowrap;
  transition: background 0.3s;
  border-radius: var(--radius-btn);
}
.btn-cookie:hover { background: var(--oak-hi); }

/* ================================================================
   HERO PODSTRON
   ================================================================ */
.hero-sub {
  min-height: 64vh;
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 8% 70px;
  position: relative;
  overflow: hidden;
}
/* ziarno */
.hero-sub::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}
/* centralna poświata jak w hero index */
.hero-sub::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(184,131,76,0.10) 0%, rgba(184,131,76,0.04) 42%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite;
}
/* wielki napis-watermark wyłączony — zastępują go słoje (jak na index) */
.hero-sub-bg-type { display: none; }

.hero-sub-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.hero-sub-label {
  font-size: 0.62rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 600;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero-sub-label::before,
.hero-sub-label::after {
  content: '';
  width: 36px; height: 1px;
  background: var(--oak);
  opacity: 0.6;
}
.hero-sub h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1.0;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-sub h1 em { font-style: italic; color: var(--straw); }
.hero-sub-desc {
  font-size: 1rem;
  color: var(--text-on-dark);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ================================================================
   STORY ROWS — O NAS
   ================================================================ */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 56vh;
  width: 88%;
  max-width: var(--content-w);
  margin: 56px auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.story-section.flipped .story-text-col { order: 2; }
.story-section.flipped .story-photo-col { order: 1; }

.story-text-col {
  padding: 72px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--parchment);
}
.story-text-col.dark { background: var(--forest); }

.story-chapter {
  font-size: 0.58rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.story-chapter::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--oak);
}

.story-text-col h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 26px;
  color: var(--charcoal);
}
.story-text-col.dark h2 { color: var(--warm-white); }

.story-text-col p {
  font-size: 0.95rem;
  color: var(--text-on-light);            /* ciemniejszy brąz — czytelny na parchmencie */
  line-height: 1.95;
  margin-bottom: 15px;
  font-weight: 400;
}
.story-text-col.dark p { color: var(--text-on-dark); font-weight: 300; }
.story-text-col strong { color: var(--charcoal); font-weight: 600; }
.story-text-col.dark strong { color: var(--warm-white); }

.story-blockquote {
  margin: 28px 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--oak);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--oak);
  line-height: 1.45;
}

.story-photo-col {
  background: #D0C6B6;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.story-photo-col.has-photo {
  background-size: cover;
  background-position: center;
}

/* ================================================================
   OFERTA PODSTRONA
   ================================================================ */
.offer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 88%;
  max-width: var(--content-w);
  margin: 56px auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--parchment);
}
.offer-row.alt { background: var(--sand); }
.offer-text-col {
  padding: 56px clamp(28px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.offer-row.rev .offer-text-col { order: 2; }
.offer-row.rev .offer-photo-col { order: 1; }

.offer-badge {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 600;
  border: 1px solid rgba(184,131,76,0.28);
  padding: 5px 13px;
  margin-bottom: 20px;
  border-radius: 100px;
}
.offer-text-col h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.1;
}
.offer-text-col h2 em { font-style: italic; color: var(--oak); }
.offer-text-col p {
  font-size: 0.95rem;
  color: var(--text-on-light);
  line-height: 1.75;
  margin-bottom: 12px;
  font-weight: 300;
}
.offer-list {
  list-style: none;
  margin: 20px 0 28px;
}
.offer-list li {
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 14px;
}
.offer-list li::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--oak);
  flex-shrink: 0;
}
.offer-photo-col {
  height: 100%;
  min-height: 380px;
  background: #D0C6B6;
  position: relative;
  overflow: hidden;
}
.offer-photo-col.has-photo {
  background-size: cover;
  background-position: center;
}

/* ================================================================
   REALIZACJE
   ================================================================ */
.realizacje-wrap { padding: 64px 4%; max-width: var(--content-w); margin: 0 auto; }

.masonry { columns: 3; column-gap: 14px; }
.masonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
 
  display: block;
  background: #C4BAA8;
}
.masonry-item .m-inner {
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.masonry-item:hover .m-inner { transform: scale(1.04); }
.m-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,21,23,0.9) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  color: var(--warm-white);
}
.masonry-item:hover .m-overlay { opacity: 1; }
.m-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.m-overlay p { font-size: 0.75rem; opacity: 0.55; letter-spacing: 0; }
.m-inner img { width: 100%; display: block; }
.m-ph { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.m-ph.r43 { aspect-ratio: 4/3; }
.m-ph.r34 { aspect-ratio: 3/4; }
.m-ph.r11 { aspect-ratio: 1/1; }
.m-ph.r169 { aspect-ratio: 16/9; }
.t1{background:#B5AA9A} .t2{background:#9C8E7C} .t3{background:#C8BFB2}
.t4{background:#A89880} .t5{background:#887060} .t6{background:#D0C4B4}
.t7{background:#7A6854} .t8{background:#BCAA96} .t9{background:#988070}

/* ================================================================
   JAK PRACUJEMY — TIMELINE
   ================================================================ */
.process-wrap { padding: 72px 8%; max-width: var(--content-w); margin: 0 auto; }
.process-timeline {
  margin-top: 80px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 27px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--oak) 5%, rgba(184,131,76,0.25) 95%, transparent);
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 50px;
  padding-bottom: 64px;
  align-items: start;
}
.process-step:last-child { padding-bottom: 0; }
.step-dot {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--page-bg);
  border: 1px solid rgba(184,131,76,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--oak);
  position: relative; z-index: 1;
  transition: all 0.4s; flex-shrink: 0;
}
.process-step:hover .step-dot {
  background: var(--oak);
  color: var(--void);
  border-color: var(--oak);
  box-shadow: 0 0 0 6px rgba(184,131,76,0.1);
}
.step-body { padding-top: 12px; }
.step-tag {
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 600;
  margin-bottom: 9px;
  display: block;
}
.step-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
}
.step-body p {
  font-size: 0.93rem;
  color: var(--text-on-light);
  line-height: 1.9;
  font-weight: 300;
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-wrap { max-width: 860px; margin: 60px auto 0; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.07); }
.faq-q {
  width: 100%;
  background: none; border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: left;
 
  transition: color 0.3s;
}
.faq-q:hover { color: var(--oak); }
.faq-icon {
  width: 24px; height: 24px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--mist);
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.open .faq-q { color: var(--oak); }
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--oak);
  border-color: var(--oak);
  color: #fff;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.faq-a p {
  padding-bottom: 24px;
  font-size: 0.93rem;
  color: var(--text-on-light);
  line-height: 1.9;
  font-weight: 300;
}

/* ================================================================
   KONTAKT
   ================================================================ */
.contact-wrap {
  padding: 72px 8%;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  max-width: var(--content-w);
  margin: 0 auto;
  align-items: start;
}
.contact-col h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.1;
}
.contact-col h2 em { font-style: italic; color: var(--oak); }
.contact-col > p {
  font-size: 0.95rem; color: var(--text-on-light);
  font-weight: 300; line-height: 1.85; margin-bottom: 50px;
}
.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex; align-items: flex-start; gap: 18px;
}
.contact-item:first-of-type { border-top: 1px solid rgba(0,0,0,0.07); }
.c-icon {
  width: 42px; height: 42px;
  border: 1px solid rgba(184,131,76,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; margin-top: 2px;
}
.c-meta .c-label {
  font-size: 0.58rem;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--oak); font-weight: 600; margin-bottom: 4px;
}
.c-meta a, .c-meta span { font-size: 0.95rem; color: var(--charcoal); font-weight: 400; }
.c-meta a:hover { color: var(--oak); }

.contact-form-wrap { background: var(--parchment); padding: 52px; }
.contact-form-wrap h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 400;
  color: var(--charcoal); margin-bottom: 8px;
  text-transform: none; letter-spacing: 0;
}
.form-note { font-size: 0.8rem; color: var(--text-on-light); margin-bottom: 34px; font-weight: 300; }

.f-group { margin-bottom: 20px; }
.f-group label {
  display: block;
  font-size: 0.58rem; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  color: var(--charcoal); margin-bottom: 8px;
}
.f-group input, .f-group select, .f-group textarea {
  width: 100%; padding: 13px 0;
  border: none; border-bottom: 1px solid rgba(0,0,0,0.14);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 16px; color: var(--charcoal);   /* min. 16px — bez auto-zoomu na iOS */
  font-weight: 300;
  transition: border-color 0.3s;
  appearance: none; border-radius: 0;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  outline: none; border-bottom-color: var(--oak);
}
.f-group textarea { resize: none; min-height: 130px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-consent {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 0.79rem; color: var(--mist);
  font-weight: 300; line-height: 1.6; margin: 22px 0;
}
.f-consent input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--oak);
  margin-top: 1px; flex-shrink: 0;
}
.f-consent a { color: var(--oak); }
.btn-submit {
  width: 100%; padding: 16px;
  background: var(--charcoal);
  color: var(--warm-white);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
 
  transition: background 0.3s;
  position: relative; overflow: hidden;
  border-radius: var(--radius-btn);
}
.btn-submit::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--oak);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}
.btn-submit:hover::after { transform: translateX(0); }
.btn-submit span { position: relative; z-index: 1; }

/* ================================================================
   POLITYKA PRYWATNOŚCI
   ================================================================ */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 64px 40px 90px; }
.legal-wrap h2 {
  font-size: 1.35rem; font-weight: 400;
  color: var(--charcoal); margin: 50px 0 16px;
  padding-top: 18px; border-top: 1px solid rgba(0,0,0,0.07);
}
.legal-wrap h2:first-of-type { border-top: none; margin-top: 8px; }
.legal-wrap p { font-size: 0.93rem; color: var(--text-on-light); line-height: 1.9; font-weight: 300; margin-bottom: 12px; }
.legal-wrap ul { list-style: none; margin-bottom: 12px; }
.legal-wrap ul li {
  font-size: 0.93rem; color: var(--mist); line-height: 1.9;
  font-weight: 300; padding: 5px 0 5px 22px;
  position: relative; border-bottom: 1px solid rgba(0,0,0,0.04);
}
.legal-wrap ul li::before { content: '—'; position: absolute; left: 0; color: var(--oak); }
.legal-wrap strong { color: var(--charcoal); font-weight: 600; }
.legal-wrap a { color: var(--oak); }

/* ================================================================
   SECTION HELPER KLASY
   ================================================================ */
.section-label {
  font-size: 0.6rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--oak);
  font-weight: 600; margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: ''; width: 26px; height: 1px;
  background: var(--oak); flex-shrink: 0;
}

.btn-primary-dark {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 36px;
  background: var(--oak); color: var(--void);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  position: relative; overflow: hidden;
  border-radius: var(--radius-btn);
}
.btn-primary-dark::after {
  content: ''; position: absolute; inset: 0;
  background: var(--oak-hi);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); z-index: 0;
}
.btn-primary-dark:hover::after { transform: translateX(0); }
.btn-primary-dark > * { position: relative; z-index: 1; }


/* ================================================================
   SŁOJE — RING DRAW ANIMACJA
   ================================================================ */

/* Każde kółko startuje niewidoczne i rysuje się po ładowaniu */
.ring-draw {
  stroke-dasharray: var(--circ, 1000px);
  stroke-dashoffset: var(--circ, 1000px);
  animation: ring-draw-in var(--dur, 1.2s) cubic-bezier(0.16,1,0.3,1)
             var(--delay, 0s) forwards;
}

@keyframes ring-draw-in {
  to { stroke-dashoffset: 0; }
}

/* Pulsujące serce drzewa */
.heartwood {
  opacity: 0;
  animation: heartwood-appear 0.5s ease 2s forwards;
}
@keyframes heartwood-appear {
  to { opacity: 1; }
}

.heartwood-pulse {
  opacity: 0;
  transform-origin: 300px 300px;
  animation: heartwood-appear 0.5s ease 2s forwards,
             heartwood-pulse  3s ease-in-out 2.5s infinite;
}
@keyframes heartwood-pulse {
  0%,100% { r: 10; opacity: 0.4; }
  50%      { r: 22; opacity: 0; }
}

/* 3-warstwowe kontenery słojów */
.hv3-rings-outer,
.hv3-rings-mid,
.hv3-rings-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, 95vw);
  height: min(720px, 95vw);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
/* Bazowe pozycje — JS nadpisze przy scroll */
.hv3-rings-outer { transform: translate(-50%, -52%); }
.hv3-rings-mid   { transform: translate(-50%, -52%); }
.hv3-rings-inner { transform: translate(-50%, -52%); }

/* Subtelne slow-rotate na wszystkich warstwach */
.hv3-rings-outer svg { animation: rings-drift 90s  linear infinite; }
.hv3-rings-mid   svg { animation: rings-drift 120s linear infinite reverse; }
.hv3-rings-inner svg { animation: rings-drift 180s linear infinite; }
@keyframes rings-drift {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Centralny blask */
.hv3-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  width: 280px; height: 280px;
  background: radial-gradient(circle,
    rgba(184,131,76,0.10) 0%,
    rgba(184,131,76,0.04) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  animation: glow-pulse 5s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes glow-pulse {
  0%,100% { opacity: 0.6; transform: translate(-50%,-52%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%,-52%) scale(1.25); }
}

/* ================================================================
   TEKSTURA DREWNA — CSS repeating gradient
   ================================================================ */
.wood-texture {
  background-color: var(--parchment);
  background-image:
    /* Grube żyłki poziome */
    repeating-linear-gradient(
      172deg,
      transparent          0px,
      transparent          12px,
      rgba(184,131,76,0.025) 12px,
      rgba(184,131,76,0.025) 13px,
      transparent          13px,
      transparent          28px,
      rgba(184,131,76,0.018) 28px,
      rgba(184,131,76,0.018) 29px,
      transparent          29px,
      transparent          48px,
      rgba(184,131,76,0.022) 48px,
      rgba(184,131,76,0.022) 49px
    ),
    /* Delikatne żyłki pionowe — słój poprzeczny */
    repeating-linear-gradient(
      84deg,
      transparent          0px,
      transparent          40px,
      rgba(184,131,76,0.010) 40px,
      rgba(184,131,76,0.010) 41px,
      transparent          41px,
      transparent          80px,
      rgba(184,131,76,0.007) 80px,
      rgba(184,131,76,0.007) 81px
    );
}

/* ================================================================
   SŁOJE W ROGU — about i inne sekcje
   ================================================================ */
.corner-rings {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  opacity: 0.7;
}
.corner-rings svg { width: 100%; height: 100%; }

/* ================================================================
   GAUGE — okrągłe wskaźniki statystyk
   ================================================================ */
.stats-gauge {
  background: var(--bark);
  padding: 68px 6%;
  position: relative;
  overflow: hidden;
}

/* Duży przekrój w tle sekcji gauge */
.stats-gauge::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(184,131,76,0.04);
  box-shadow:
    0 0 0 50px  rgba(184,131,76,0.025),
    0 0 0 100px rgba(184,131,76,0.018),
    0 0 0 150px rgba(184,131,76,0.012),
    0 0 0 200px rgba(184,131,76,0.008);
  pointer-events: none;
}

.stats-gauge-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: var(--content-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.gauge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.gauge-ring-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Animacja łuku — wypełnia się od góry zgodnie z ruchem wskazówek */
.gauge-arc {
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16,1,0.3,1);
}

.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1;
}
.gauge-num sup {
  font-size: 0.42em;
  color: var(--oak);
  vertical-align: super;
}

.gauge-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(242,232,212,0.65);
  font-weight: 500;
  line-height: 1.7;
}

/* ================================================================
   CYTAT — RINGS BG
   ================================================================ */
.quote-rings-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  animation: rings-drift 140s linear infinite;
}
.quote-rings-bg svg { width: 100%; height: 100%; }

/* ================================================================
   HERO PODSTRON — duże słoje wyśrodkowane za treścią (jak index)
   ================================================================ */
.hero-sub-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1150px, 165vw);
  height: min(1150px, 165vw);
  pointer-events: none;
  z-index: 0;
}
.hero-sub-rings svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.6;
  animation: rings-drift 160s linear infinite;
}

/* ================================================================
   FLOATING PILL — NAWIGACJA
   ================================================================ */

/* Resetujemy stary header i robimy pill */
#site-header {
  top: 20px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: calc(100vw - 32px) !important;
  padding: 12px 20px 12px 24px !important;
  border-radius: 100px !important;
  background: rgba(26,27,29,0.86) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(184,131,76,0.22) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35) !important;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, padding 0.4s !important;
}
#site-header.solid {
  background: rgba(26,27,29,0.96) !important;
  border-color: rgba(184,131,76,0.35) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
  padding: 10px 20px 10px 24px !important;
}

/* Logo mniejsze w pill */
.nav-logo {
  font-size: 1.1rem !important;
  letter-spacing: 5px !important;
  margin-right: 22px !important;   /* odstęp od linków = odstęp między linkami */
}
/* Linki mniejsze w pill */
.nav-links a {
  font-size: 0.62rem !important;
  letter-spacing: 2px !important;
}
.nav-links { gap: 22px !important; }
.nav-cta { padding: 8px 18px !important; letter-spacing: 1.5px !important; border-radius: 100px !important; }

/* ================================================================
   HERO V4 — WIELKA TYPOGRAFIA (nowy hero dla index)
   ================================================================ */
.hero-v4 {
  position: relative;
  min-height: 100vh;       /* fallback dla starszych przeglądarek */
  min-height: 100svh;
  background: var(--void);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Grain */
.hv4-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.05; pointer-events: none; z-index: 1;
}

/* Rings — identyczne kontenery jak hv3 */
.hv4-rings-outer,.hv4-rings-mid,.hv4-rings-inner {
  position: absolute;
  top: 50%; left: 50%;
  width: min(860px, 110vw);
  height: min(860px, 110vw);
  pointer-events: none; z-index: 0;
  will-change: transform;
}
.hv4-rings-outer { transform: translate(-50%,-50%); }
.hv4-rings-mid   { transform: translate(-50%,-50%); }
.hv4-rings-inner { transform: translate(-50%,-50%); }
.hv4-rings-outer svg { animation: rings-drift 90s  linear infinite; }
.hv4-rings-mid   svg { animation: rings-drift 130s linear infinite reverse; }
.hv4-rings-inner svg { animation: rings-drift 200s linear infinite; }

/* Blask centralny */
.hv4-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,131,76,0.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite;
  will-change: transform,opacity;
}

/* Top strip */
.hv4-topstrip {
  position: relative; z-index: 2;
  padding: 110px 7% 0;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.58rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(242,232,212,0.38);
  font-weight: 500;
  flex-shrink: 0;
}
/* Boczne napisy równej szerokości → środkowy EST idealnie wyśrodkowany */
.hv4-topstrip > span { flex: 1 1 0; white-space: nowrap; }
.hv4-topstrip > span:first-child { text-align: left; }
.hv4-topstrip > span:last-child  { text-align: right; }
.hv4-topstrip > span:nth-child(3) { flex: 0 0 auto; text-align: center; }
/* Kluczowa informacja — wyróżniona w pasku hero */
.hv4-topstrip-key {
  color: var(--oak) !important;
  font-weight: 600;
}
.hv4-topstrip-line {
  flex: 0 0 7%;
  height: 1px;
  background: linear-gradient(to right, rgba(184,131,76,0.25), transparent);
}

/* Headline wrapper — rośnie do dołu */
.hv4-headline-wrap {
  position: relative; z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;       /* wyśrodkowanie w pionie */
  align-items: center;           /* wyśrodkowanie w poziomie */
  text-align: center;
  padding: 20px 7% 0;
}

/* Wielka typografia */
.hv4-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 9vw, 9.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -2px;
  color: var(--warm-white);
  margin-bottom: 36px;
  max-width: 100%;
}
.hv4-h1 span, .hv4-h1 em {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  animation: hv4-line 1.1s cubic-bezier(0.16,1,0.3,1)
             calc(var(--i,0) * 0.14s) forwards;
  white-space: nowrap;          /* wers się nie łamie */
}
.hv4-h1 em {
  font-style: italic;
  color: var(--straw);
}
@keyframes hv4-line {
  to { opacity: 1; transform: translateY(0); }
}

/* Rząd poniżej headline: opis + CTA — wyśrodkowane w kolumnie */
.hv4-sub-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(242,232,212,0.07);
  opacity: 0;
  animation: hv4-line 0.9s cubic-bezier(0.16,1,0.3,1) 0.55s forwards;
}
.hv4-sub {
  font-size: 0.92rem;
  color: var(--text-on-dark);
  font-weight: 300;
  line-height: 1.75;
  max-width: 480px;
  text-align: center;
}
.hv4-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

/* Przyciski hero v4 */
.btn-hv4-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px;
  background: var(--oak); color: var(--void);
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  position: relative; overflow: hidden;
}
.btn-hv4-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--oak-hi);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}
.btn-hv4-primary:hover::before { transform: translateX(0); }
.btn-hv4-primary > * { position: relative; z-index: 1; }
.btn-hv4-primary svg { transition: transform 0.35s; }
.btn-hv4-primary:hover svg { transform: translateX(5px); }

.btn-hv4-ghost {
  font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 3px;
  color: rgba(242,232,212,0.50);
  position: relative; padding-bottom: 4px;
 
}
.btn-hv4-ghost::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--oak);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.btn-hv4-ghost:hover { color: var(--warm-white); }
.btn-hv4-ghost:hover::after { width: 100%; }

/* Stats strip */
.hv4-stats {
  position: relative; z-index: 2;
  display: flex;
  align-items: stretch;
  opacity: 0;
  animation: hv4-line 0.9s cubic-bezier(0.16,1,0.3,1) 0.70s forwards;
}
.hv4-stat {
  flex: 1;
  padding: 22px 32px;
  border-right: 1px solid rgba(242,232,212,0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hv4-stat:last-of-type { border-right: none; }
.hv4-stat-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 300; color: var(--warm-white); line-height: 1;
}
.hv4-stat-n sup {
  font-size: 0.42em; color: var(--oak); vertical-align: super;
}
.hv4-stat-l {
  font-size: 0.56rem; text-transform: uppercase;
  letter-spacing: 2.5px; color: rgba(242,232,212,0.48); font-weight: 500;
}
.hv4-scroll-hint {
  padding: 22px 32px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.55rem; letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(242,232,212,0.22);
  flex-shrink: 0;
}
.hv4-scroll-line {
  width: 32px; height: 1px;
  background: linear-gradient(to right, var(--oak), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}

/* ================================================================
   PAS WARTOŚCI — statyczny, elegancki
   ================================================================ */
.values-band {
  background: var(--page-bg);
  border-top: 1px solid rgba(184,131,76,0.18);
  border-bottom: 1px solid rgba(184,131,76,0.18);
  padding: 54px 6%;
}
.values-band-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.value-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 14px;
}
.value-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: -0.5px;
}
.value-sub {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: var(--oak);
}
.value-sep {
  width: 24px;
  height: 24px;
  color: var(--oak);
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.value-sep svg { width: 100%; height: 100%; display: block; }
.values-band:hover .value-sep { transform: rotate(45deg); }

/* ================================================================
   OFFER PANEL — SPOTLIGHT (kursor tworzy poświatę)
   ================================================================ */
.offer-panel {
  --mx: 50%; --my: 50%;
}
/* Użyjemy pseudo-elementu for the spotlight */
.offer-panel .panel-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 220px at var(--mx) var(--my),
    rgba(184,131,76,0.20) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 2;
  pointer-events: none;
}
.offer-panel:hover .panel-spotlight { opacity: 1; }

/* ================================================================
   PAGE TRANSITION — sweep złotym
   ================================================================ */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  display: flex;
}
.pt-panel {
  flex: 1;
  background: var(--oak);
  transform: scaleY(0);                 /* domyślnie ukryta — intro robi teraz preloader */
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.7,0,0.3,1);
}
.pt-panel:nth-child(2) { background: var(--oak-hi); }

/* OUTRO — JS dodaje .out przy kliknięciu w link (kurtyna opada z dołu) */
#page-transition.out .pt-panel {
  transform: scaleY(1);
}
#page-transition.out .pt-panel:nth-child(2) { transition-delay: 0.06s; }
#page-transition.out .pt-panel:nth-child(3) { transition-delay: 0.12s; }

/* ================================================================
   CIRCULAR SCROLL RING — pierścień postępu w rogu
   ================================================================ */
#scroll-ring {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  z-index: 500;
  opacity: 0;
  transition: opacity 0.4s;
 
}
#scroll-ring.vis { opacity: 1; }
#scroll-ring svg { width: 100%; height: 100%; }


/* ================================================================
   PRELOADER — słój rysuje się przy wejściu
   ================================================================ */
#preloader {
  position: fixed; inset: 0;
  z-index: 100000;
  background: var(--void);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 32px;
  transition: transform 0.85s cubic-bezier(0.7,0,0.3,1);
}
#preloader.done { transform: translateY(-100%); }
#preloader.gone { display: none; }

.pl-grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.05;
}
@keyframes pl-word-in { to { opacity: 1; } }

/* Scena preloadera — logo w centrum, słoje rysują się wokół niego */
.pl-stage {
  position: relative;
  width: clamp(230px, 42vw, 300px);
  height: clamp(230px, 42vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-rings {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
.pl-logo {
  position: relative; z-index: 1;
  width: 32%;
  height: auto;
  /* czerń → brązowy dąb (przybliżenie filtrem) */
  filter: brightness(0) saturate(100%) invert(58%) sepia(38%) saturate(540%) hue-rotate(353deg) brightness(90%) contrast(88%);
  opacity: 0;
  animation: pl-word-in 1s ease 0.7s forwards;
}

/* ================================================================
   PHOTO FX — duotone + ziarno + Ken Burns + clip reveal
   ================================================================ */
/* Ciepły duotone — spaja zdjęcia z paletą marki */
.has-photo,
.about-light,
.m-inner img {
  filter: sepia(0.22) saturate(1.12) contrast(1.02) brightness(0.97);
}

/* Subtelny Ken Burns na dużych zdjęciach tła */
.has-photo,
.about-light {
  position: relative;
  background-size: cover;
  background-position: center;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { background-position: 50% 50%; }
  100% { background-position: 50% 41%; }
}

/* Ziarno + ciepły tint na zdjęciach tła */
.has-photo::before,
.about-light::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(150deg, rgba(51,53,58,0.18), rgba(20,21,23,0.26));
  mix-blend-mode: multiply;
}
.has-photo::after,
.about-light::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.07; mix-blend-mode: overlay;
}

/* Ziarno na zdjęciach w galerii realizacji */
.m-inner { position: relative; }
.m-inner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.06; mix-blend-mode: overlay;
}

/* (Efekt wycierania clip-path usunięty — zdjęcia pokazują się od razu) */

/* ================================================================
   MEDIA QUERIES
   ================================================================ */
@media (max-width: 1100px) {
  .stats-gauge-inner { grid-template-columns: repeat(2,1fr); }
  .gauge-ring-wrap { width: 140px; height: 140px; }
  .gauge-num { font-size: 2rem; }

  .about-split { grid-template-columns: 1fr; width: 92%; margin: 48px auto; }
  .about-light { min-height: 320px; }
  .offer-panels { grid-template-columns: 1fr; width: 92%; margin: 48px auto; }
  .about-dark::before { font-size: 50vw; }
  .story-section, .story-section.flipped { grid-template-columns: 1fr; }
  .story-section.flipped .story-text-col { order: 1; }
  .story-section.flipped .story-photo-col { order: 2; }
  .story-photo-col { min-height: 380px; }
  .offer-row, .offer-row.rev { grid-template-columns: 1fr; gap: 40px; }
  .offer-row.rev .offer-text-col { order: 1; }
  .offer-row.rev .offer-photo-col { order: 2; }
  .offer-photo-col { height: 360px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 50px; }
  .stats-giant-inner { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
  .hamburger { display: flex; }
  /* Pill bez transformu I bez backdrop-filter — oba tworzą „containing block",
     który uwięziłby pełnoekranowe menu (position: fixed) wewnątrz pill-a */
  #site-header,
  #site-header.solid {
    gap: 18px;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(26,27,29,0.96) !important;
  }

  /* kursor niestandardowy ukryty przy mobilnej szerokości (też w trybie responsywnym) */
  html { cursor: auto; }

  /* pierścień postępu chowamy (kolidował z banerem cookies) */
  #scroll-ring { display: none; }
  /* podtytuł hero bez gubiącej się kreski */
  .hv4-sub-row { border-bottom: none; padding-bottom: 0; }
  /* większe cele dotykowe w stopce */
  .footer-col ul li { margin-bottom: 4px; }
  .footer-col ul li a { display: inline-block; padding: 8px 6px; }

  /* Hero v4 — mniejszy nagłówek, wersy mogą się zawijać */
  .hv4-h1 { font-size: clamp(2.4rem, 11vw, 4.5rem); letter-spacing: -1px; }
  .hv4-h1 span, .hv4-h1 em { white-space: normal; }
  .hv4-sub-row { flex-direction: column; align-items: center; gap: 24px; }
  .hv4-headline-wrap { padding-bottom: 10px; }
  /* górny pasek mniejszy, bez rozjeżdżania */
  .hv4-topstrip { font-size: 0.5rem; letter-spacing: 2px; gap: 12px; padding-top: 100px; }
  /* statystyki 2 w rzędzie, bez bocznych ramek */
  .hv4-stats { flex-wrap: wrap; border-top: 1px solid rgba(242,232,212,0.07); }
  .hv4-stat { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(242,232,212,0.07); padding: 18px 24px; }
  .hv4-scroll-hint { display: none; }

  .nav-links {
    position: fixed; inset: 0;
    background: var(--void);              /* pełne, nieprześwitujące tło */
    flex-direction: column;
    justify-content: flex-start;          /* od góry — niezawodne przy wielu pozycjach */
    align-items: center;
    gap: 26px;
    padding: 110px 24px 48px;             /* odstęp od pill u góry */
    overflow-y: auto;                     /* można przewijać, jeśli nie mieści się */
    -webkit-overflow-scrolling: touch;
    /* chowamy W MIEJSCU (nie wypychamy w prawo) — inaczej fixed-menu robi poziomy scroll */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), visibility 0.4s;
    z-index: 10000;                        /* nad banerem cookies (9998), pod pill */
  }
  /* pill nad menu, żeby X działał; menu nad cookies i scroll-ringiem */
  #site-header, #site-header.solid { z-index: 10001 !important; }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  /* linki menu — cele dotykowe min. 44px */
  .nav-links a {
    font-size: 1.05rem !important;
    color: rgba(242,232,212,0.7);
    letter-spacing: 3px !important;
    margin: 0;
    padding: 11px 24px;
  }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 8px !important; padding: 14px 34px !important; color: var(--void) !important; }

  .offer-panels { grid-template-columns: 1fr; min-height: auto; }
  .offer-panel { min-height: 260px; }
  .offer-panel-desc { max-height: 100px; opacity: 1; }
  .offer-panel-title { margin-bottom: 14px; }
  .offer-panel-arrow { opacity: 1; transform: none; }

  .hv3-bottom { flex-wrap: wrap; }
  .hv3-stat-item { flex: 1 1 40%; }

  .stats-giant-inner { grid-template-columns: 1fr 1fr; }

  .cta-banner { grid-template-columns: 1fr; gap: 36px; padding: 70px 6%; }

  .masonry { columns: 2; }

  .cookie-inner { flex-direction: column; text-align: center; gap: 14px; }
  .btn-cookie { width: 100%; }

  .contact-form-wrap { padding: 32px 22px; }
  .f-row { grid-template-columns: 1fr; }
  .legal-wrap { padding: 60px 20px 80px; }

  .hero-sub { min-height: 56vh; padding: 130px 8% 60px; }
  .hero-sub-rings { width: min(760px, 175vw); height: min(760px, 175vw); }

  /* Stopka — jedna wyśrodkowana kolumna, logo na górze */
  .footer-top {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 28px;
    padding: 56px 6% 36px;
    max-width: 440px;
  }
  .footer-top > div {
    grid-area: auto !important;
    text-align: center !important;
  }
  .footer-brand { order: -1; grid-area: auto !important; max-width: none; }
  .footer-top > div h4::after {
    left: 50% !important; right: auto !important; transform: translateX(-50%) !important;
  }
  .footer-social { margin-top: 40px !important; }
}

@media (max-width: 560px) {
  /* Hero główne — czyściej na małym ekranie */
  .hv4-topstrip { display: none; }
  .hv4-headline-wrap { padding-top: 100px; }
  .hv4-h1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .hv4-stat { flex-basis: 50%; padding: 16px 18px; }
  .hv4-stat-n { font-size: 1.5rem; }
  .hv4-sub { font-size: 0.88rem; }

  /* mniejsze słoje wokół logo w stopce — nie wychodzą poza wąski ekran */
  .footer-brand .brand-logo::before { width: 250px; height: 250px; }
  .footer-social { margin-top: 30px !important; }

  /* Hero podstron — tytuł nie za duży */
  .hero-sub { min-height: 50vh; padding: 120px 7% 50px; }
  .hero-sub h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero-sub-label { letter-spacing: 3px; gap: 10px; }
  .hero-sub-label::before, .hero-sub-label::after { width: 22px; }

  .values-band { padding: 40px 6%; }
  .values-band-inner { gap: 20px 8px; }
  .value-sep { display: none; }
  .value-mark { flex: 1 1 40%; }
  .stats-gauge-inner { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .gauge-ring-wrap { width: 120px; height: 120px; }
  .gauge-num { font-size: 1.7rem; }
  .gauge-label { font-size: 0.55rem; }
  .corner-rings { width: 160px; height: 160px; }

  .stats-giant-inner { grid-template-columns: 1fr; }
  .footer-top {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 30px;
    padding: 60px 6% 36px;
  }
  .footer-top > div { text-align: center !important; }
  .footer-top > div:nth-of-type(2),
  .footer-top > div:nth-of-type(3),
  .footer-top > div:nth-of-type(4) { grid-area: auto; }
  .footer-top > div h4::after { left: 50% !important; right: auto !important; transform: translateX(-50%) !important; }
  .footer-brand { order: -1; }   /* logo na górze na mobile */
  .masonry { columns: 1; }
  .hv3-rings { width: 95vw; height: 95vw; }
  .process-step { grid-template-columns: 44px 1fr; gap: 22px; }
  .step-dot { width: 44px; height: 44px; font-size: 1rem; }
  .process-timeline::before { left: 22px; }
  .stat-giant-cell { padding: 40px 30px; }
}
