/* ═══════════════════════════════════════════════════════════════
   SB-GARDEN — design system
   Rejestr: warm editorial craft. Fraunces (display) + Jost (body).
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* neutralne, ocieplone w stronę drewna */
  --cream:    #F8F3E9;   /* tło strony */
  --cream-2:  #F1EADA;   /* tło subtelne */
  --linen:    #E7DDC8;   /* powierzchnie / bordery jasne */
  --sand:     #D3C4A4;   /* border mocniejszy */
  --ink:      #2B1A0D;   /* tekst na jasnym */
  --muted:    #77644F;   /* tekst drugorzędny na jasnym */

  --dark:     #150C05;   /* najciemniejsze (stopka) */
  --dark-2:   #1E1309;   /* sekcje ciemne */
  --dark-3:   #2A1B0E;   /* powierzchnia uniesiona na ciemnym */
  --dark-line:#3C2A18;   /* border na ciemnym */
  --on-dark:  #F6EEDF;   /* tekst na ciemnym */
  --on-dark-2:rgba(246,238,223,.68);

  /* akcent */
  --honey:        #C8892E;
  --honey-bright: #E3A94D;
  --copper:       #96601F;  /* akcent jako tekst na jasnym */
  --honey-weak:   rgba(200,137,46,.12);

  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans:  'Jost', 'Segoe UI', system-ui, sans-serif;

  /* typografia */
  --fs-hero:  clamp(2.75rem, 6.2vw, 5.5rem);
  --fs-h2:    clamp(2rem, 4vw, 3.4rem);
  --fs-h3:    clamp(1.3rem, 2vw, 1.7rem);
  --fs-lead:  clamp(1.02rem, 1.4vw, 1.16rem);
  --fs-label: .74rem;

  /* rytm */
  --sec-y: clamp(4.5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 5vw, 3rem);

  --r-s: 6px; --r-m: 12px; --r-l: 20px;

  --shadow-1: 0 1px 2px rgba(43,26,13,.05), 0 8px 28px rgba(43,26,13,.08);
  --shadow-2: 0 2px 4px rgba(43,26,13,.06), 0 24px 56px rgba(43,26,13,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--honey); color: var(--dark); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--honey); }

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 2px; }

.container { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1400px; }

section { padding-block: var(--sec-y); }

/* ─── Nagłówki sekcji ─────────────────────────────────────── */
.sec-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 1.1rem;
}
.on-dark .sec-label { color: var(--honey-bright); }

.sec-title {
  font-family: var(--serif);
  font-size: var(--fs-h2); font-weight: 600;
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink);
}
.on-dark .sec-title { color: var(--on-dark); }
.sec-title em { font-style: italic; color: var(--copper); }

.sec-intro { max-width: 62ch; margin-top: 1.2rem; color: var(--muted); font-size: var(--fs-lead); line-height: 1.75; }
.on-dark .sec-intro { color: var(--on-dark-2); }

/* ─── Przyciski ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 1.02rem 1.9rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--honey); color: var(--dark); box-shadow: 0 10px 28px rgba(200,137,46,.35); }
.btn--primary:hover { background: var(--honey-bright); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--on-dark); border: 1px solid rgba(246,238,223,.38); }
.btn--ghost:hover { border-color: var(--honey-bright); color: var(--honey-bright); transform: translateY(-2px); }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--dark-3); transform: translateY(-2px); }

.btn--line { background: transparent; color: var(--copper); border: 1px solid var(--sand); }
.btn--line:hover { border-color: var(--copper); transform: translateY(-2px); }

/* ─── NAV ─────────────────────────────────────────────────── */
#navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--gutter);
  height: 84px;
  transition: transform .4s var(--ease), background .35s, box-shadow .35s, height .35s;
}
#navbar.scrolled {
  background: rgba(248,243,233,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(43,26,13,.08), 0 12px 32px rgba(43,26,13,.06);
  height: 68px;
}
#navbar.hidden { transform: translateY(-100%); }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; transition: height .35s; }
#navbar.scrolled .nav-logo img { height: 40px; width: 40px; }
.nav-logo-text {
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .02em; color: var(--cream); line-height: 1.15; white-space: nowrap;
  transition: color .35s;
}
.nav-logo-text span {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(248,243,233,.65); transition: color .35s;
}
#navbar.scrolled .nav-logo-text, .nav-solid .nav-logo-text { color: var(--ink); }
#navbar.scrolled .nav-logo-text span, .nav-solid .nav-logo-text span { color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: rgba(248,243,233,.92); text-decoration: none;
  padding: .4rem 0; position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--honey);
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
#navbar.scrolled .nav-links a, .nav-solid .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--honey-bright); }
#navbar.scrolled .nav-links a:hover, .nav-solid .nav-links a:hover { color: var(--copper); }

.nav-cta {
  border: 1px solid rgba(248,243,233,.4); border-radius: 999px;
  padding: .55rem 1.3rem !important;
}
.nav-cta::after { display: none; }
#navbar.scrolled .nav-cta, .nav-solid .nav-cta { border-color: var(--sand); }
.nav-cta:hover { background: var(--honey); border-color: var(--honey) !important; color: var(--dark) !important; }

.nav-soon-pill {
  font-size: .56rem; letter-spacing: .1em; vertical-align: super;
  color: var(--honey-bright); margin-left: 4px;
}

/* dropdown Oferta */
.nav-drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #FDFAF3; border: 1px solid var(--linen); border-radius: var(--r-m);
  box-shadow: var(--shadow-2);
  padding: .9rem; width: 460px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.nav-drop::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-links li:hover .nav-drop, .nav-links li:focus-within .nav-drop {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-drop a {
  display: flex; align-items: baseline; gap: 10px;
  padding: .55rem .8rem !important; border-radius: 8px;
  font-size: .78rem !important; letter-spacing: .06em; text-transform: none !important;
  color: var(--ink) !important;
}
.nav-drop a::after { display: none; }
.nav-drop a:hover { background: var(--honey-weak); color: var(--copper) !important; }
.nav-drop a i { font-style: normal; font-family: var(--serif); font-size: .68rem; color: var(--sand); }
.nav-drop a:hover i { color: var(--honey); }
.nav-drop .nav-drop-all {
  grid-column: 1 / -1; margin-top: 4px; border-top: 1px solid var(--linen);
  color: var(--copper) !important; font-weight: 600;
}

/* language switcher */
.lang-switcher { display: flex; gap: 4px; align-items: center; }
.lang-btn {
  background: none; border: 1px solid transparent; padding: 4px 6px; border-radius: 8px;
  cursor: pointer; opacity: .5; display: flex; align-items: center; transition: all .2s;
}
.lang-btn .fi { width: 21px; height: 15px; border-radius: 3px; display: block; }
.lang-btn:hover { opacity: .9; }
.lang-btn.active { opacity: 1; border-color: rgba(248,243,233,.35); background: rgba(248,243,233,.12); }
#navbar.scrolled .lang-btn.active, .nav-solid .lang-btn.active { border-color: var(--sand); background: var(--cream-2); }

/* hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 10px; cursor: pointer;
  background: none; border: none; z-index: 130;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--cream); border-radius: 2px; transition: all .35s var(--ease); }
#navbar.scrolled .nav-toggle span, .nav-solid .nav-toggle span { background: var(--ink); }
body.menu-open .nav-toggle span { background: var(--cream) !important; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile menu overlay */
#mobileMenu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--dark-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(5.5rem + env(safe-area-inset-top, 0px)) var(--gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px));
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-height: 720px) {
  #mobileMenu { justify-content: flex-start; }
  #mobileMenu nav a { font-size: clamp(1.4rem, 5.5vh, 2rem); padding: .3rem 0; }
}
body.menu-open #mobileMenu { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
body.menu-open #navbar {
  z-index: 130; transform: none;
  background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.menu-open .nav-logo-text { color: var(--on-dark) !important; }
body.menu-open .nav-logo-text span { color: var(--on-dark-2) !important; }
#mobileMenu nav a {
  display: block; text-decoration: none;
  font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 600;
  color: var(--on-dark); padding: .45rem 0; letter-spacing: -0.01em;
  transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease), color .25s;
}
#mobileMenu nav a:hover { color: var(--honey-bright); }
body.menu-open #mobileMenu nav a { transform: translateY(0); opacity: 1; }
#mobileMenu nav a:nth-child(1) { transition-delay: .05s; }
#mobileMenu nav a:nth-child(2) { transition-delay: .1s; }
#mobileMenu nav a:nth-child(3) { transition-delay: .15s; }
#mobileMenu nav a:nth-child(4) { transition-delay: .2s; }
#mobileMenu nav a:nth-child(5) { transition-delay: .25s; }
#mobileMenu .mm-cats {
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--dark-line);
  display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.5rem;
}
#mobileMenu .mm-cats a {
  font-family: var(--sans); font-size: .92rem; font-weight: 400;
  color: var(--on-dark-2); padding: .35rem 0; text-decoration: none;
  transition: color .2s;
}
#mobileMenu .mm-cats a:hover { color: var(--honey-bright); }

/* ─── HERO ────────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding: 0;
  display: flex; align-items: center;
  background: var(--dark-2);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; z-index: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-slide:first-child { object-position: 62% center; }
.hero-slide.is-active {
  opacity: 1; z-index: 1;
  animation: kenburns 8s var(--ease) forwards;
}
@keyframes kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 62% 56% at 30% 44%, rgba(18,10,4,.5), transparent 72%),
    linear-gradient(96deg, rgba(18,10,4,.9) 10%, rgba(18,10,4,.62) 45%, rgba(18,10,4,.24) 70%, rgba(18,10,4,.08) 100%),
    linear-gradient(to top, rgba(18,10,4,.94) 0%, rgba(18,10,4,.3) 24%, transparent 48%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; padding-block: 9rem 7rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: var(--fs-label); letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  color: var(--honey-bright); margin-bottom: 1.6rem;
  text-shadow: 0 1px 14px rgba(18,10,4,.85), 0 1px 3px rgba(18,10,4,.6);
}
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.028em;
  color: #FBF7EE; max-width: 15ch;
  text-shadow: 0 2px 28px rgba(18,10,4,.5), 0 1px 4px rgba(18,10,4,.35);
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--honey-bright); }
.hero-sub {
  margin-top: 1.6rem; max-width: 52ch;
  font-size: var(--fs-lead); font-weight: 300; line-height: 1.75;
  color: rgba(246,238,223,.9);
  text-shadow: 0 1px 12px rgba(18,10,4,.7), 0 1px 3px rgba(18,10,4,.5);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.6rem; }

/* wejście hero */
.hero-tag, .hero-title, .hero-sub, .hero-btns { opacity: 0; transform: translateY(26px); }
body.loaded .hero-tag, body.loaded .hero-title, body.loaded .hero-sub, body.loaded .hero-btns {
  opacity: 1; transform: translateY(0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
body.loaded .hero-title { transition-delay: .12s; }
body.loaded .hero-sub { transition-delay: .24s; }
body.loaded .hero-btns { transition-delay: .36s; }

/* ─── MARQUEE ─────────────────────────────────────────────── */
.marquee {
  background: var(--dark); border-block: 1px solid var(--dark-line);
  overflow: hidden; padding: 1.15rem 0; position: relative;
}
#marqueeTrack { display: flex; width: max-content; animation: mq 36s linear infinite; }
.marquee:hover #marqueeTrack { animation-play-state: paused; }
.mq-seq { display: flex; align-items: center; }
.mq-item {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.05rem; letter-spacing: .04em;
  color: rgba(246,238,223,.6); white-space: nowrap;
}
.mq-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--honey); margin: 0 2rem; flex-shrink: 0; opacity: .7; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── STATS ───────────────────────────────────────────────── */
.stats { padding-block: 0; background: var(--cream); border-bottom: 1px solid var(--linen); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 2.4rem 1.5rem; text-align: left;
  border-left: 1px solid var(--linen);
}
.stat:first-child { border-left: none; }
.stat b {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--ink);
}
.stat b sup { font-size: .5em; color: var(--copper); }
.stat span { display: block; margin-top: .5rem; font-size: .8rem; letter-spacing: .06em; color: var(--muted); }

/* ─── O NAS ───────────────────────────────────────────────── */
#o-nas .about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media .frame {
  border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 3.4;
}
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media::before {
  content: ''; position: absolute; inset: 26px -26px -26px 26px;
  border: 1px solid var(--sand); border-radius: var(--r-l); z-index: -1;
}
.about-badge {
  position: absolute; right: -18px; bottom: 30px;
  background: var(--dark-2); color: var(--on-dark);
  border-radius: 14px; padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow-2); text-align: center;
}
.about-badge b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--honey-bright); line-height: 1.1; }
.about-badge span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.about-body p { color: var(--muted); margin-top: 1.1rem; max-width: 58ch; font-size: .97rem; line-height: 1.8; }
.about-body p:first-of-type { margin-top: 1.6rem; color: var(--ink); font-size: var(--fs-lead); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
.feature { border-top: 2px solid var(--linen); padding-top: 1rem; transition: border-color .3s; }
.feature:hover { border-color: var(--honey); }
.feature b { display: block; font-family: var(--serif); font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.feature span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ─── OFERTA (bento) ──────────────────────────────────────── */
#oferta { background: var(--cream-2); }
.offer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.2rem; flex-wrap: wrap; }
.offer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-l); text-decoration: none;
  background: var(--dark-2); min-height: 300px;
  box-shadow: var(--shadow-1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.tile--lg { grid-column: span 3; aspect-ratio: 16 / 10.5; }
.tile--md { grid-column: span 2; aspect-ratio: 4 / 4.4; }
.tile--wide { grid-column: span 3; aspect-ratio: 16 / 8.5; }

.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,9,3,.88) 0%, rgba(16,9,3,.38) 45%, rgba(16,9,3,.06) 70%, rgba(16,9,3,.18) 100%);
  transition: background .4s;
}
.tile-num {
  position: absolute; top: 1.2rem; left: 1.4rem; z-index: 2;
  font-family: var(--serif); font-style: italic; font-size: .95rem;
  color: rgba(246,238,223,.75);
}
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.5rem 1.6rem; }
.tile-body h3 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem); color: #FBF7EE;
}
.tile-body p {
  margin-top: .45rem; font-size: .84rem; line-height: 1.6; font-weight: 300;
  color: rgba(246,238,223,.78); max-width: 46ch;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tile-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: .9rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--honey-bright);
}
.tile-cta svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.tile:hover .tile-cta svg { transform: translateX(5px); }

/* kafelek bez zdjęcia */
.tile--soon { background:
  repeating-linear-gradient(-52deg, transparent 0 22px, rgba(246,238,223,.028) 22px 23px),
  linear-gradient(150deg, var(--dark-3), var(--dark-2) 68%);
}
.tile--soon::after { background: none; }
.tile-soon-chip {
  position: absolute; top: 1.2rem; right: 1.3rem; z-index: 2;
  font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--honey-bright); border: 1px solid rgba(227,169,77,.4);
  padding: .34rem .7rem; border-radius: 999px;
}
.tile--soon .tile-ghost {
  position: absolute; right: -1rem; bottom: -2.2rem;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(6rem, 10vw, 9rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(246,238,223,.09);
  user-select: none; pointer-events: none;
}

/* ─── PROCES ──────────────────────────────────────────────── */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.6rem); margin-top: 3.4rem; }
.proc-step { position: relative; border-top: 1px solid var(--sand); padding-top: 1.5rem; }
.proc-step::before {
  content: ''; position: absolute; top: -3px; left: 0;
  width: 42px; height: 5px; border-radius: 3px; background: var(--honey);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .15s;
}
.reveal.visible .proc-step::before, .proc-step.visible::before { transform: scaleX(1); }
.proc-step i {
  font-style: normal; font-family: var(--serif); font-style: italic;
  font-size: .95rem; color: var(--copper);
}
.proc-step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; margin-top: .5rem; color: var(--ink); letter-spacing: -0.01em; }
.proc-step p { margin-top: .55rem; font-size: .88rem; line-height: 1.7; color: var(--muted); }

/* ─── KONFIGURATOR (zapowiedź) ────────────────────────────── */
#konfigurator { background: var(--dark-2); position: relative; overflow: hidden; }
#konfigurator::before {
  content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200,137,46,.14), transparent 65%);
  pointer-events: none;
}
.konf-grid {
  display: grid; grid-template-columns: 1fr .92fr; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center; position: relative;
}
.konf-copy .btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.2rem; }
.konf-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--honey-bright); border: 1px solid rgba(227,169,77,.45);
  border-radius: 999px; padding: .42rem .9rem; margin-bottom: 1.4rem;
}
.konf-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--honey-bright);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* makieta konfiguratora (CSS) */
.konf-mock-wrap { position: relative; perspective: 1200px; }
.konf-mock {
  background: #FDFAF3; border-radius: var(--r-l);
  box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 8px 24px rgba(0,0,0,.3);
  padding: 1.5rem 1.5rem 1.6rem;
  transform: rotateY(-7deg) rotateX(3deg) rotate(1.2deg);
  transition: transform .8s var(--ease);
}
.konf-mock-wrap:hover .konf-mock { transform: rotateY(-2deg) rotateX(1deg) rotate(0.4deg); }
.konf-mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.konf-mock-head b { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.konf-mock-head .chip {
  font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--honey-weak); color: var(--copper);
  padding: .3rem .65rem; border-radius: 999px;
}
.konf-preview {
  border-radius: var(--r-m); aspect-ratio: 16/8.2;
  background: linear-gradient(160deg, #E9DFC9, #D8C9A6);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; position: relative; overflow: hidden;
}
.konf-preview::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 34%;
  background: linear-gradient(to top, rgba(122,90,44,.22), transparent);
}
.konf-preview svg { width: 34%; height: auto; color: var(--copper); opacity: .9; }
.konf-row { display: flex; justify-content: space-between; align-items: center; padding: .68rem 0; border-bottom: 1px dashed var(--linen); gap: 1rem; }
.konf-row label { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.konf-row .val { font-size: .82rem; color: var(--ink); font-weight: 500; }
.konf-swatches { display: flex; gap: 7px; }
.konf-swatches i {
  width: 20px; height: 20px; border-radius: 50%; display: block;
  border: 2px solid transparent;
}
.konf-swatches i:nth-child(1) { background: #D9B98A; }
.konf-swatches i:nth-child(2) { background: #8E5A2B; border-color: var(--honey); box-shadow: 0 0 0 2px #FDFAF3 inset; }
.konf-swatches i:nth-child(3) { background: #4C4743; }
.konf-price { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; }
.konf-price .num {
  font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--ink);
  filter: blur(6px); user-select: none;
}
.konf-mock .btn { width: 100%; justify-content: center; margin-top: 1.1rem; opacity: .92; }

/* ─── REALIZACJE ──────────────────────────────────────────── */
#realizacje { background: var(--cream); overflow: hidden; }
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.work-nav { display: flex; gap: 10px; align-items: center; }
.strip-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--sand); background: transparent; color: var(--ink);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.strip-btn:hover { background: var(--honey); border-color: var(--honey); color: var(--dark); transform: translateY(-2px); }

.work-strip {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.work-strip::-webkit-scrollbar { display: none; }
.work-item {
  flex: 0 0 auto; scroll-snap-align: start;
  width: clamp(230px, 26vw, 340px); height: clamp(280px, 30vw, 400px);
  border-radius: var(--r-m); overflow: hidden; position: relative;
  cursor: zoom-in; background: var(--linen);
}
.work-item:nth-child(4n+2) { width: clamp(290px, 34vw, 440px); }
.work-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.work-item:hover img { transform: scale(1.05); }
.work-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,10,4,.28), transparent 40%);
  opacity: 0; transition: opacity .4s;
}
.work-item:hover::after { opacity: 1; }
.work-hint { margin-top: .6rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.work-count { font-family: var(--serif); font-style: italic; color: var(--copper); }

/* ─── KONTAKT ─────────────────────────────────────────────── */
#kontakt { background: var(--dark-2); color: var(--on-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }

.contact-items { margin-top: 2.6rem; display: flex; flex-direction: column; }
.contact-item {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.15rem 0; border-top: 1px solid var(--dark-line);
  text-decoration: none; transition: padding-left .3s var(--ease);
}
.contact-item:last-child { border-bottom: 1px solid var(--dark-line); }
.contact-item:hover { padding-left: 8px; }
.contact-item .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  background: rgba(200,137,46,.14); color: var(--honey-bright);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ci-icon svg { width: 19px; height: 19px; }
.contact-item b { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--honey-bright); }
.contact-item span { font-size: 1.02rem; color: var(--on-dark); }
.contact-item:hover span { color: var(--honey-bright); }

/* formularz */
.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-size: .64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: rgba(246,238,223,.55); }
.form-group input, .form-group textarea, .form-group select {
  background: transparent; border: none; border-bottom: 1px solid var(--dark-line);
  border-radius: 0; color: var(--on-dark); font-family: var(--sans);
  font-size: 1rem; padding: .55rem 2px .8rem;
  transition: border-color .25s, box-shadow .25s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(246,238,223,.28); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--honey); box-shadow: 0 1px 0 var(--honey);
}
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--dark-2); color: var(--on-dark); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; right: 6px; bottom: 18px;
  width: 8px; height: 8px; border-right: 1.5px solid var(--honey); border-bottom: 1.5px solid var(--honey);
  transform: rotate(45deg); pointer-events: none;
}
.select-wrap select { width: 100%; }

.upload-zone {
  border: 1.5px dashed var(--dark-line); border-radius: var(--r-m);
  padding: 1.4rem 1rem; text-align: center; cursor: pointer;
  transition: border-color .25s, background .25s; position: relative;
}
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--honey); background: rgba(200,137,46,.06); }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-zone svg { width: 26px; height: 26px; color: rgba(246,238,223,.4); margin-bottom: .5rem; }
.upload-hint { font-size: .78rem; color: rgba(246,238,223,.45); line-height: 1.5; }
.upload-hint strong { color: var(--honey-bright); display: block; font-size: .82rem; font-weight: 500; margin-bottom: .15rem; }
.upload-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .9rem; justify-content: center; }
.upload-preview { position: relative; width: 62px; height: 62px; border-radius: 8px; overflow: hidden; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview-remove {
  position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(18,10,4,.85); border: none; color: #fff; font-size: .8rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.form-foot { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.form-note { font-size: .74rem; color: rgba(246,238,223,.4); line-height: 1.6; max-width: 40ch; }
.form-msg {
  display: none; align-items: flex-start; gap: 12px;
  padding: 1.6rem 1.8rem; border-radius: var(--r-m); font-size: .95rem; line-height: 1.65;
}
.form-msg svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
#formSuccess { background: rgba(74,122,58,.16); border: 1px solid rgba(125,171,106,.4); color: #BFE0B2; }
#formError { background: rgba(180,50,50,.14); border: 1px solid rgba(200,90,80,.35); color: #EBB4AB; }
#formError a { color: inherit; }

/* ─── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--dark); color: var(--on-dark-2); padding: 0 0 2rem; }
.foot-word {
  display: block; text-align: center; user-select: none;
  font-family: var(--serif); font-weight: 700; letter-spacing: .04em; line-height: 1;
  font-size: clamp(3.2rem, 12vw, 9.5rem);
  color: transparent; -webkit-text-stroke: 1px rgba(200,137,46,.28);
  padding: clamp(2rem, 5vw, 3.5rem) 0 0;
  white-space: nowrap; overflow: hidden;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--dark-line);
}
.foot-brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.foot-brand img { height: 52px; width: 52px; border-radius: 50%; }
.foot-brand p { font-size: .88rem; line-height: 1.7; max-width: 30ch; }
.foot-col h4 {
  font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--honey-bright); margin-bottom: 1.1rem;
}
.foot-col a {
  display: block; text-decoration: none; color: var(--on-dark-2);
  font-size: .88rem; padding: .28rem 0; transition: color .2s, padding-left .25s var(--ease);
}
.foot-col a:hover { color: var(--honey-bright); padding-left: 5px; }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-top: 1.8rem; flex-wrap: wrap;
  font-size: .74rem; color: rgba(246,238,223,.42);
}
.foot-bottom a { color: rgba(246,238,223,.6); text-decoration: none; }
.foot-bottom a:hover { color: var(--honey-bright); }
.foot-credit { display: flex; align-items: center; gap: 12px; }
.foot-credit img { height: 32px; border-radius: 4px; display: block; opacity: .95; transition: opacity .2s; }
.foot-credit a:hover img { opacity: .7; }

/* ─── LIGHTBOX ────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(14,8,3,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw; max-height: 86vh; object-fit: contain;
  border-radius: var(--r-s); box-shadow: 0 30px 90px rgba(0,0,0,.7);
  user-select: none;
}
.lb-btn {
  position: absolute; background: rgba(246,238,223,.06); border: 1px solid rgba(246,238,223,.16);
  color: rgba(246,238,223,.85); cursor: pointer; border-radius: 50%;
  width: 52px; height: 52px; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease); font-family: var(--sans);
}
.lb-btn:hover { background: var(--honey); border-color: var(--honey); color: var(--dark); }
.lb-close { top: 22px; right: 26px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: .74rem; letter-spacing: .16em; color: rgba(246,238,223,.5);
}

/* ─── PODSTRONY KATEGORII ─────────────────────────────────── */
.cat-hero { padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; }
.cat-hero .crumb {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4rem;
}
.cat-hero .crumb a { color: var(--copper); text-decoration: none; }
.cat-hero .crumb a:hover { text-decoration: underline; }
.cat-hero .crumb i { font-style: normal; color: var(--sand); }
.cat-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.cat-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em;
  color: var(--ink);
}
.cat-hero .cat-lead { margin-top: 1.4rem; font-size: var(--fs-lead); color: var(--muted); max-width: 54ch; line-height: 1.75; }
.cat-hero .btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.2rem; }
.cat-hero-media { position: relative; }
.cat-hero-media .frame { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 4/3; }
.cat-hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.cat-hero-media .big-num {
  position: absolute; z-index: -1; top: -18%; right: -4%;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(7rem, 16vw, 13rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--sand);
  user-select: none;
}

.cat-text { padding-block: 0 var(--sec-y); }
.cat-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); border-top: 1px solid var(--linen); padding-top: clamp(2.5rem, 5vw, 4rem); }
.cat-text-grid p { color: var(--muted); line-height: 1.85; font-size: .98rem; max-width: 58ch; }
.cat-text-grid p:first-child { color: var(--ink); font-size: var(--fs-lead); }

.cat-gallery { background: var(--cream-2); }
.cat-gallery .gal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.gal-sub { font-size: .8rem; color: var(--muted); letter-spacing: .06em; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal-item {
  border-radius: var(--r-m); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 3; background: var(--linen); position: relative;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,10,4,.24), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.gal-item:hover::after { opacity: 1; }

.gal-empty {
  border: 1.5px dashed var(--sand); border-radius: var(--r-l);
  padding: clamp(3rem, 7vw, 5.5rem) 2rem; text-align: center;
}
.gal-empty h3 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h3); color: var(--ink); }
.gal-empty p { margin: .9rem auto 1.8rem; max-width: 52ch; color: var(--muted); font-size: .95rem; }

/* nawigacja prev/next */
.cat-nav { padding-block: 0; border-top: 1px solid var(--linen); }
.cat-nav-grid { display: grid; grid-template-columns: 1fr 1fr; }
.cat-nav a {
  display: flex; flex-direction: column; gap: .5rem;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter);
  text-decoration: none; transition: background .3s;
}
.cat-nav a:first-child { border-right: 1px solid var(--linen); text-align: left; }
.cat-nav a:last-child { text-align: right; align-items: flex-end; }
.cat-nav a:hover { background: var(--cream-2); }
.cat-nav .dir { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.cat-nav .dir svg { width: 14px; height: 14px; }
.cat-nav b { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--ink); letter-spacing: -0.01em; transition: color .25s; }
.cat-nav a:hover b { color: var(--copper); }

/* pasek CTA */
.cta-band { background: var(--dark-2); }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.015em; color: var(--on-dark); }
.cta-band p { margin-top: .5rem; color: var(--on-dark-2); font-size: .95rem; }

/* ─── STRONA KONFIGURATORA ────────────────────────────────── */
.kpage-hero { text-align: center; padding-top: clamp(8.5rem, 18vh, 12rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.kpage-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -0.025em; line-height: 1.05;
  color: var(--ink); margin-top: 1.2rem;
}
.kpage-hero p { margin: 1.4rem auto 0; max-width: 56ch; color: var(--muted); font-size: var(--fs-lead); line-height: 1.75; }
.kpage-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper); border: 1px solid var(--sand);
  border-radius: 999px; padding: .45rem 1rem;
}
.kpage-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--honey); animation: blink 1.8s ease-in-out infinite; }

.kpage-mock { padding-block: clamp(2rem, 4vw, 3.5rem) var(--sec-y); }
.kpage-mock .konf-mock { transform: none; max-width: 660px; margin-inline: auto; box-shadow: var(--shadow-2); }
.kpage-steps { background: var(--cream-2); }
.kpage-steps .proc-grid { grid-template-columns: repeat(3, 1fr); }

/* ─── REVEAL ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .48s; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .tile--lg, .tile--md, .tile--wide { grid-column: span 1; aspect-ratio: 4/3.4; }
  .konf-grid { grid-template-columns: 1fr; }
  .konf-mock { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  #navbar .lang-switcher { display: none; }
}

@media (max-width: 900px) {
  #o-nas .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cat-hero-grid { grid-template-columns: 1fr; }
  .cat-text-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--linen); }
  .stat:nth-child(-n+2) { border-top: none; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .kpage-steps .proc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 76px; }
  #navbar { height: 72px; }
  .hero-inner { padding-block: 7.5rem 4.5rem; }
  .hero-btns { margin-top: 2.1rem; }
  .offer-grid { grid-template-columns: 1fr; }
  .tile-body { padding: 1.2rem 1.25rem; }
  .tile-num { top: 1rem; left: 1.1rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; gap: 1rem; }
  .form-foot .btn { width: 100%; justify-content: center; }
  .form-note { max-width: none; text-align: center; }
  .features { grid-template-columns: 1fr; gap: 1.2rem; }
  .proc-grid { grid-template-columns: 1fr; gap: 1.8rem; margin-top: 2.4rem; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cat-nav-grid { grid-template-columns: 1fr; }
  .cat-nav a:first-child { border-right: none; border-bottom: 1px solid var(--linen); }
  .cat-nav a:last-child { text-align: left; align-items: flex-start; }
  .cat-hero { padding-top: 6.5rem; }
  .cat-hero-media .big-num { display: none; }
  .kpage-hero { padding-top: 7rem; }
  .about-badge { right: 8px; bottom: -18px; padding: .85rem 1.15rem; }
  .about-badge b { font-size: 1.5rem; }
  .about-media::before { display: none; }
  .hero-slide:first-child { object-position: 58% center; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .work-item { width: 78vw; height: 62vw; }
  .work-item:nth-child(4n+2) { width: 78vw; }
  .work-head { margin-bottom: 1.8rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .konf-mock-wrap { perspective: none; }
  .konf-mock { transform: none; padding: 1.2rem 1.15rem 1.3rem; }
  .konf-mock-wrap:hover .konf-mock { transform: none; }
  .kpage-mock .konf-mock { padding: 1.2rem 1.15rem 1.3rem; }
  .stat { padding: 1.7rem 1.1rem; }
  .contact-items { margin-top: 1.8rem; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lightbox img { max-width: 96vw; max-height: 82vh; }
  .sec-intro { font-size: 1rem; }
}

/* ─── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slide.is-active { animation: none; transform: none; }
  .reveal, .reveal-stagger > *, .hero-tag, .hero-title, .hero-sub, .hero-btns { opacity: 1; transform: none; }
  #marqueeTrack { animation: none; }
}

/* ─── Placeholder hero dla kategorii bez zdjęć ────────────── */
.frame--soon {
  background:
    repeating-linear-gradient(-52deg, transparent 0 22px, rgba(246,238,223,.028) 22px 23px),
    linear-gradient(150deg, var(--dark-3), var(--dark-2) 68%);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.frame--soon .ghost {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(6rem, 12vw, 10rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(246,238,223,.12);
  user-select: none;
}
.frame--soon .tile-soon-chip { position: absolute; top: auto; right: auto; bottom: 1.4rem; }

/* ─── Języki w menu mobilnym ──────────────────────────────── */
.mm-langs { display: flex; gap: 12px; margin-top: 2.2rem; }
#mobileMenu .lang-btn { padding: 9px 11px; }
#mobileMenu .lang-btn .fi { width: 27px; height: 20px; }
#mobileMenu .lang-btn.active { border-color: rgba(246,238,223,.4); background: rgba(246,238,223,.1); }
