/* Emilion Emil Ochęcki — nowa strona (2026) */
:root {
  --ink: #101214;
  --ink-2: #181b1f;
  --steel: #262b31;
  --steel-2: #343a42;
  --paper: #f5f4f0;
  --paper-2: #ebe9e3;
  --white: #ffffff;
  --text: #17191c;
  --muted: #5d636c;
  --muted-light: #a3a9b2;
  --line: #dcd9d1;
  --line-dark: rgba(255, 255, 255, .1);
  --yellow: #ffc21a;
  --yellow-2: #ffd45c;
  --yellow-ink: #1d1600;
  --logo-yellow: #ffff00;
  --logo-red: #f0141e;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -20px rgba(16, 18, 20, .35);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.02; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
p { margin: 0 0 1.1em; }
::selection { background: var(--yellow); color: var(--yellow-ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }
.section--dark { background: var(--ink); color: #e9eaec; }
.section--white { background: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1.1rem;
  font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--muted-light); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: var(--muted-light); }
.hl { color: var(--yellow); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--yellow-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--yellow-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 1rem/1 var(--body); letter-spacing: .01em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); background: var(--yellow-2); box-shadow: 0 12px 30px -12px rgba(255, 194, 26, .7); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { background: var(--steel); box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; transition: gap .25s var(--ease); }
.link-arrow:hover { gap: .85em; }
.link-arrow svg { width: 1.1em; height: 1.1em; flex: none; }
.link-arrow { white-space: nowrap; }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: var(--muted-light); font-size: .82rem; border-bottom: 1px solid var(--line-dark); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar a { text-decoration: none; color: #d9dce0; }
.topbar a:hover { color: var(--yellow); }
.topbar__info { display: flex; gap: 26px; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--yellow); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(16, 18, 20, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); color: #fff; border-bottom: 1px solid var(--line-dark); transition: background .3s; }
.header.is-scrolled { background: rgba(16, 18, 20, .97); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
/* logo jak na wizytówce: żółty „emilion”, czerwony „EMIL OCHĘCKI”, font geometryczny */
.logo__mark { width: 52px; height: auto; flex: none; }
.logo__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__name { font: 500 1.6rem/1 "Poppins", var(--body); letter-spacing: .14em; margin-right: -.14em; text-transform: lowercase; color: var(--logo-yellow); }
.logo__sub { font: 300 .64rem/1 "Poppins", var(--body); letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; color: var(--logo-red); margin-top: 6px; }
.logo-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 190px; height: 190px; border-radius: 50%; border: 6px solid var(--logo-yellow); background: #000; text-decoration: none; }
.logo-badge img { width: 92px; height: auto; margin-bottom: 10px; }
.logo-badge .logo__name { font-size: 1.45rem; }
.logo-badge .logo__sub { font-size: .58rem; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; white-space: nowrap; padding: 10px 13px; text-decoration: none; font-weight: 500; font-size: .95rem; color: #d7dade; border-radius: 8px; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn { min-height: 46px; padding: 0 1.2em; font-size: .95rem; }
.burger { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-dark); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: url("../img/foto/slide2.webp") center/cover no-repeat; opacity: .22; filter: grayscale(1) contrast(1.1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 85% 10%, rgba(255, 194, 26, .12), transparent 60%), linear-gradient(90deg, var(--ink) 30%, rgba(16, 18, 20, .55)); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero h1 { margin-bottom: .35em; }
.hero h1 small { display: block; font-size: .42em; letter-spacing: .04em; color: var(--muted-light); margin-top: .45em; font-weight: 600; }
.hero .lead { color: #c3c7cd; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 210px 210px; gap: 14px; }
.hero__mosaic figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--steel); }
.hero__mosaic figure:first-child { grid-row: span 2; }
.hero__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__mosaic figure:hover img { transform: scale(1.05); }
.hero__mosaic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(16, 18, 20, .78); backdrop-filter: blur(6px); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.hero__mosaic figcaption::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); margin-right: 8px; vertical-align: 1px; }
.hero__badge { position: absolute; right: -10px; top: -18px; width: 118px; height: 118px; border-radius: 50%; background: var(--yellow); color: var(--yellow-ink); display: grid; place-content: center; text-align: center; font: 700 .78rem/1.15 var(--body); letter-spacing: .04em; text-transform: uppercase; box-shadow: var(--shadow); transform: rotate(-8deg); z-index: 2; }
.hero__badge strong { display: block; font: 800 2.3rem/1 var(--head); }
.hero__visual { position: relative; }

/* ---------- facts strip ---------- */
.facts { background: var(--yellow); color: var(--yellow-ink); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 22px; border-left: 1px solid rgba(29, 22, 0, .14); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font: 800 clamp(1.9rem, 3vw, 2.6rem)/1 var(--head); text-transform: uppercase; }
.fact span { display: block; margin-top: 6px; font-size: .9rem; font-weight: 500; opacity: .82; }

/* ---------- split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--top { align-items: start; }
.photo-stack { position: relative; padding: 0 0 48px 48px; }
.photo-stack img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.photo-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 62%; border-radius: var(--radius-lg); background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); z-index: -1; opacity: .95; }
.photo-stack { isolation: isolate; }
.photo-stack .stamp { position: absolute; right: 18px; top: 18px; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; font-size: .82rem; line-height: 1.3; box-shadow: var(--shadow); }
.photo-stack .stamp strong { display: block; font: 800 1.9rem/1 var(--head); color: var(--yellow); }

/* ---------- offer cards ---------- */
.offer-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-bottom: clamp(40px, 5vw, 64px); }
.offer-head p { color: var(--muted-light); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; display: block; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #fff; background: var(--steel); isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 18, 20, .05) 30%, rgba(16, 18, 20, .92)); transition: background .4s; }
.card:hover img { transform: scale(1.08); }
.card:hover::before { background: linear-gradient(180deg, rgba(16, 18, 20, .2) 10%, rgba(16, 18, 20, .95)); }
.card__num { position: absolute; top: 18px; left: 20px; font: 700 .85rem/1 var(--body); letter-spacing: .12em; color: var(--yellow); }
.card__body { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.card h3 { margin: 0 0 .35em; font-size: clamp(1.6rem, 2.2vw, 2rem); text-transform: uppercase; }
.card__go { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: #d6d9dd; }
.card__go i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--yellow-ink); transition: transform .3s var(--ease); font-style: normal; }
.card:hover .card__go i { transform: translateX(4px) rotate(-45deg); }

/* ---------- services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px; }
.svc { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.svc:hover { border-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(16, 18, 20, .35); }
.svc__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); }
.svc__ico svg { width: 24px; height: 24px; }
.svc p { margin: 0; font-weight: 500; line-height: 1.45; padding-top: 2px; }
a.svc { position: relative; text-decoration: none; color: inherit; padding-bottom: 50px; }
.svc__go { position: absolute; right: 18px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: background .25s, transform .25s var(--ease); }
.svc__go svg { width: 16px; height: 16px; }
a.svc:hover .svc__go { background: var(--yellow); transform: translateX(3px); }
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.prose .ticks a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.prose .ticks a:hover { color: #8a6500; }
.prose p a { color: inherit; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose p a:hover { color: #8a6500; }
.steps { counter-reset: st; list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 10px; }
.steps li { counter-increment: st; position: relative; padding: 16px 18px 16px 64px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; line-height: 1.5; }
.steps li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 700 1.05rem/32px var(--head); text-align: center; }
.faq { display: grid; gap: 10px; margin-bottom: 1.6em; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq details[open] { border-color: var(--yellow); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font: 600 1.4rem/1 var(--body); color: #8a6500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: #2d3035; }
.section--dark .svc { background: var(--ink-2); border-color: var(--line-dark); }

/* ---------- gallery teaser ---------- */
.g-teaser { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g-teaser a { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--steel); }
.g-teaser a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-teaser a:nth-child(6) { grid-column: span 2; }
.g-teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.g-teaser a:hover img { transform: scale(1.06); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row h2 { margin: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--yellow); color: var(--yellow-ink); isolation: isolate; }
.cta::after { content: ""; position: absolute; right: -6%; top: -40%; width: 520px; height: 520px; border: 70px solid rgba(29, 22, 0, .06); border-radius: 50%; z-index: -1; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.cta h2 { max-width: 22ch; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn--ghost:hover { background: rgba(29, 22, 0, .07); }

/* ---------- page hero (subpages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; opacity: .38; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 25%, rgba(16, 18, 20, .45)); }
.page-hero .wrap { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(52px, 7vw, 90px); }
.page-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); max-width: 18ch; margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0 0 22px; font-size: .85rem; color: var(--muted-light); }
.crumbs a { text-decoration: none; color: #d5d8dc; }
.crumbs a:hover { color: var(--yellow); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #5b616a; }

/* ---------- article layout ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.prose { max-width: 72ch; }
.prose > p:first-of-type { font-size: 1.12rem; color: #2d3035; }
.prose h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-top: 1.6em; }
.prose figure { margin: 0 0 2rem; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 529/354; object-fit: cover; box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-weight: 500; line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1600' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks--wide { grid-template-columns: 1fr; }
.aside { position: sticky; top: 104px; display: grid; gap: 16px; }
.aside-card { background: var(--ink); color: #e4e6e9; border-radius: var(--radius-lg); padding: 28px; }
.aside-card h3 { color: #fff; text-transform: uppercase; font-size: 1.6rem; }
.aside-card .row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: .95rem; }
.aside-card .row svg { width: 20px; height: 20px; flex: none; color: var(--yellow); margin-top: 3px; }
.aside-card .row small { display: block; color: var(--muted-light); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.aside-card a { text-decoration: none; color: #fff; font-weight: 600; }
.aside-card a:hover { color: var(--yellow); }
.aside-card .btn { width: 100%; margin-top: 16px; }
.aside-nav { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; }
.aside-nav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.aside-nav a:hover { background: var(--paper); }
.aside-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.aside-nav a[aria-current="page"] span { color: var(--yellow); }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip a { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--steel); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip a:hover img { transform: scale(1.07); }

/* ---------- realizacje ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: 600 .92rem/1 var(--body); color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip b { font-weight: 600; color: var(--muted); margin-left: 6px; }
.chip[aria-pressed="true"] b { color: var(--yellow); }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry a { display: block; break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--steel); }
.masonry a[hidden] { display: none; }
.masonry img { width: 100%; transition: transform .8s var(--ease); }
.masonry a:hover img { transform: scale(1.05); }
.masonry a::after { content: ""; position: absolute; inset: 0; background: rgba(16, 18, 20, 0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc21a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center/0 no-repeat; transition: background-color .3s, background-size .3s var(--ease); }
.masonry a:hover::after { background-color: rgba(16, 18, 20, .45); background-size: 44px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10, 11, 12, .95); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lb.is-open { display: flex; }
.lb img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 10px; object-fit: contain; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb button:hover { background: var(--yellow); color: var(--yellow-ink); }
.lb button svg { width: 24px; height: 24px; }
.lb__close { top: 14px; right: 14px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #aeb3ba; font-size: .9rem; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 40px 0 0; }
.c-card { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.c-card svg { width: 28px; height: 28px; color: var(--ink); background: var(--yellow); border-radius: 10px; padding: 7px; box-sizing: content-box; margin-bottom: 16px; }
.c-card small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.c-card a, .c-card strong { font-size: 1.12rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.c-card a:hover { color: #a37800; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; background: var(--paper-2); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.35); }
.form { background: var(--ink); color: #e5e7ea; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.form h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.6rem); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: #c4c8ce; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-dark); background: var(--ink-2); color: #fff; font: inherit; font-size: 1rem; transition: border-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; line-height: 1.5; color: #a9aeb6; grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; accent-color: var(--yellow); flex: none; margin-top: 2px; }
.consent a { color: #fff; }
.form .btn { margin-top: 6px; }
.form__note { font-size: .82rem; color: var(--muted-light); margin: 14px 0 0; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b5bac1; font-size: .95rem; }
.footer .wrap { padding-top: clamp(56px, 7vw, 84px); }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr 1fr .9fr; gap: 36px; padding-bottom: 48px; }
.footer h4 { font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: #d4d7db; }
.footer a:hover { color: var(--yellow); }
.footer__about p { margin: 18px 0 0; max-width: 34ch; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: 22px 0 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #7f858e; }

/* mobile call bar */
.callbar { display: none; }

/* reveal */
/* animacja tylko przy działającym JS – bez JS (roboty, błędy) treść jest od razu widoczna */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid, .svc-grid--3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .nav a { padding: 10px 9px; font-size: .9rem; }
  .header__cta .btn span { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { aspect-ratio: 4/4.2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 100px var(--gutter) 40px; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .menu-open { overflow: hidden; }
  .nav a { font: 700 2.2rem/1.15 var(--head); text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--yellow); }
}
@media (max-width: 960px) {
  .topbar__info .hide-sm { display: none; }
  .header .wrap { min-height: 68px; }
  .hero .wrap, .split, .offer-head, .article, .contact-split { grid-template-columns: 1fr; }
  .hero__mosaic { grid-template-rows: 170px 170px; }
  .hero__badge { width: 96px; height: 96px; right: 4px; top: -14px; font-size: .66rem; }
  .hero__badge strong { font-size: 1.8rem; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact { border-left: 0; padding: 22px 0; border-top: 1px solid rgba(29, 22, 0, .14); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(29, 22, 0, .14); }
  .aside { position: static; }
  .g-teaser { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .g-teaser a:nth-child(6) { grid-column: span 1; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .photo-stack { padding: 0 0 32px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .topbar { display: none; }
  .logo__mark { width: 44px; }
  .logo__name { font-size: 1.4rem; }
  .logo .logo__sub { font-size: .56rem; }
  .header__cta .btn { display: none; }
  .hero__mosaic { grid-template-rows: 130px 130px; gap: 10px; }
  .hero__mosaic figcaption { font-size: .68rem; padding: 4px 9px; left: 8px; bottom: 8px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4/3; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .map, .map iframe { min-height: 320px; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry a { margin-bottom: 10px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(16, 18, 20, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); }
  .callbar .btn { min-height: 50px; font-size: .95rem; }
  .callbar .btn--ghost { color: #fff; }
}

/* realizacje: rodzaje realizacji */
.kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kind { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.kind h3 { text-transform: uppercase; margin-bottom: .4em; }
.kind p { margin: 0; color: #2d3035; }
.kind a { color: inherit; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 760px) { .kinds { grid-template-columns: 1fr; } }
