:root {
  --ink: #171b13;
  --forest: #1c2117;
  --forest-2: #262d1e;
  --cream: #f3efe6;
  --paper: #faf8f2;
  --gold: #c89b51;
  --gold-light: #e3bd79;
  --muted: #77786f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); overflow-x: hidden; overflow-x: clip; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .035;
  background-image: repeating-radial-gradient(circle at 17% 23%, #000 0, #000 .45px, transparent .7px, transparent 4px);
  background-size: 7px 9px;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.scroll-progress { position: fixed; z-index: 1000; inset: 0 auto auto 0; width: var(--scroll-progress, 0%); height: 3px; background: linear-gradient(90deg, #9d692a, var(--gold-light), #e66c26); box-shadow: 0 0 16px rgba(227,189,121,.7); pointer-events: none; }
.ember-trail { position: fixed; z-index: 9; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .58; filter: saturate(1.08); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 104px; padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between; color: white;
  border-bottom: 1px solid rgba(255,255,255,.22); transition: height .35s, background .35s, backdrop-filter .35s, box-shadow .35s;
}
.site-header.scrolled { height: 76px; background: rgba(22,27,18,.9); backdrop-filter: blur(16px); box-shadow: 0 8px 35px rgba(0,0,0,.14); }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.site-header > .brand { position: relative; z-index: 3; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 4px 9px rgba(0,0,0,.22)); transition: transform .3s; }
.brand:hover .brand-logo { transform: rotate(-2deg) scale(1.04); }
.brand strong { display: block; font: 600 20px/1.1 var(--serif); letter-spacing: .01em; }
.brand small { display: block; margin-top: 5px; color: rgba(255,255,255,.62); font-size: 9px; text-transform: uppercase; letter-spacing: .25em; }
nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
nav a { transition: color .2s; }
nav a:hover { color: var(--gold-light); }
.nav-cta { padding: 14px 21px; border: 1px solid rgba(255,255,255,.6); }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 1px; margin: 6px; background: white; }

.hero { min-height: 780px; height: 100svh; position: relative; overflow: hidden; color: white; display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 55% center; animation: hero-breathe 18s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,8,.88) 0%, rgba(10,12,8,.58) 44%, rgba(10,12,8,.14) 76%), linear-gradient(0deg, rgba(10,12,8,.42), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(680px, 90vw); margin-left: 9vw; padding-top: 70px; transform: translate3d(0,var(--hero-shift,0),0); will-change: transform; }
.hero-content > * { opacity: 0; transform: translateY(24px); animation: hero-rise .85s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-content > :nth-child(1) { animation-delay: .15s; }
.hero-content > :nth-child(2) { animation-delay: .28s; }
.hero-content > :nth-child(3) { animation-delay: .42s; }
.hero-content > :nth-child(4) { animation-delay: .56s; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 23px; color: var(--gold-light); font-size: 11px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #a87937; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font: 600 clamp(60px, 7vw, 105px)/.93 var(--serif); letter-spacing: -.045em; max-width: 800px; }
h1 em, .contact h2 em { color: var(--gold-light); font-weight: 600; }
.hero-lead { max-width: 590px; color: rgba(255,255,255,.77); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; font-size: 12px; font-weight: 700; letter-spacing: .08em; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #17130c; }
.button-primary:hover { box-shadow: 0 12px 32px rgba(200,155,81,.28); }
.button-primary::after { content: ""; position: absolute; inset: -60% auto -60% -45%; width: 25%; background: rgba(255,255,255,.48); transform: rotate(18deg); filter: blur(4px); animation: button-glint 5.5s 1.2s ease-in-out infinite; }
.button-ghost { border: 1px solid rgba(255,255,255,.45); gap: 25px; }
.hero-note { position: absolute; z-index: 2; right: 5vw; bottom: 37px; padding-left: 22px; border-left: 1px solid var(--gold); }
.hero-note { animation: hero-rise .8s .85s both; }
.hero-note span, .hero-note strong { display: block; }
.hero-note span { color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.hero-note strong { margin-top: 7px; font: italic 600 16px var(--serif); }

.trust-strip { min-height: 92px; padding: 0 7vw; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; background: #12160f; color: white; }
.trust-strip > div { min-height: 40px; padding: 0 clamp(20px, 4vw, 60px); display: flex; align-items: center; gap: 17px; border-right: 1px solid rgba(255,255,255,.13); transition: background .3s, transform .3s; }
.trust-strip > div:hover { background: rgba(255,255,255,.025); transform: translateY(-2px); }
.trust-strip > div:first-child { padding-left: 0; }
.trust-strip > div:last-child { padding-right: 0; border-right: 0; }
.trust-strip span { color: var(--gold); font: italic 600 16px var(--serif); }
.trust-strip strong { font: 600 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

.intro { padding: 130px 9vw; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; background: var(--paper); }
.intro h2, .section-heading h2, .experience h2, .contact h2 { font: 600 clamp(42px, 5vw, 73px)/1.05 var(--serif); letter-spacing: -.035em; }
.intro-copy { max-width: 600px; padding-top: 42px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.intro-copy .lead { color: var(--ink); font: 600 24px/1.55 var(--serif); }
.signature { display: flex; align-items: center; gap: 15px; margin-top: 34px; color: var(--ink); font: italic 600 17px var(--serif); }
.signature span { width: 45px; height: 1px; background: var(--gold); }

.offer { padding: 120px 5vw; background: var(--forest); color: white; }
.section-heading { max-width: 720px; margin: 0 auto 55px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.75; }
.section-heading.light > p:last-child { color: rgba(255,255,255,.56); }
.offer-grid { display: grid; grid-template-columns: 1.18fr .82fr; grid-template-rows: repeat(2, 340px); gap: 16px; max-width: 1370px; margin: auto; }
.offer-card { position: relative; overflow: hidden; box-shadow: 0 20px 45px rgba(0,0,0,.08); transform-style: preserve-3d; transition: transform .2s ease-out, box-shadow .35s; }
.offer-card:hover { box-shadow: 0 28px 60px rgba(0,0,0,.22); }
.offer-card::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: inset .35s, border-color .35s; pointer-events: none; }
.offer-card:hover::after { inset: 10px; border-color: rgba(227,189,121,.6); }
.offer-card.large { grid-row: 1 / 3; }
.offer-card img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.offer-card:hover img { transform: scale(1.035); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,8,.9), transparent 65%); }
.card-copy { position: absolute; inset: auto 35px 31px; }
.card-copy span { color: var(--gold-light); font-size: 10px; letter-spacing: .2em; }
.card-copy h3 { margin: 9px 0 7px; font: 600 clamp(28px, 3vw, 42px) var(--serif); }
.card-copy p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }

.experience { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 740px; background: var(--cream); }
.experience-image { position: relative; }
.experience-image > img { height: 100%; object-fit: cover; }
.experience-badge { position: absolute; right: -55px; bottom: 70px; width: 145px; height: 145px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.16); animation: badge-float 4s ease-in-out infinite; }
.experience-badge strong { font: 600 27px var(--serif); }
.experience-badge span { font-size: 9px; line-height: 1.4; text-transform: uppercase; letter-spacing: .1em; }
.experience-copy { padding: 100px 9vw 80px; }
.experience-copy h2 { font-size: clamp(41px, 4vw, 66px); }
.experience-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.experience ul { padding: 20px 0 0; margin: 25px 0 42px; list-style: none; border-top: 1px solid #d6d1c5; }
.experience li { display: flex; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid #d6d1c5; }
.experience li > span { color: var(--gold); font: italic 600 19px var(--serif); }
.experience li strong, .experience li small { display: block; }
.experience li strong { font: 600 18px var(--serif); }
.experience li small { margin-top: 4px; color: var(--muted); }
.text-link { display: inline-flex; gap: 25px; align-items: center; padding-bottom: 7px; border-bottom: 1px solid var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.text-link span { color: var(--gold); font-size: 19px; }
.text-link:hover span { animation: arrow-nudge .65s ease-in-out; }

.gallery { padding: 125px 5vw; }
.gallery-grid { display: grid; grid-template-columns: 1.15fr .75fr 1.1fr; grid-template-rows: 300px 300px; gap: 14px; max-width: 1370px; margin: auto; }
.gallery-grid figure { margin: 0; overflow: hidden; }
.gallery-grid figure { position: relative; }
.gallery-grid figure::after { content: "Zobacz realizację"; position: absolute; inset: auto 18px 18px; padding: 10px 14px; color: white; background: rgba(22,27,18,.72); backdrop-filter: blur(8px); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gallery-grid figure:hover::after { opacity: 1; transform: translateY(0); }
.gallery-grid figure.wide { grid-column: 1 / 3; }
.gallery-grid figure.tall { grid-column: 3; grid-row: 1 / 3; }
.gallery-grid img { height: 100%; object-fit: cover; transition: transform .65s; }
.gallery-grid figure:hover img { transform: scale(1.035); }

.contact { display: grid; grid-template-columns: 1.08fr .92fr; background: var(--forest); color: white; }
.contact-content { padding: 110px 8vw; }
.contact h2 { font-size: clamp(43px, 4.6vw, 74px); }
.contact .phone { display: inline-flex; flex-direction: column; margin: 22px 0 48px; color: var(--gold-light); font: 600 clamp(36px, 4vw, 58px) var(--serif); }
.contact .phone span { margin-bottom: 7px; color: rgba(255,255,255,.48); font: 700 9px var(--sans); text-transform: uppercase; letter-spacing: .25em; }
.contact-links { display: flex; gap: 45px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); }
.contact-links a { display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.5; }
.contact-links .icon { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); font-size: 18px; }
.contact-links .facebook { font: 700 19px Arial; }
.contact-image img { height: 100%; object-fit: cover; }

footer { padding: 30px 5vw; display: flex; justify-content: space-between; align-items: center; background: #11140e; color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .06em; }
.footer-brand .brand-logo { width: 46px; height: 46px; }
.footer-brand strong { color: white; font-size: 15px; }
.footer-brand small { font-size: 7px; }
footer p { margin: 0; }
.footer-meta { display: grid; gap: 8px; text-align: center; }
.powered-by { color: rgba(255,255,255,.32); }
.powered-by a { color: var(--gold-light); font-weight: 700; letter-spacing: .12em; transition: color .2s; }
.powered-by a:hover { color: white; }
.powered-by a span { display: inline-block; transition: transform .2s; }
.powered-by a:hover span { transform: translate(2px,-2px); }
.footer-links { display: flex; align-items: center; gap: 22px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--gold-light); }
.floating-call { display: none; }

/* Polityka prywatności */
.privacy-page { background: var(--paper); }
.privacy-header { position: relative; background: var(--forest); }
.privacy-header .back-link { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.privacy-header .back-link:hover { color: var(--gold-light); }
.privacy-main { min-height: 80vh; }
.privacy-hero { padding: 115px 7vw 75px; background: var(--forest); color: white; text-align: center; }
.privacy-hero .eyebrow { justify-content: center; }
.privacy-hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.privacy-hero h1 { max-width: none; margin: 0; font-size: clamp(46px, 7vw, 80px); }
.privacy-hero p:last-child { margin: 20px 0 0; color: rgba(255,255,255,.52); font-size: 12px; }
.privacy-content { width: min(820px, 88vw); margin: 0 auto; padding: 90px 0 110px; }
.privacy-intro { padding: 26px 30px; margin-bottom: 45px; border-left: 3px solid var(--gold); background: var(--cream); font: 600 20px/1.6 var(--serif); }
.privacy-content section { padding: 30px 0; border-bottom: 1px solid #ddd7ca; }
.privacy-content h2 { margin-bottom: 17px; font: 600 29px/1.2 var(--serif); }
.privacy-content h2 span { display: inline-block; width: 34px; color: var(--gold); font-size: 15px; font-style: italic; }
.privacy-content p, .privacy-content li { color: #67685f; font-size: 14px; line-height: 1.85; }
.privacy-content ul { padding-left: 20px; }
.privacy-content a { color: #91682e; text-decoration: underline; text-underline-offset: 3px; }
.privacy-contact { margin-top: 45px; padding: 35px; background: var(--forest); color: white; }
.privacy-contact h2 { color: white; }
.privacy-contact p { color: rgba(255,255,255,.68); }
.privacy-contact a { color: var(--gold-light); }

/* Elementy pojawiają się dopiero po uruchomieniu JS, więc treść pozostaje dostępna bez skryptów. */
.reveal-ready .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-ready .reveal.from-left { transform: translateX(-38px); }
.reveal-ready .reveal.from-right { transform: translateX(38px); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: translate(0); }
.reveal-ready .reveal-delay-1 { transition-delay: .1s; }
.reveal-ready .reveal-delay-2 { transition-delay: .2s; }

@keyframes hero-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.045); } }
@keyframes badge-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes button-glint { 0%,68% { left: -45%; } 82%,100% { left: 125%; } }
@keyframes arrow-nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(7px); } }

@media (max-width: 900px) {
  .ember-trail { display: none; }
  .site-header { height: 82px; }
  .menu-toggle { display: block; z-index: 2; }
  nav { position: absolute; left: 0; right: 0; top: 0; padding: 105px 6vw 35px; background: rgba(28,33,23,.98); backdrop-filter: blur(14px); flex-direction: column; align-items: flex-start; transform: translateY(-110%); transition: transform .3s; box-shadow: 0 18px 30px rgba(0,0,0,.25); }
  nav.open { transform: translateY(0); }
  .hero-content { margin-left: 6vw; }
  .hero-note { display: none; }
  .trust-strip { padding: 0 5vw; }
  .trust-strip > div { padding: 0 18px; }
  .intro, .experience, .contact { grid-template-columns: 1fr; }
  .intro { padding: 90px 6vw; gap: 10px; }
  .intro-copy { padding-top: 0; }
  .experience-image { min-height: 550px; }
  .experience-badge { right: 7vw; bottom: -55px; }
  .experience-copy { padding: 100px 7vw 80px; }
  .offer-grid { grid-template-columns: 1fr; grid-template-rows: 520px 350px 350px; }
  .offer-card.large { grid-row: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 300px 300px; }
  .gallery-grid figure.wide { grid-column: 1 / 3; }
  .gallery-grid figure.tall { grid-column: 2; grid-row: 2 / 4; }
  .contact-image { height: 500px; }
}

@media (max-width: 600px) {
  .brand strong { font-size: 17px; }
  .brand-logo { width: 52px; height: 52px; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,12,8,.88), rgba(10,12,8,.42)), linear-gradient(0deg, rgba(10,12,8,.65), transparent); }
  .hero-content { margin: 0 6vw; padding-top: 55px; }
  h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-strip { min-height: 0; padding: 24px 6vw; grid-template-columns: 1fr; gap: 0; }
  .trust-strip > div, .trust-strip > div:first-child, .trust-strip > div:last-child { min-height: 52px; padding: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
  .trust-strip > div:last-child { border-bottom: 0; }
  .intro, .offer, .gallery { padding-top: 80px; padding-bottom: 80px; }
  .offer { padding-left: 4vw; padding-right: 4vw; }
  .offer-grid { grid-template-rows: 410px 290px 290px; }
  .card-copy { inset: auto 22px 24px; }
  .experience-image { min-height: 430px; }
  .experience-copy { padding-left: 6vw; padding-right: 6vw; }
  .gallery-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; }
  .gallery-grid figure, .gallery-grid figure.wide, .gallery-grid figure.tall { flex: 0 0 84vw; height: 430px; scroll-snap-align: center; }
  .contact-content { padding: 85px 6vw; }
  .contact-links { flex-direction: column; gap: 20px; }
  .contact-image { height: 360px; }
  .floating-call { position: fixed; z-index: 18; right: 16px; bottom: 16px; min-height: 58px; padding: 9px 17px 9px 12px; display: grid; grid-template-columns: 38px auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50px; background: rgba(28,33,23,.94); color: white; backdrop-filter: blur(12px); box-shadow: 0 12px 32px rgba(0,0,0,.32); }
  .floating-call > span { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 17px; }
  .floating-call strong { align-self: end; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
  .floating-call small { align-self: start; color: var(--gold-light); font-size: 11px; }
  footer { flex-direction: column; gap: 22px; text-align: center; }
  .footer-links { flex-direction: column; gap: 12px; }
  .privacy-header { height: 82px; }
  .privacy-header .brand { gap: 8px; }
  .privacy-header .brand-logo { width: 44px; height: 44px; }
  .privacy-header .brand strong { font-size: 15px; white-space: nowrap; }
  .privacy-header .brand small { display: none; }
  .privacy-header .back-link { max-width: 100px; text-align: right; font-size: 10px; line-height: 1.35; }
  .privacy-hero { padding-top: 75px; }
  .privacy-content { padding: 65px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .hero-image, .experience-badge, .hero-content > *, .hero-note { animation: none !important; opacity: 1; transform: none; }
  .hero-content { transform: none !important; }
  .button-primary::after { display: none; }
  .ember-trail { display: none !important; }
}
