/* =========================================================
   DEKORATORNIA BY PTASZEK - arkusz stylów
   Paleta: delikatna zieleń, beże, kremy, złoto
   Mobile-first, czysto i elegancko
   ========================================================= */

/* ---------- Zmienne ---------- */
:root {
  /* kolory */
  --cream:      #FFFFFF;
  --cream-2:    #FAF8F4;
  --beige:      #E8DFD3;
  --taupe:      #C9BBA8;
  --sage:       #A8B5A0;
  --sage-deep:  #7E8B76;
  --gold:       #C2A56B;
  --gold-deep:  #A9884E;
  --ink:        #2E2E2B;
  --muted:      #6B6A63;
  --white:      #FFFFFF;

  /* typografia */
  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* wymiary */
  --maxw: 1200px;
  --header-h: 92px;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(46, 46, 43, 0.10);
  --shadow-sm: 0 4px 18px rgba(46, 46, 43, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 17px;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.7rem, 7.5vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 3.5vw, 1.85rem); }
p { margin-bottom: 1rem; }
.lead { font-size: 1.18rem; color: var(--muted); font-weight: 300; line-height: 1.8; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.1rem;
  position: relative;
}
.script {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sage-deep);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { padding: 84px 0; }
@media (min-width: 768px) { section { padding: 116px 0; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); }

/* cienka złota linia zamiast ornamentów */
.divider { width: 56px; height: 1px; background: var(--gold); margin: 22px auto; border: 0; opacity: 0.9; }
.divider.left { margin-left: 0; }

/* tła sekcji naprzemienne */
.bg-cream  { background: var(--cream); }
.bg-cream2 { background: var(--cream-2); }
.bg-beige  { background: var(--beige); }
.bg-sage   { background: var(--sage); color: var(--ink); }
.bg-ink    { background: var(--ink); color: var(--cream); }
.bg-white  { background: var(--white); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--cream); }

/* ---------- Przyciski ---------- */
.btn {
  position: relative;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 17px 42px;
  border: 1px solid var(--gold-deep);
  background: transparent;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-deep);
  transform: scaleX(1); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.btn:hover { color: var(--gold-deep); }
.btn:hover::before { transform: scaleX(0); transform-origin: right; }

/* zaokrąglenia (elegancko, nowocześnie) - poza zdjęciami galerii obok siebie */
.btn { border-radius: 9px; }
.service-card, .contact-card, .cat-tile, .download-card,
.split-media img, .detail-strip a, .detail-strip img,
.book-page, .fb-fallback, .form-status { border-radius: var(--radius); }
.hero-media video, .hero-media img { border-radius: 0; }

/* wariant obrysowy (wypełnia się na hover) */
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline::before { background: var(--ink); transform: scaleX(0); transform-origin: right; }
.btn-outline:hover { color: #fff; }
.btn-outline:hover::before { transform: scaleX(1); transform-origin: left; }

/* wariant jasny (na ciemnym tle / hero) */
.btn-light { border-color: rgba(255,255,255,0.65); color: #fff; }
.btn-light::before { background: #fff; transform: scaleX(0); transform-origin: right; }
.btn-light:hover { color: var(--ink); }
.btn-light:hover::before { transform: scaleX(1); transform-origin: left; }

/* =========================================================
   HEADER / NAWIGACJA
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(194, 165, 107, 0.25);
  transition: background 0.3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 68px; width: auto; }
@media (min-width: 940px) { .brand img { height: 76px; } }
.brand .brand-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: 0; cursor: pointer; z-index: 110;
}
.nav-toggle span { display: block; height: 1.5px; width: 26px; background: var(--ink); transition: all 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.main-nav {
  position: fixed; top: 0; right: 0; left: auto;
  height: 100vh; height: 100dvh;
  width: min(84vw, 340px);
  background: var(--cream);
  box-shadow: -10px 0 40px rgba(46,46,43,0.12);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: calc(var(--header-h) + 20px) 34px 40px;
  overflow-y: auto;
}
.main-nav.open { transform: translateX(0); }
.main-nav ul { display: flex; flex-direction: column; gap: 4px; }
.main-nav a {
  display: block; padding: 12px 0;
  font-size: 1.05rem; letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(194,165,107,0.18);
  transition: color 0.25s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-deep); }

/* rozwijana galeria */
.has-sub > .sub-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: 0; font: inherit; cursor: pointer;
  padding: 12px 0; color: inherit; letter-spacing: 0.05em; font-size: 1.05rem;
  border-bottom: 1px solid rgba(194,165,107,0.18);
}
.has-sub .chev { transition: transform 0.3s var(--ease); font-size: 0.8rem; color: var(--gold-deep); }
.has-sub.open .chev { transform: rotate(180deg); }
.submenu { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.has-sub.open .submenu { max-height: 360px; }
.submenu a { padding: 10px 0 10px 18px; font-size: 0.95rem; color: var(--muted); border-bottom: 0; }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(46,46,43,0.35);
  opacity: 0; visibility: hidden; transition: all 0.35s var(--ease); z-index: 90;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

/* nawigacja na desktopie */
@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .nav-overlay { display: none; }
  .main-nav {
    position: static; width: auto; height: auto; transform: none; box-shadow: none;
    background: none; padding: 0; overflow: visible;
  }
  .main-nav > ul { flex-direction: row; align-items: center; gap: 30px; }
  .main-nav > ul > li { display: flex; align-items: center; }
  .main-nav a, .has-sub > .sub-toggle {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    border: 0; padding: 8px 0; font-size: 0.72rem; letter-spacing: 0.16em;
    text-transform: uppercase; line-height: 1;
  }
  .main-nav .chev { font-size: 0.58rem; line-height: 1; }
  .main-nav > ul > li > a::after, .has-sub > .sub-toggle::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; background: var(--gold);
    width: 0; transition: width 0.3s var(--ease);
  }
  .main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after,
  .has-sub:hover > .sub-toggle::after, .has-sub > .sub-toggle.active::after { width: 100%; }

  /* dropdown galerii */
  .has-sub { position: relative; }
  .has-sub .chev { transform: rotate(0); }
  .submenu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    max-height: none; overflow: visible;
    background: var(--cream); min-width: 230px; padding: 8px 0;
    box-shadow: var(--shadow); border-bottom: 2px solid var(--gold); border-radius: 6px;
    opacity: 0; visibility: hidden; transition: all 0.28s var(--ease);
  }
  .has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .submenu a { display: block; width: 100%; padding: 12px 26px; text-transform: none; letter-spacing: 0.02em; font-size: 0.9rem; position: relative; }
  .submenu a::after {
    content: ""; position: absolute; left: 26px; right: 26px; bottom: 7px; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
  }
  .submenu a:hover { color: var(--gold-deep); }
  .submenu a:hover::after { transform: scaleX(1); }
  .has-sub.open .submenu { max-height: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--white); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(46,46,43,0.48) 0%, rgba(46,46,43,0.32) 45%, rgba(46,46,43,0.66) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; padding: 0 30px; }
.hero .eyebrow { color: var(--taupe); }
.hero h1 { color: var(--white); margin-bottom: 10px; font-weight: 400; letter-spacing: 0.005em; }
.hero .tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 3vw, 1.5rem); color: var(--cream); margin-bottom: 28px; }
.hero .divider { background: var(--taupe); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1px solid rgba(255,255,255,0.6); border-radius: 12px;
}
.scroll-cue::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: var(--white); border-radius: 2px;
  animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0;transform:translate(-50%,12px);} 100%{opacity:0;} }

/* ---------- Wyróżniki / usługi ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: 1fr 1fr; } }

.feature { text-align: center; padding: 8px; }
.feature .num { font-family: var(--font-serif); font-style: italic; font-size: 2.7rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 16px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* karta usługi z ceną */
.service-card {
  background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid rgba(194,165,107,0.20);
  padding: 42px 36px; text-align: center; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card h3 { margin-bottom: 12px; }
.service-card .price { font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; color: var(--gold-deep); margin: 14px 0 4px; }
.service-card .price small { display: block; font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.service-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Blok tekst + media ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse .split-media { order: 2; } }
.split-media img, .split-media video { width: 100%; box-shadow: var(--shadow); border-radius: var(--radius); }
.split-body .eyebrow { margin-bottom: 0.6rem; }

/* placeholder na zdjęcie */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--beige), var(--beige) 12px, var(--cream-2) 12px, var(--cream-2) 24px);
  color: var(--muted); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--taupe); aspect-ratio: 4/5; padding: 20px;
}
.ph.wide { aspect-ratio: 16/10; }
.ph.square { aspect-ratio: 1/1; }

/* =========================================================
   GALERIA
   ========================================================= */
.cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.cat-grid .cat-tile { flex: 1 1 100%; }
@media (min-width: 620px) { .cat-grid .cat-tile { flex: 0 1 calc(50% - 11px); } }
@media (min-width: 940px) { .cat-grid .cat-tile { flex: 0 1 calc(33.333% - 15px); } }
.cat-tile {
  position: relative; aspect-ratio: 3/4; overflow: hidden; display: block;
  background: var(--ink); box-shadow: var(--shadow-sm);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); opacity: 0.9; }
/* Miniaturka "Wesele w plenerze" - przesunięcie w lewo, żeby postać nie była ucięta (mobile + desktop) */
.cat-tile img[src*="wesele-plener-01"] { object-position: 22% center; }
.cat-tile:hover img { transform: scale(1.06); opacity: 0.7; }
.cat-tile .cat-label {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-align: center; padding: 20px;
  background: linear-gradient(180deg, rgba(46,46,43,0.15), rgba(46,46,43,0.45));
}
.cat-tile .cat-label h3 { color: var(--white); font-size: 1.7rem; }
.cat-tile .cat-label span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 8px; opacity: 0.9; }

/* galeria - układ „justified" (równe rzędy, zdjęcia w naturalnych proporcjach) */
.masonry { display: flex; flex-wrap: wrap; gap: 10px; }
.masonry .shot { position: relative; height: 190px; flex-grow: 1; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); background: var(--cream-2); }
@media (min-width: 640px) { .masonry { gap: 12px; } .masonry .shot { height: 250px; } }
@media (min-width: 1040px) { .masonry .shot { height: 300px; } }
.masonry .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.masonry .shot::after { content: ""; position: absolute; inset: 0; background: rgba(46,46,43,0); transition: background 0.4s var(--ease); }
.masonry .shot:hover img { transform: scale(1.05); }
.masonry .shot:hover::after { background: rgba(46,46,43,0.10); }
/* wypełniacz ostatniego rzędu (żeby ostatnie kafle nie były rozciągane) */
.masonry::after { content: ""; flex-grow: 1000; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(30,30,28,0.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox .lb-close { position: absolute; top: 22px; right: 28px; font-size: 2.2rem; color: var(--cream); background: none; border: 0; cursor: pointer; line-height: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.6rem; color: var(--cream); background: none; border: 0; cursor: pointer; padding: 10px 18px; opacity: 0.8; }
.lightbox .lb-nav:hover { opacity: 1; }
.lb-prev { left: 6px; } .lb-next { right: 6px; }

/* =========================================================
   FORMULARZ / KONTAKT
   ========================================================= */
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-info .ci-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 2px; }
.contact-info a:hover { color: var(--gold-deep); }

form .field { margin-bottom: 20px; }
form label { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.form-wrap { max-width: 780px; margin: 0 auto; }
.contact-info-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 52px; margin-top: 8px; }
.contact-info-row li { list-style: none; }
.contact-info-row .ci-label { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 3px; }
.contact-info-row a { font-size: 1.08rem; }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; padding: 42px 24px; background: var(--white); border: 1px solid rgba(194,165,107,0.22); box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .cc-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; color: var(--gold-deep); margin-bottom: 6px; }
.contact-card .cc-icon svg { width: 24px; height: 24px; }
.contact-card .cc-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.contact-card .cc-value { font-family: var(--font-serif); font-size: 1.14rem; color: var(--ink); word-break: break-word; }
a.contact-card:hover .cc-value { color: var(--gold-deep); }
form input, form select, form textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  padding: 13px 15px; background: var(--white); border: 1px solid var(--taupe); border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
form input:focus, form select:focus, form textarea:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,165,107,0.15);
}
form textarea { resize: vertical; min-height: 130px; }
form .row { display: grid; gap: 20px; }
@media (min-width: 560px) { form .row { grid-template-columns: 1fr 1fr; } }
.field-error { border-color: #c0392b !important; }
.error-msg { color: #c0392b; font-size: 0.82rem; margin-top: 5px; display: none; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.email-hint { display: none; font-size: 0.82rem; margin-top: 6px; padding: 8px 12px; border-radius: var(--radius); background: #faf4e8; color: #7a6335; border: 1px solid #e6d5ae; }
.email-hint.show { display: block; }
.email-hint button { font: inherit; color: #7a6335; background: none; border: 0; padding: 0; margin: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.email-hint button:hover { color: var(--gold); }
.form-status { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; display: none; font-size: 0.95rem; }
.form-status.ok { display: block; background: #e8f0e6; color: #3f5c39; border: 1px solid var(--sage); }
.form-status.err { display: block; background: #f7e6e4; color: #a03027; border: 1px solid #d9a59f; }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: auto; margin-top: 5px; }
.consent label { text-transform: none; letter-spacing: 0; font-size: 0.82rem; color: var(--muted); }

/* formularz dynamiczny (różny dla typu uroczystości) */
.form-group { display: none; }
.form-group.active { display: block; }
.form-subhead { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; margin: 30px 0 16px; padding-top: 22px; border-top: 1px solid rgba(194,165,107,0.25); }
.check-grid { display: grid; grid-template-columns: 1fr; gap: 11px; }
@media (min-width: 520px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink); font-weight: 300; cursor: pointer; text-transform: none; letter-spacing: 0; margin: 0; }
.choice input, .consent input { width: 18px; height: 18px; min-width: 18px; padding: 0; border: 0; background: none; box-shadow: none; margin: 3px 0 0; accent-color: var(--gold-deep); flex: 0 0 auto; }
.choice input:focus, .consent input:focus { box-shadow: none; outline: 2px solid rgba(194,165,107,0.5); outline-offset: 1px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.radio-row .choice { font-size: 0.92rem; }

/* ---------- Pasek CTA (ciemny, kontrast dla jasnej stopki) ---------- */
.cta-band { text-align: center; padding: 100px 0; background: var(--ink); color: var(--cream); }
.cta-band h2 { margin-bottom: 8px; color: var(--cream); }
.cta-band p { color: var(--beige); max-width: 560px; margin: 0 auto 26px; }

/* ---------- Social CTA (koniec galerii) ---------- */
.social-cta { background: var(--ink); color: var(--cream); text-align: center; padding: 100px 0; }
.social-cta h2 { color: var(--cream); margin-bottom: 8px; }
.social-cta p { color: var(--beige); max-width: 520px; margin: 0 auto 32px; }
.social-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.social-btns a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border: 1px solid rgba(255,255,255,0.4); color: #fff; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.35s var(--ease); }
.social-btns a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.social-btns svg { width: 18px; height: 18px; }

/* ---------- Wideo blok ---------- */
.video-band { position: relative; min-height: 70vh; margin-bottom: -1px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; }
.video-band video, .video-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.video-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(46,46,43,0.5); }
.video-band .container { position: relative; }
.video-band h2 { color: var(--white); }
/* Na mobile przesuwamy to zdjęcie w lewo, żeby postać po lewej nie była ucięta */
.video-band img.bg-left { object-position: 22% center; }
@media (min-width: 768px) { .video-band img.bg-left { object-position: center; } }

/* =========================================================
   STOPKA
   ========================================================= */
.site-footer { background: var(--cream); color: var(--muted); font-size: 0.92rem; border-top: 1px solid rgba(194,165,107,0.35); }
.site-footer a { color: var(--ink); transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--gold-deep); }
.footer-main { display: flex; flex-direction: column; align-items: center; gap: 44px; padding: 72px 0 52px; text-align: center; }
@media (min-width: 900px) { .footer-main { flex-direction: row; align-items: center; text-align: left; gap: 72px; } }
.footer-brand { flex: 0 0 auto; }
.footer-logo { height: 118px; width: auto; margin: 0 auto 10px; display: block; }
@media (min-width: 900px) { .footer-logo { height: 150px; margin: 0 0 10px; } }
.footer-brand .tagline { font-style: italic; font-family: var(--font-serif); color: var(--sage-deep); font-size: 1.2rem; }
.footer-cols { flex: 1 1 auto; display: grid; grid-template-columns: 1fr; gap: 32px; width: 100%; }
@media (min-width: 560px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: left; } }
.footer-cols h4 { color: var(--ink); font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.footer-desc { color: var(--muted); margin-bottom: 0; max-width: 240px; }
.footer-links li, .footer-contact li { margin-bottom: 11px; }
.footer-contact .ci-label { display: block; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1px; }
.social { display: flex; gap: 12px; justify-content: center; margin-top: 4px; }
@media (min-width: 560px) { .social { justify-content: flex-start; } }
.social a { width: 42px; height: 42px; border: 1px solid rgba(46,46,43,0.22); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: all 0.3s var(--ease); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.social svg { width: 17px; height: 17px; }
/* Social w sekcji intro na stronie głównej */
.intro-social { margin-top: 34px; text-align: center; }
.intro-social .eyebrow { display: block; margin-bottom: 12px; }
.social.social--center { justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(46,46,43,0.12); padding: 26px 0 8px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; font-size: 0.78rem; color: var(--muted); }
@media (min-width: 660px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-credit-link { letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.72rem; color: var(--ink); font-weight: 500; }
.footer-credit-link:hover { color: var(--gold-deep); }

/* ---------- Nagłówek strony (podstrony) ---------- */
.page-hero {
  margin-top: var(--header-h); padding: 70px 0; text-align: center;
  background: var(--cream-2); border-bottom: 1px solid rgba(194,165,107,0.2);
}
.page-hero h1 { margin-bottom: 6px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; }
/* okruszki nawigacyjne (breadcrumbs) - ukryte na życzenie */
.breadcrumb { display: none; }

/* ---------- Animacje ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* płynne wejście całej strony */
body { animation: pageIn 0.65s var(--ease) both; }

/* pojawianie elementów przy przewijaniu */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
/* delikatny stagger w siatkach */
.grid .reveal:nth-child(2), .cat-grid .reveal:nth-child(2), .detail-strip .reveal:nth-child(2) { transition-delay: 0.09s; }
.grid .reveal:nth-child(3), .cat-grid .reveal:nth-child(3) { transition-delay: 0.18s; }
.grid .reveal:nth-child(4) { transition-delay: 0.27s; }

/* sekwencyjne wejście hero po załadowaniu */
.hero-inner > * { animation: fadeUp 0.9s var(--ease) both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.28s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.40s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.52s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.64s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.76s; }
.scroll-cue { animation: fadeUp 1s var(--ease) 1s both; }

/* nagłówek - subtelne wejście (tylko opacity, bez transform, by nie tworzyć containing-block) */
.site-header { animation: pageIn 0.7s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  body, .hero-inner > *, .site-header, .scroll-cue { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Drobne ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.prose p { color: var(--muted); }
.prose h3 { margin: 1.6rem 0 0.6rem; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 30px; font-style: italic; }

/* ---------- Katalog cennika (flipbook) ---------- */
.book { max-width: 470px; margin: 0 auto; }
.book-stage { position: relative; }
.book-page { position: relative; width: 100%; aspect-ratio: 1013 / 1800; background: var(--cream-2); box-shadow: var(--shadow); overflow: hidden; perspective: 1600px; cursor: zoom-in; }
.book-page .pg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; }
.book-page .pg-base { z-index: 1; }
.book-page .pg-turn { z-index: 3; transform-origin: left center; box-shadow: 6px 0 24px rgba(46,46,43,0.22); }
.book-page.anim-next .pg-turn { animation: turnNext 0.55s var(--ease) forwards; }
.book-page.anim-prev .pg-turn { animation: turnPrev 0.55s var(--ease) forwards; }
@keyframes turnNext { from { transform: rotateY(0); } to { transform: rotateY(-165deg); } }
@keyframes turnPrev { from { transform: rotateY(-165deg); } to { transform: rotateY(0); } }
.book-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--taupe); background: var(--white); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); transition: all .25s var(--ease); display: flex; align-items: center; justify-content: center; }
.book-nav:hover:not([disabled]) { background: var(--gold); color: #fff; border-color: var(--gold); }
.book-nav[disabled] { opacity: .3; cursor: default; }
.book-prev { left: -8px; } .book-next { right: -8px; }
@media (min-width: 600px) { .book-prev { left: -26px; } .book-next { right: -26px; } }
.book-bar { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 24px; flex-wrap: wrap; }
.book-counter { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.book-hint { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 10px; }
.btn-sm { padding: 12px 26px; font-size: 0.68rem; }

/* flipbook StPageFlip */
.book-wrap { max-width: 820px; margin: 0 auto; }
.flipbook { margin: 0 auto; touch-action: pan-y; }
.flipbook img { width: 100%; height: 100%; display: block; }
.flipbook .stf__parent { margin: 0 auto; box-shadow: 0 24px 60px rgba(46,46,43,0.22); }
.fb-fallback { max-width: 430px; margin: 0 auto; aspect-ratio: 1013 / 1800; box-shadow: var(--shadow); cursor: zoom-in; }
.fb-fallback img { width: 100%; height: 100%; object-fit: cover; }
.book-bar { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.book-bar .book-nav { position: static; transform: none; }
.book-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.book-hint { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 14px; letter-spacing: .02em; }

/* podgląd pełnoekranowy katalogu */
.book-fs { position: fixed; inset: 0; z-index: 200; background: rgba(30,30,28,.93); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); }
.book-fs.open { opacity: 1; visibility: visible; }
.book-fs img { max-width: 92vw; max-height: 88vh; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.book-fs .bf-close { position: absolute; top: 20px; right: 26px; font-size: 2.2rem; color: var(--cream); background: none; border: 0; cursor: pointer; line-height: 1; }
.book-fs .bf-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.6rem; color: var(--cream); background: none; border: 0; cursor: pointer; padding: 10px 18px; opacity: .8; }
.book-fs .bf-nav:hover { opacity: 1; } .bf-prev { left: 6px; } .bf-next { right: 6px; }

/* ---------- Karta pobrania (formularz / cennik) ---------- */
.download-card { display: flex; gap: 24px; align-items: center; background: var(--white); border: 1px solid rgba(194,165,107,0.28); box-shadow: var(--shadow-sm); padding: 30px 32px; border-radius: var(--radius); }
.download-card .dc-icon { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; color: var(--gold-deep); }
.download-card .dc-icon svg { width: 26px; height: 26px; }
.download-card h3 { margin-bottom: 6px; }
.download-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
@media (max-width: 540px) { .download-card { flex-direction: column; text-align: center; } }

/* ---------- Katalog: pełny ekran (dwie strony) ---------- */
.book-wrap:fullscreen { background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3vh 2vw; }
.book-wrap:fullscreen .flipbook { flex: 1 1 auto; display: flex; align-items: center; }
.book-wrap:fullscreen .book-bar, .book-wrap:fullscreen .book-hint { display: none; }
.book-wrap:fullscreen .book-actions { margin-top: 16px; }
.book-wrap:fullscreen .book-fs-open { color: #fff; border-color: rgba(255,255,255,.6); }

/* ---------- Karuzela realizacji (hub galerii) ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 4px 22px; -webkit-overflow-scrolling: touch;
  scroll-padding: 0 4px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .cat-tile { scroll-snap-align: center; flex: 0 0 78%; aspect-ratio: 4 / 5; }
@media (min-width: 620px) { .carousel-track .cat-tile { flex-basis: 44%; } }
@media (min-width: 940px) { .carousel-track .cat-tile { flex-basis: 30.5%; } }
.carousel-track .cat-tile .cat-label h3 { font-size: 1.9rem; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--taupe);
  background: var(--white); color: var(--ink); font-size: 1.6rem; line-height: 1;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: all .25s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.carousel-prev { left: -6px; } .carousel-next { right: -6px; }
@media (min-width: 1100px) { .carousel-prev { left: -26px; } .carousel-next { right: -26px; } }
.carousel-dots { display: flex; gap: 9px; justify-content: center; margin-top: 8px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--taupe); opacity: .5; cursor: pointer; transition: all .25s var(--ease); padding: 0; }
.carousel-dots button.active { opacity: 1; background: var(--gold-deep); transform: scale(1.25); }

/* ---------- Podpis pod zdjęciem / detal ---------- */
.media-caption { font-family: var(--font-serif); font-style: italic; color: var(--sage-deep); text-align: center; margin-top: 14px; font-size: 1.05rem; }
.detail-strip { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .detail-strip { grid-template-columns: repeat(3, 1fr); } }
.detail-strip a { display: block; overflow: hidden; box-shadow: var(--shadow-sm); }
.detail-strip img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.detail-strip a:hover img { transform: scale(1.06); }

/* ---------- Opis kategorii galerii: jednolite kadrowanie zdjęć ---------- */
.cat-desc .split-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Baner zgody (cookies / polityka prywatności) ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--cream-2); color: var(--ink); border-top: 1px solid rgba(194,165,107,0.35); box-shadow: 0 -8px 30px rgba(46,46,43,0.14); transform: translateY(115%); transition: transform .5s var(--ease); }
.cookie-bar.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
@media (min-width: 800px) { .cookie-inner { flex-direction: row; justify-content: space-between; gap: 30px; } }
.cookie-bar p { margin: 0; font-size: 0.88rem; line-height: 1.6; color: var(--muted); text-align: center; }
@media (min-width: 800px) { .cookie-bar p { text-align: left; } }
.cookie-bar a { color: var(--gold-deep); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 13px 30px; font-size: 0.68rem; }

/* ---------- Podstrona tekstowa (polityka prywatności) ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 7px; }
.legal .updated { font-size: 0.85rem; color: var(--muted); font-style: italic; }

/* ---------- Mobile: przesuwane karuzele (realizacje / co robimy) ---------- */
@media (max-width: 720px) {
  .swipe-mobile {
    display: flex !important; flex-wrap: nowrap !important;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    padding-bottom: 14px; margin: 0 -4px; padding-left: 4px; padding-right: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .swipe-mobile::-webkit-scrollbar { display: none; }
  .swipe-mobile > * { scroll-snap-align: center; flex: 0 0 82% !important; max-width: 82%; }
  .swipe-mobile .cat-tile { aspect-ratio: 4 / 5; }
  /* w przesuwaniu wszystkie kafle od razu widoczne (bez animacji reveal) */
  .swipe-mobile > .reveal, .swipe-mobile > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Mobile: stopka jako akordeon ---------- */
@media (max-width: 719px) {
  .footer-main { gap: 26px; padding: 54px 0 40px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; text-align: center; width: 100%; }
  /* Nawigacja ukryta na mobile (menu jest na górze strony) */
  .footer-cols > div.acc { display: none; }
  /* Kontakt i Social - zawsze widoczne, wyśrodkowane */
  .social { justify-content: center; }
}

/* ---------- Realizacje: prosty swipe (bez przycisków) ---------- */
.tile-scroller {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px 4px 20px; margin: 0 -4px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tile-scroller::-webkit-scrollbar { display: none; }
.tile-scroller .cat-tile { scroll-snap-align: center; flex: 0 0 80%; aspect-ratio: 4 / 5; }
@media (min-width: 620px) { .tile-scroller .cat-tile { flex-basis: 46%; } }
@media (min-width: 940px) { .tile-scroller .cat-tile { flex-basis: 31%; } }

/* karuzela: na mobile bez strzałek (zostaje swipe + kropki) */
@media (max-width: 619px) { .carousel-btn { display: none; } }

/* ---------- Mobile: nagłówek chowa się przy scrollu w dół ---------- */
@media (max-width: 939px) {
  .site-header { transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease); will-change: transform; }
  .site-header.nav-hidden { transform: translateY(-100%); }
}
/* ---------- Ikonka scrolla (myszka) - ukryta na mobile ---------- */
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* hero: opis ukryty na mobile */
@media (max-width: 700px) { .hero-lead { display: none; } }
