/* ================= Z intencją — light glam ================= */

:root {
  --bg: #f8f5ef;
  --bg-2: #f1ece2;
  --bg-3: #fffdf9;
  --wine: #3a2a32;
  --paper: #3a2a32;
  --muted: #7b7169;
  --gold: #8a6f45;
  --gold-soft: #b3a077;
  --rose: #8d7d6f;
  --border: rgba(58, 42, 50, 0.14);
  --border-gold: rgba(138, 111, 69, 0.3);
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', 'Helvetica Neue', sans-serif;
  --gutter: clamp(20px, 4.6vw, 76px);
  --section-space: clamp(76px, 9vw, 140px);
  --header-height: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(138, 111, 69, 0.08), transparent 60%),
    var(--bg);
  color: var(--wine);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

/* subtelna ziarnista tekstura — „papier" */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.04'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: #fff; }

.shell {
  width: min(calc(100% - var(--gutter) * 2), 1440px);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-editorial), Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* ---------- Pasek postępu + poświata kursora ---------- */

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--wine));
  z-index: 100;
  transition: width 0.1s linear;
}

.glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 111, 69, 0.07), transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
}

@media (hover: none) { .glow { display: none; } }

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  background: rgba(248, 245, 239, 0.85);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.3s;
}

.site-header[data-scrolled] { box-shadow: 0 1px 0 var(--border); }

.brand {
  font-family: var(--font-editorial), Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--wine);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.site-nav a {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

.site-nav a:hover { color: var(--wine); }

.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  color: var(--gold) !important;
  transition: background 0.3s, color 0.3s !important;
}

.nav-cta:hover { background: var(--wine); border-color: var(--wine); color: #fff !important; }

/* ---------- Wspólne elementy sekcji ---------- */

section { padding-block: var(--section-space); position: relative; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-bottom: 54px;
}

.section-meta {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.section-meta-right { color: var(--muted); text-align: right; }

.section-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.98;
  margin: 0;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-lead {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Przyciski ---------- */

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 0 0 0 23px;
  background: var(--wine);
  color: var(--bg);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
}

.pill-button > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-left: 1px solid rgba(248, 245, 239, 0.2);
}

.pill-button svg { transition: transform 0.35s var(--ease); }

.pill-button:hover { background: var(--gold); transform: translateY(-2px); }
.pill-button:hover svg { transform: translate(3px, -3px); }

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.quiet-link svg { transition: transform 0.3s var(--ease); }
.quiet-link:hover svg { transform: translate(3px, -3px); }

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(30px, 4vw, 56px) clamp(40px, 5vw, 64px);
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.label-rule { width: 24px; height: 1px; background: var(--border); }

.hero-title {
  font-size: clamp(4rem, 14vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin: clamp(18px, 3vw, 34px) 0 clamp(26px, 4vw, 48px);
}

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

.hero-line { display: block; overflow: hidden; }

.hero-line > span {
  display: block;
  animation: rise 1s var(--ease) both;
}

@keyframes rise {
  from { transform: translateY(105%); }
  to { transform: translateY(0); }
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  flex: 1;
}

.hero-visual { margin: 0; position: relative; }

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--border);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  animation: fade 1.4s var(--ease) both 0.3s;
  box-shadow: 0 30px 60px rgba(64, 35, 52, 0.14);
}

@keyframes fade {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

.hero-intro {
  font-family: var(--font-editorial), Georgia, serif;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 14px;
}

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

.hero-description {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
}

.hero-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 54px);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.credit-line { flex: 1; min-width: 40px; height: 1px; background: var(--border); }

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding: 1.1rem 0;
  white-space: nowrap;
  background: var(--wine);
}

.marquee-track {
  display: inline-flex;
  animation: scroll 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-editorial), Georgia, serif;
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  font-style: italic;
  letter-spacing: 0.05em;
  color: #e9e1d4;
  text-transform: lowercase;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Liczby ---------- */

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(56px, 7vw, 100px);
}

.stat { border-top: 1px solid var(--border-gold); padding-top: 20px; }

.stat-number {
  font-family: var(--font-editorial), Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  margin: 0 0 6px;
  color: var(--gold);
}

.stat-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Oferta ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.offer-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 38px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(64, 35, 52, 0.12);
}

.offer-card:hover::before { transform: scaleX(1); }

.offer-icon { font-size: 1.8rem; display: block; margin-bottom: 20px; }

.offer-index {
  margin: 0 0 14px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.offer-card h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin: 0 0 10px;
}

.offer-card p:last-child {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- Cytat ---------- */

.quote-section {
  background: var(--bg-2);
  border-block: 1px solid var(--border);
}

.quote-section blockquote { margin: 0; text-align: center; }

.quote-section p {
  font-family: var(--font-editorial), Georgia, serif;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.25;
  margin: 0 0 24px;
}

.quote-section em { font-style: italic; color: var(--gold); }

.quote-section footer {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Galeria ---------- */

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.filter-btn {
  padding: 9px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover { border-color: var(--gold); color: var(--gold); }

.filter-btn.active { background: var(--wine); border-color: var(--wine); color: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 240px;
  gap: clamp(14px, 1.8vw, 24px);
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  grid-row: span 2;
  box-shadow: 0 14px 34px rgba(64, 35, 52, 0.12);
}

.gallery-item--tall { grid-row: span 3; }

.gallery-item.is-hidden { display: none; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 18px 16px;
  background: linear-gradient(transparent, rgba(24, 12, 21, 0.88));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

.gallery-item h3 { font-size: 1.3rem; margin: 0; color: #f8f5ef; }

.gallery-item p {
  margin: 2px 0 0;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- O marce ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.about-visual { margin: 0; }

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(64, 35, 52, 0.18);
}

.about-visual figcaption {
  margin-top: 14px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-text .section-title { margin-bottom: 26px; }

.about-text p {
  max-width: 52ch;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 300;
}

.about-text strong { color: var(--wine); font-weight: 600; }

.about-text em { color: var(--gold); }

.about-text .quiet-link { margin-top: 14px; }

/* ---------- Kontakt ---------- */

.contact-section {
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(138, 111, 69, 0.10), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.contact-inner .section-lead { color: var(--muted); max-width: 46ch; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.pill-button-light {
  background: transparent;
  color: var(--wine);
  border: 1px solid var(--border);
}

.pill-button-light > span { border-left-color: var(--border); }

.pill-button-light:hover { background: var(--wine); color: var(--bg); }
.pill-button-light:hover > span { border-left-color: rgba(248, 245, 239, 0.2); }

/* ---------- Stopka ---------- */

.footer {
  background: var(--bg);
  padding-block: 38px 22px;
  border-top: 1px solid var(--border);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-main p { margin: 0; font-size: 0.75rem; color: var(--muted); }

.footer-brand {
  font-family: var(--font-editorial), Georgia, serif;
  font-size: 1.3rem !important;
  color: var(--wine) !important;
}

.footer-note {
  font-family: var(--font-editorial), Georgia, serif;
  font-style: italic;
  font-size: 0.95rem !important;
  color: var(--gold) !important;
}

/* ---------- Lightbox ---------- */

.lightbox {
  border: 1px solid var(--border);
  background: var(--bg-3);
  padding: 18px;
  max-width: min(92vw, 900px);
  color: var(--wine);
}

.lightbox::backdrop { background: rgba(24, 12, 21, 0.9); backdrop-filter: blur(6px); }

.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; }

.lightbox-caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover { color: var(--gold); }

/* ---------- Animacje ujawniania ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */

@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; align-items: start; }
  .hero-visual { order: 2; }
  .about-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 200px; }
}

@media (max-width: 640px) {
  .site-header { flex-direction: column; gap: 8px; padding-block: 12px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-meta-right { text-align: left; }
  .gallery-grid { grid-auto-rows: 170px; }
  .gallery-item, .gallery-item--tall { grid-row: span 2; }
  .footer-main { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-line > span, .hero-visual img, .hero-title em, .section-title em { animation: none; }
  .marquee-track { animation-duration: 120s; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
