/* ═══════════════════════════════════════════════════
   1. DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  --gold:        oklch(72% 0.1 75);
  --gold-lt:     oklch(80% 0.09 75);
  --gold-dim:    oklch(72% 0.1 75 / 18%);
  --bg:          #000000;
  --bg1:         oklch(6% 0.005 75);
  --bg2:         oklch(10% 0.006 75);
  --bg3:         oklch(15% 0.007 75);
  --line:        oklch(72% 0.1 75 / 18%);
  --line-dim:    oklch(100% 0 0 / 6%);
  --muted:       oklch(70% 0.012 75);
  --light:       oklch(85% 0.01 75);
  --white:       oklch(97% 0.006 75);
  --glass-bg:    oklch(100% 0 0 / 3.5%);
  --glass-bord:  oklch(100% 0 0 / 8%);
  --glass-blur:  24px;
  --nav-h:       68px;
  --r:           14px;
  --r-lg:        22px;
  --px:          clamp(20px, 5vw, 80px);
  --max:         1200px;
}

/* ═══════════════════════════════════════════════════
   2. RESET + BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { font-size: 17.6px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--light);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ═══════════════════════════════════════════════════
   3. NOISE GRAIN OVERLAY
═══════════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ═══════════════════════════════════════════════════
   4. SCROLLBAR
═══════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: oklch(72% 0.1 75 / 35%); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ═══════════════════════════════════════════════════
   5. TYPOGRAPHY UTILITIES
═══════════════════════════════════════════════════ */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.gold  { color: var(--gold); }
.muted { color: var(--muted); }

.label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

h2.serif {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════
   6. BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px oklch(72% 0.1 75 / 30%);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: oklch(100% 0 0 / 18%);
}
.btn-outline:hover {
  border-color: oklch(72% 0.1 75 / 60%);
  color: var(--gold);
  background: oklch(72% 0.1 75 / 5%);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   7. SECTION WRAPPER
═══════════════════════════════════════════════════ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px var(--px);
}

.section-head { margin-bottom: 60px; }
.section-head--center { text-align: center; }
.section-head h2 { margin-top: 14px; }
.story-intro h2 { margin-top: 16px; }

/* ═══════════════════════════════════════════════════
   8. REVEAL ANIMATIONS (CSS fallback + local.css pages)
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.10s; }
.d3 { transition-delay: 0.15s; }
.d4 { transition-delay: 0.20s; }
.d5 { transition-delay: 0.25s; }

/* ═══════════════════════════════════════════════════
   9. LOADER
═══════════════════════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.ldr-name {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.ldr-bar {
  width: 160px;
  height: 1px;
  background: var(--line-dim);
  border-radius: 1px;
  overflow: hidden;
}

.ldr-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 1px;
}

/* ═══════════════════════════════════════════════════
   10. NAVBAR
═══════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

.nav-logo  { grid-column: 1; justify-self: start; }
.nav-links { grid-column: 2; justify-self: center; }
.nav-right { grid-column: 3; justify-self: end; }

#nav.solid {
  background: oklch(4% 0.004 75 / 94%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--line-dim);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 32px;
  width: auto;
}


.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-link {
  padding: 8px 14px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--light);
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  padding: 9px 18px !important;
  font-size: 0.65rem !important;
}

/* Hamburger */
#ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  padding: 0;
}
#ham span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
#ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
#mob-nav {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: oklch(3% 0.003 75 / 97%);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#mob-nav.open { opacity: 1; pointer-events: all; }

.mob-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
}

.mob-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.mob-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  width: 100%;
  justify-content: center;
  transform: translateX(30px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
#mob-nav.open .mob-link          { transform: translateX(0); opacity: 1; }
#mob-nav.open .mob-link:nth-child(1) { transition-delay: 0.06s; }
#mob-nav.open .mob-link:nth-child(2) { transition-delay: 0.10s; }
#mob-nav.open .mob-link:nth-child(3) { transition-delay: 0.14s; }
#mob-nav.open .mob-link:nth-child(4) { transition-delay: 0.18s; }
#mob-nav.open .mob-link:nth-child(5) { transition-delay: 0.22s; }

.mob-link span {
  font-size: 0.6rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.mob-link:hover { color: var(--gold); }

.mob-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.mob-soc a {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.mob-cta {
  padding: 14px 40px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: all 0.3s;
}
.mob-cta:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════
   11. HERO
═══════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -8%;
  background: url('../img/hero.jpg') center / cover no-repeat;
}
@media (min-width: 769px) {
  .hero-bg { will-change: transform; }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, oklch(0% 0 0 / 82%) 0%, oklch(0% 0 0 / 46%) 38%, oklch(0% 0 0 / 8%) 68%, transparent 100%),
    linear-gradient(to bottom, oklch(0% 0 0 / 50%) 0%, oklch(0% 0 0 / 18%) 40%, transparent 70%),
    linear-gradient(to top, oklch(0% 0 0 / 42%) 0%, transparent 45%),
    linear-gradient(oklch(0% 0 0 / 18%), oklch(0% 0 0 / 18%));
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0;
  padding: 0 var(--px);
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
}

.hero-content {
  max-width: min(580px, 52%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-h1 {
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.word-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero-h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 0.92rem;
  color: oklch(80% 0.008 75 / 90%);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: oklch(70% 0.01 75 / 90%);
  opacity: 0;
  transform: translateY(16px);
  flex-wrap: wrap;
}

.hero-trust-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.45;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
}

.scroll-indicator-text {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(66% 0.01 75 / 75%);
}

.scroll-indicator-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollpulse 1.8s ease-in-out infinite;
}

@keyframes scrollpulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50%       { opacity: 1;    transform: scaleY(1.08) translateY(3px); }
}

/* ═══════════════════════════════════════════════════
   12. TRUST BAR
═══════════════════════════════════════════════════ */
#trust {
  background: var(--bg1);
  border-top: 1px solid var(--line-dim);
  border-bottom: 1px solid var(--line-dim);
}

.trust-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--line-dim);
  position: relative;
  overflow: hidden;
  transition: background 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-card:last-child { border-right: none; }

.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.trust-card:hover { background: oklch(72% 0.1 75 / 3%); transform: translateY(-4px); }
.trust-card:hover::before { transform: translateX(100%); }
.trust-card:hover .tc-icon { transform: scale(1.1) rotate(6deg); }

.tc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.tc-info h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}
.tc-info p { font-size: 0.7rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════
   13. NASZ PROCES (#about)
═══════════════════════════════════════════════════ */
#about { background: var(--bg1); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: 64px;
}

.about-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg2);
  cursor: default;
}

.about-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-cell:hover img { transform: scale(1.06); }

.about-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, oklch(0% 0 0 / 90%) 0%, oklch(0% 0 0 / 48%) 45%, oklch(0% 0 0 / 10%) 100%);
  pointer-events: none;
}

.about-cell-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(20px, 3vw, 40px);
  z-index: 1;
}

.about-cell-num {
  display: block;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  transition: opacity 0.4s;
  user-select: none;
}
.about-cell:hover .about-cell-num { opacity: 0.8; }

.about-cell-title {
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.about-cell-desc {
  font-size: 0.8rem;
  color: oklch(88% 0.01 75 / 90%);
  line-height: 1.75;
  max-width: 36ch;
}

/* ═══════════════════════════════════════════════════
   14. BEFORE / AFTER
═══════════════════════════════════════════════════ */
#portfolio { background: var(--bg); }

.ba-stage {
  max-width: 820px;
  margin: 0 auto;
}

.ba-stage-slider { width: 100%; }

.ba-stage-meta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-meta-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.p-tile {
  padding: 16px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bord);
  border-radius: var(--r);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.p-tile-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.p-tile h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

.ba-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: col-resize;
  border: 1px solid oklch(72% 0.1 75 / 18%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.65);
  user-select: none;
}

.ba-before, .ba-after-layer {
  position: absolute;
  inset: 0;
}

.ba-before img, .ba-after-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-lbl {
  position: absolute;
  bottom: 16px;
  padding: 5px 14px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  pointer-events: none;
}
.ba-lbl-b {
  left: 16px;
  background: oklch(0% 0 0 / 55%);
  color: var(--light);
  border: 1px solid var(--line-dim);
}
.ba-lbl-a { right: 16px; background: var(--gold); color: #000; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  pointer-events: none;
}

.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 3px oklch(72% 0.1 75 / 20%);
}

.ba-tabs-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.ba-tabs {
  display: flex;
  gap: 4px;
  background: oklch(100% 0 0 / 3%);
  border: 1px solid var(--line-dim);
  border-radius: 40px;
  padding: 5px;
}

.ba-tab {
  padding: 7px 18px;
  border-radius: 30px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.ba-tab.on {
  background: var(--gold);
  color: oklch(6% 0.005 75);
  font-weight: 600;
}
.ba-tab:not(.on):hover { color: var(--white); }

/* ═══════════════════════════════════════════════════
   15. SERVICES
═══════════════════════════════════════════════════ */
#services { background: var(--bg1); }

.svc-list {
  margin-top: 52px;
}

.svc-row {
  display: grid;
  grid-template-columns: 52px 1fr 20px;
  gap: 0 20px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--glass-bord);
  text-decoration: none;
  transition: border-color 0.3s ease-out;
  cursor: pointer;
}
.svc-list .svc-row:first-child { border-top: 1px solid var(--glass-bord); }

.svc-row-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.45;
  line-height: 1;
  letter-spacing: -0.03em;
  transition: opacity 0.3s ease-out;
  align-self: start;
  padding-top: 2px;
}

.svc-row-body { min-width: 0; }

.svc-row-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-row-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.75;
}

.svc-row-arrow {
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease-out, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
  align-self: center;
}

/* Pointer devices only — no sticky hover on touch */
@media (hover: hover) and (pointer: fine) {
  .svc-row:hover { border-color: oklch(72% 0.1 75 / 40%); }
  .svc-row:hover .svc-row-num { opacity: 0.85; }
  .svc-row:hover .svc-row-title { transform: translateX(4px); }
  .svc-row:hover .svc-row-arrow { opacity: 1; transform: translateX(0); }
}

/* Touch active feedback */
@media (hover: none) {
  .svc-row:active { border-color: oklch(72% 0.1 75 / 30%); }
  .svc-row:active .svc-row-num { opacity: 0.45; }
}

/* ═══════════════════════════════════════════════════
   15b. CENNIK
═══════════════════════════════════════════════════ */
#cennik { background: var(--bg); }

.price-list { margin-top: 52px; }

.price-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--glass-bord);
}
.price-list .price-row:first-child { border-top: 1px solid var(--glass-bord); }

.price-row-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.45;
  line-height: 1;
  letter-spacing: -0.03em;
  align-self: start;
  padding-top: 3px;
}
.price-row--featured .price-row-num { opacity: 0.9; }

.price-row-body { min-width: 0; }

.price-row-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.price-row--featured .price-row-title { color: var(--gold); }

.price-row-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

.price-row-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.price-row-amount {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-row--featured .price-row-amount { color: var(--gold); }

.price-row-unit {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 600px) {
  .price-row {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding: 24px 0;
  }
  .price-row-price {
    grid-column: 2;
    margin-top: 10px;
  }
  .price-row-amount { font-size: 2rem; }
}

/* ═══════════════════════════════════════════════════
   16. PROCESS
═══════════════════════════════════════════════════ */
#process { background: var(--bg); }

.proc-list {
  margin-top: 72px;
  border-top: 1px solid var(--line-dim);
}

.proc-item {
  display: grid;
  grid-template-columns: 160px 1px 1fr;
  column-gap: 52px;
  align-items: center;
  padding: 52px 0;
  border-bottom: 1px solid var(--line-dim);
  position: relative;
}

.proc-item::before {
  content: '';
  position: absolute;
  inset: 0 calc(-1 * var(--px));
  background: oklch(72% 0.1 75 / 0%);
  transition: background 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}
.proc-item:hover::before { background: oklch(72% 0.1 75 / 2.8%); }

.proc-num-col {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.proc-num {
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  opacity: 0.45;
  letter-spacing: -0.04em;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}
.proc-item:hover .proc-num { opacity: 0.7; }

.proc-rule {
  width: 1px;
  align-self: stretch;
  background: var(--line-dim);
  position: relative;
  z-index: 1;
  transition: background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.proc-item:hover .proc-rule {
  background: oklch(72% 0.1 75 / 45%);
  box-shadow: 0 0 10px oklch(72% 0.1 75 / 22%);
}

.proc-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proc-step-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.proc-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.proc-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 48ch;
}

/* ═══════════════════════════════════════════════════
   17. GALLERY + LIGHTBOX
═══════════════════════════════════════════════════ */
#gallery { background: var(--bg1); }
#gallery .section { padding-top: 80px; }

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.masonry-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.masonry-item:nth-child(2n) { margin-top: 28px; }

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.15) 50%, transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s;
}

.masonry-overlay span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transform: translateY(8px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.masonry-item:hover img { transform: scale(1.07); }
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-item:hover .masonry-overlay span { transform: translateY(0); }

.masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: border-color 0.35s;
  pointer-events: none;
}
.masonry-item:hover::after { border-color: oklch(72% 0.1 75 / 35%); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(2% 0.003 75 / 92%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1300px);
  max-height: 88vh;
  border-radius: var(--r);
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.open .lightbox-img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: oklch(100% 0 0 / 8%);
  border: 1px solid var(--line-dim);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: oklch(100% 0 0 / 16%); }


/* ═══════════════════════════════════════════════════
   19. CTA FULLSCREEN
═══════════════════════════════════════════════════ */
#cta-full {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: -8%;
  background: url('../img/hero.jpg') center / cover no-repeat;
}
@media (min-width: 769px) {
  .cta-bg { will-change: transform; }
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: oklch(2% 0.003 75 / 82%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 20px 0 24px;
}

.cta-sub {
  font-size: 0.88rem;
  color: oklch(70% 0.01 75 / 70%);
  line-height: 1.7;
  margin-bottom: 44px;
}

/* ═══════════════════════════════════════════════════
   20. CONTACT
═══════════════════════════════════════════════════ */
#contact { background: var(--bg1); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bord);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.c-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-dim);
  text-decoration: none;
  transition: background 0.25s;
}
.c-row:last-child { border-bottom: none; }
.c-row:hover { background: oklch(72% 0.1 75 / 3%); }

.c-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gold-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.c-row .lbl {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.c-row .val { font-size: 0.82rem; font-weight: 500; color: var(--white); }

.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bord);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

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

.field label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  background: oklch(0% 0 0 / 42%);
  border: 1px solid var(--line-dim);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder { color: oklch(45% 0.01 75 / 55%); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: oklch(72% 0.1 75 / 50%);
  box-shadow: 0 0 0 3px oklch(72% 0.1 75 / 9%);
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field select option { background: oklch(10% 0.006 75); color: var(--white); }

.field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.form-submit p { font-size: 0.7rem; color: var(--muted); }

.soc-row { display: flex; gap: 10px; }

.soc {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}
.soc:hover { border-color: var(--gold); background: var(--gold-dim); }

/* ═══════════════════════════════════════════════════
   21. FOOTER
═══════════════════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line-dim);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, oklch(72% 0.1 75 / 5%), transparent);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-col { display: flex; flex-direction: column; }

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 28px; width: auto; }

.footer-h4 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-v-links { display: flex; flex-direction: column; gap: 10px; }
.footer-v-links a,
.footer-v-links span {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-v-links a:hover { color: var(--gold); }

.footer-credit-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-credit-link:hover { opacity: 0.75; }

/* ═══════════════════════════════════════════════════
   22. STICKY MOBILE BAR
═══════════════════════════════════════════════════ */
#sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 700;
  height: 60px;
  padding: 0 16px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: oklch(4% 0.004 75 / 98%);
  border-top: 1px solid var(--line-dim);
  gap: 10px;
  align-items: center;
}

.sticky-call {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: all 0.25s;
}
.sticky-call:hover { border-color: var(--gold); color: var(--gold); }

.sticky-book {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  transition: background 0.25s;
}
.sticky-book:hover { background: var(--gold-lt); }

/* ═══════════════════════════════════════════════════
   23. RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
}

@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  .nav-links, .nav-cta { display: none; }
  #ham { display: flex; }
  #sticky { display: flex; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-card:nth-child(2) { border-right: none; }
  .trust-card:nth-child(3) { border-top: 1px solid var(--line-dim); }
  .trust-card:nth-child(4) { border-top: 1px solid var(--line-dim); border-right: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

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

@media (max-width: 768px) {
  .hero-content { max-width: 100%; }
  .hero-h1 { margin-bottom: 20px; }
  .hero-sub { margin-bottom: 28px; }
  .hero-actions { margin-bottom: 32px; }

  .about-grid { grid-template-columns: 1fr; gap: 3px; }
  .about-cell { aspect-ratio: 16 / 9; }

  .proc-item {
    grid-template-columns: 1fr;
    padding: 36px 0;
    gap: 0;
  }
  .proc-rule { display: none; }
  .proc-num-col { justify-content: flex-start; margin-bottom: 8px; }
  .proc-num { font-size: clamp(2.8rem, 11vw, 4rem); opacity: 0.4; }

  .svc-row { grid-template-columns: 40px 1fr 18px; gap: 0 14px; padding: 22px 0; }

  .masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-item:nth-child(2n) { margin-top: 0; }

}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .masonry-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 70px var(--px); }
  .svc-row-title { font-size: 1.2rem; }
  .cta-h2 { font-size: 2.1rem; }
}

/* ═══════════════════════════════════════════════════
   24. SHARED UTILITIES (used by local.css pages too)
═══════════════════════════════════════════════════ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--light);
  line-height: 1.55;
}

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
