:root {
	--bg: #0f0f0f;
	--bg-alt: #161616;
	--surface: #1d1d1d;
	--text: #e8e4dc;
	--muted: #9a958c;
	--accent: #b89b6a;
	--line: #2c2c2c;
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Montserrat", system-ui, sans-serif;
	--header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: rgba(15,15,15,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; color: var(--text); line-height: 1.1; }
.brand-logo { max-height: 56px; width: auto; }
.brand-name { font: 500 26px/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.brand-tag { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.primary-nav a { color: var(--text); font-size: 12px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; }
.primary-nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.nav-toggle span:not(.screen-reader-text) { display: block; height: 1px; background: var(--text); margin: 6px 0; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 520px; max-height: 960px; overflow: hidden; background: var(--bg-alt); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.slide figcaption { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, var(--bg)); pointer-events: none; }
.slider-btn, .hero-title { z-index: 2; }
.slide-empty { background: radial-gradient(circle at 30% 30%, #2a2622, var(--bg)); }
.hero-title { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); text-align: center; width: min(900px, 100% - 32px); }
.hero-title h1 { font: 400 clamp(40px, 7vw, 88px)/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.hero-title p { margin: 18px 0 0; font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--accent); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.2); color: var(--text); width: 52px; height: 52px; font-size: 32px; line-height: 1; cursor: pointer; transition: background .2s; }
.slider-btn:hover { background: var(--accent); }
.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section:nth-of-type(even) { background: var(--bg-alt); }
.page-content { padding-top: calc(var(--header-h) + 60px); }
.section-title { font: 400 clamp(34px, 4vw, 52px)/1.1 var(--serif); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 40px; }
.section-title::after { content: ""; display: block; width: 60px; height: 1px; background: var(--accent); margin-top: 22px; }
.entry { color: var(--text); }
.entry p { margin: 0 0 1.2em; }
.entry h2, .entry h3 { font-family: var(--serif); font-weight: 400; }
.btn { display: inline-block; margin-top: 16px; padding: 14px 34px; border: 1px solid var(--accent); color: var(--text); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; }
.btn:hover { background: var(--accent); color: var(--bg); }

.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery-item { overflow: hidden; display: block; background: var(--surface); }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease, filter .6s; filter: brightness(.85); }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1); }

.partners-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partners-grid li { background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 34px 26px; min-height: 130px; }
.partners-grid img { max-height: 60px; width: auto; filter: grayscale(1) invert(1) brightness(1.4); mix-blend-mode: screen; opacity: .75; transition: opacity .3s; }
.partners-grid li:hover img { opacity: 1; }
.partners-grid span { font: 400 20px var(--serif); letter-spacing: .1em; color: var(--muted); text-align: center; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.contact address { font-style: normal; color: var(--muted); }
.contact-list { list-style: none; margin: 0; padding: 0; font-size: 18px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: inline-block; min-width: 80px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; }
.lightbox-close { position: absolute; top: 16px; right: 24px; background: none; border: 0; color: var(--text); font-size: 42px; cursor: pointer; }

@media (max-width: 860px) {
	:root { --header-h: 68px; }
	.brand-name { font-size: 20px; }
	.nav-toggle { display: block; }
	.primary-nav { position: fixed; inset: var(--header-h) 0 auto; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; gap: 0; padding: 12px 16px 24px; }
	.primary-nav a { display: block; padding: 14px 0; }
	.about-grid, .contact-grid { grid-template-columns: 1fr; }
	.slider-btn { width: 40px; height: 40px; font-size: 24px; }
	.slider-btn.prev { left: 8px; } .slider-btn.next { right: 8px; }
}

/* Oferta */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.offer-item { position: relative; display: block; overflow: hidden; background: var(--surface); color: var(--text); }
.offer-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: brightness(.55); transition: transform .7s ease, filter .7s; }
.offer-item:hover img { transform: scale(1.06); filter: brightness(.4); }
.offer-item span { position: absolute; inset: auto 0 0; padding: 28px; font: 400 26px/1.2 var(--serif); letter-spacing: .05em; }
.offer-item span::after { content: "Zobacz \2192"; display: block; margin-top: 10px; font: 400 11px var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 860px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .offer-grid { grid-template-columns: 1fr; } }

/* Galerie na podstronach */
.entry .wp-block-gallery { gap: 12px; }
.entry .wp-block-gallery img { aspect-ratio: 4/3; object-fit: cover; }
.entry ul { padding-left: 1.2em; }
.back-link { display: inline-block; margin-bottom: 24px; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; }
.entry .wp-block-gallery.columns-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.entry .wp-block-gallery.columns-3 > .wp-block-image { width: auto !important; margin: 0 !important; }
