/* Czcionki serwowane lokalnie (Inter, Lora – licencja SIL Open Font License) – bez łączenia z Google */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 500; font-display: swap; src: url("assets/fonts/lora-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 500; font-display: swap; src: url("assets/fonts/lora-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("assets/fonts/lora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("assets/fonts/lora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F8F6F2;
  --card: #FFFFFF;
  --sand: #EFE8DD;
  --sand-strong: #E7DED1;
  --text: #2E3440;
  --muted: #5B6472;
  --accent: #5E7D6E;
  --accent-hover: #4A6658;
  --accent-soft: #E3EBE6;
  --line: #E4DED4;
  --shadow: 0 1px 2px rgba(46,52,64,.04), 0 8px 24px rgba(46,52,64,.07);
  --radius: 16px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; color: var(--text); }
p { margin: 0 0 1em; }
p[data-k] { white-space: pre-line; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.noscript { padding: 24px; text-align: center; background: var(--sand); }
.contents { display: contents; }
.m0 { margin: 0; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(248,246,242,.88); backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow .25s, background .25s;
}
header.site.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(46,52,64,.06); background: rgba(255,255,255,.92); }
header.site .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { text-decoration: none; color: var(--text); display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; flex: none; }
.brand strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.brand span { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
nav.main ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
nav.main a {
  display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-size: .95rem; font-weight: 500; white-space: nowrap; transition: color .2s, background .2s;
}
nav.main a:hover { color: var(--text); background: var(--sand); }
nav.main a.active { color: var(--accent-hover); background: var(--accent-soft); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: 600 .95rem/1 var(--sans); text-decoration: none;
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--accent-hover); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent-hover); }
.btn svg { width: 18px; height: 18px; flex: none; }
.header-cta { font-size: .85rem; letter-spacing: .04em; white-space: nowrap; flex: none; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--text); }
.burger svg { width: 26px; height: 26px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--sand); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sec-head { margin-bottom: 48px; max-width: 720px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.sec-head .sub {
  display: flex; align-items: center; gap: 14px; margin-top: 10px;
  font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.05rem;
}
.sec-head .sub::after { content: ""; flex: 1; max-width: 220px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.sec-head .lead { margin-top: 18px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 68ch; display: block; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -.01em; margin-bottom: 20px; }
.hero .lead { font-size: 1.18rem; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.badges li {
  display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px;
}
.badges .ico, .badges svg { width: 16px; height: 16px; color: var(--accent); flex: none; display: inline-flex; }

.portrait-wrap { position: relative; justify-self: center; width: min(420px, 100%); }
.portrait-wrap::before {
  content: ""; position: absolute; inset: 8% -8% -6% 10%; background: var(--sand-strong);
  border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%; z-index: 0;
}
.portrait { position: relative; z-index: 1; aspect-ratio: 720 / 1004; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(46,52,64,.18); background: var(--card); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- O mnie ---------- */
/* Zdjęcie ma wysokość kolumny z tekstem: kończy się razem z ostatnim akapitem */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: stretch; }
/* „Pętla powtórzeń”: kropka u góry, linia rosnąca do wysokości kolumny, pętle na dole */
.about-art {
  display: flex; flex-direction: column; align-items: center; min-height: 360px; padding: 40px 24px 36px;
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  background: radial-gradient(circle at 50% 82%, var(--accent-soft) 0, transparent 62%), var(--card);
}
.art-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #C9B58C; box-shadow: 0 0 0 7px rgba(201,181,140,.2); }
.art-line { flex: 1; min-height: 40px; width: 2px; background: linear-gradient(to bottom, rgba(94,125,110,.2), var(--accent) 70%); }
.art-loops { flex: none; display: block; width: min(200px, 82%); height: auto; overflow: visible; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Wariant „góra lodowa”: niebo z wierzchołkiem, linia wody, morze z częścią podwodną do końca kolumny */
.about-art.ice { padding: 0; align-items: stretch; background: var(--card); }
.ice-sky { position: relative; flex: none; height: 150px; background: linear-gradient(to bottom, #F8F4EE, #ECE4D7); }
.ice-sea { position: relative; flex: 1; min-height: 240px; background: var(--accent-soft); border-top: 1.5px solid var(--accent-hover); }
.ice-tip, .ice-body { position: absolute; left: 0; width: 100%; overflow: visible; }
.ice-tip { bottom: 0; height: 60%; }
.ice-body { inset: 0; height: 100%; }
.ice-tip path { fill: #FDFCF9; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.ice-mass { fill: rgba(253,252,249,.6); stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-dasharray: 6 5; }
.ice-wave { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .3; }
.ice-label { position: absolute; z-index: 1; font: italic 500 .95rem/1.2 var(--serif); color: var(--accent-hover); }
.ice-label-top { top: 26px; right: 24px; }
.ice-label-bottom { left: 50%; top: 42%; transform: translateX(-46%); }

/* Dwa fotele obok nagłówka „Jak pracuję?” */
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.sec-head-row > .sec-head { margin-bottom: 0; }
.setting-art { flex: none; width: 240px; height: auto; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.setting-art .a-line { stroke: var(--accent); stroke-width: 1.6; }
.setting-art .a-gold { stroke: #C9B58C; stroke-width: 1; }
.setting-art .a-leaf { stroke: var(--accent); stroke-width: 1.4; }
.about > :last-child > :last-child { margin-bottom: 0; }
.timeline { list-style: none; margin: 0 0 28px; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 60px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--accent-soft); display: grid; place-items: center; color: var(--accent);
}
.timeline .dot svg { width: 18px; height: 18px; }
.timeline h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; line-height: 1.45; margin: 7px 0 2px; }
.timeline p { margin: 0; color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; font: 600 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); vertical-align: middle; margin-left: 6px; }
.tag.muted { background: var(--sand); color: var(--muted); }

/* ---------- Ściana dyplomów ---------- */
.wall-head { margin-top: 88px; text-align: center; }
.wall-head h3 { font-size: clamp(1.6rem, 3vw, 2rem); }
.wall-head .sub-i { display: block; margin-top: 6px; font-family: var(--serif); font-style: italic; color: var(--accent); }
.wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 48px 40px; margin-top: 44px; }
.wall:not(.open) .is-extra { display: none; }
.wall-item { margin: 0; width: 176px; text-align: center; }
.wall-item.featured { width: 228px; }
.frame {
  --tilt: 0deg;
  position: relative; display: block; padding: 11px; background: #FDFCF9;
  border: 7px solid #3A3430; border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 2px 3px rgba(40,30,20,.18), 0 16px 28px -10px rgba(40,30,20,.45);
  transform: rotate(var(--tilt)); transition: transform .35s ease, box-shadow .35s ease; cursor: zoom-in;
}
.wall-item:nth-child(3n+1) .frame { --tilt: -.7deg; }
.wall-item:nth-child(3n+2) .frame { --tilt: .5deg; }
.wall-item:nth-child(3n) .frame { --tilt: -.25deg; }
.frame:hover, .frame:focus-visible { z-index: 2; transform: translateY(-6px) rotate(0) scale(1.15); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 4px 6px rgba(40,30,20,.15), 0 26px 40px -12px rgba(40,30,20,.5); }
.featured .frame { padding: 14px; border-width: 9px; border-color: #2E2925; }
.featured .frame::after { content: ""; position: absolute; inset: 6px; border: 1px solid #C9B58C; pointer-events: none; }
.mat { display: block; aspect-ratio: 1200 / 1697; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #E6DFD3, inset 0 1px 3px rgba(0,0,0,.08); }
.frame.land .mat { aspect-ratio: 1600 / 1131; }
.mat img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame .pages { position: absolute; right: -7px; bottom: -7px; transform: translate(30%, 30%); background: var(--accent); color: #fff; font: 600 .7rem/1 var(--sans); padding: 5px 8px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.wall-item figcaption { margin-top: 18px; font-size: .86rem; line-height: 1.45; }
.wall-item figcaption strong { display: block; font-weight: 600; color: var(--text); }
.wall-item figcaption .meta { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.wall-more { text-align: center; margin-top: 44px; }

/* Okno podglądu */
html.lb-open { overflow: hidden; }
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #161A18; color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(22,26,24,.9); }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lb-count { font-size: .9rem; color: rgba(255,255,255,.7); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 72px; }
.lb-view { position: absolute; inset: 0 72px; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: default; }
.lb-view img { cursor: zoom-in; }
.lb-view.zoomed img { cursor: zoom-out; }
.lb-view.dragging img { cursor: grabbing; }
.lb-view img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.lb-view img.zoom-anim { transition: transform .25s ease; }
.lb-tools { display: flex; align-items: center; gap: 8px; }
.lb-btn.lb-sm { width: 40px; height: 40px; }
.lb-btn.lb-sm svg { width: 20px; height: 20px; }
.lb-zoom { min-width: 58px; height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font: 600 .85rem/1 var(--sans); cursor: pointer; }
.lb-zoom:hover { background: rgba(255,255,255,.22); }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-info { padding: 14px 16px 18px; text-align: center; }
.lb-title { margin: 0; font: 600 1.1rem/1.35 var(--serif); }
.lb-meta { margin: 4px auto 0; font-size: .88rem; color: rgba(255,255,255,.7); max-width: 70ch; }
.lb-pages { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.lb-pages:empty { display: none; }
.lb-page { width: 44px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 3px; background: #fff; cursor: pointer; opacity: .55; overflow: hidden; }
.lb-page img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lb-page.on { opacity: 1; border-color: #C9B58C; }

/* ---------- Doświadczenie ---------- */
.grid { display: grid; gap: 20px; }
.grid.auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
/* Kafelek: ikona, nazwa, miejsce, stanowisko w stopce. Wiersze są wspólne dla kafelków w rzędzie (subgrid),
   więc nazwy, miejsca i stopki leżą na tych samych liniach niezależnie od długości tekstu. */
.exp-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 8px; align-content: start; }
.exp-card .ico { width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.exp-card .ico svg { width: 22px; height: 22px; }
.exp-card h3 { font-size: 1.12rem; line-height: 1.3; }
.exp-card .exp-place { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.exp-card > .exp-place:empty { min-height: 0; }
.exp-role { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.exp-role.is-empty { border-top-color: transparent; }
.exp-role-label { font: 600 .68rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.exp-role-value { font-size: .95rem; font-weight: 600; color: var(--accent-hover); }
.exp-role-value::first-letter { text-transform: uppercase; }

/* ---------- Jak pracuję ---------- */
.method { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 64px; }
.method .card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.method .card p:last-child { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.chips li { background: var(--sand); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); opacity: .5; }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.steps .num {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font: 600 1.3rem/1 var(--serif); position: relative; box-shadow: 0 0 0 8px var(--sand);
}
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.steps-title { font-size: 1.5rem; text-align: center; margin-bottom: 40px; }

/* ---------- Z kim pracuję ---------- */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 40px; }
.who .card { display: flex; gap: 20px; align-items: flex-start; }
.who .ico { width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.who .ico svg { width: 28px; height: 28px; }
.who h3 { font-size: 1.4rem; margin-bottom: 6px; }
.who p { margin: 0; color: var(--muted); }
.who-text { max-width: 78ch; margin-bottom: 56px; }
.areas-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.areas-head h3 { font-size: 1.6rem; }
.areas-head .sub-i { font-family: var(--serif); font-style: italic; color: var(--accent); }
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
details.acc { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
details.acc summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font: 600 1.05rem/1.4 var(--serif);
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .25s;
}
details.acc[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.acc .acc-body { padding: 0 22px 20px; }
details.acc .acc-label { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: .92rem; display: block; margin-bottom: 6px; }
details.acc ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: .95rem; }
details.acc li { margin-bottom: 4px; }
details.acc .acc-body > p { color: var(--muted); font-size: .97rem; margin: 0; }
.note { margin-top: 32px; padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--card); border-radius: 0 14px 14px 0; box-shadow: var(--shadow); }
.note p { margin: 0; }

/* ---------- Cennik ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 24px; }
.price { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.price h3 { font-size: 1.15rem; }
.price .time { color: var(--muted); font-size: .9rem; }
.price .amount { font: 600 2rem/1.2 var(--serif); color: var(--accent-hover); margin-top: 8px; }
.price-note { color: var(--muted); font-size: .95rem; max-width: 78ch; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; display: grid; gap: 12px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.contact .main-card { padding: 40px; }
.contact .muted { color: var(--muted); margin: 0; display: block; }
.phone-big { display: inline-block; font: 600 clamp(2rem, 5vw, 2.8rem)/1.1 var(--serif); color: var(--text); text-decoration: none; margin: 8px 0 20px; }
.phone-big:hover { color: var(--accent-hover); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.map-box {
  border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.map-box .map { display: block; width: 100%; flex: 1; min-height: 240px; border: 0; background: var(--sand-strong); }
.map-info { padding: 20px 24px 24px; text-align: center; }
.map-info p { color: var(--muted); margin-bottom: 14px; }
.map-info strong { color: var(--text); }
.crisis { margin-top: 24px; border: 2px solid #C9A19A; background: #FBF1EF; border-radius: var(--radius); padding: 24px 28px; }
.crisis h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: #8A3F33; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.crisis h3 svg { width: 20px; height: 20px; }
.crisis p { margin: 0 0 8px; font-size: .95rem; }
.crisis ul { margin: 0; padding-left: 20px; font-size: .95rem; }
.crisis a { color: #8A3F33; font-weight: 600; white-space: nowrap; }

/* ---------- Footer ---------- */
footer.site { background: #2E3A35; color: #D7DED9; padding: 48px 0 32px; font-size: .92rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; }
footer.site strong { font-family: var(--serif); font-size: 1.2rem; color: #fff; font-weight: 600; display: block; }
footer.site a { color: #fff; }
footer.site .small { color: #A9B6AF; font-size: .82rem; margin-top: 18px; width: 100%; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Sticky call (mobile) ---------- */
.call-fab {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  min-height: 54px; box-shadow: 0 10px 30px rgba(46,52,64,.3); transition: transform .3s, opacity .3s;
}
.call-fab.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  nav.main a { padding: 8px 9px; font-size: .9rem; }
  .header-cta { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .burger { display: grid; place-items: center; }
  nav.main {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--card);
    box-shadow: 0 16px 30px rgba(46,52,64,.12); padding: 12px 16px 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  nav.main.open { transform: none; opacity: 1; visibility: visible; }
  nav.main ul { flex-direction: column; }
  nav.main a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .hero { padding: 40px 0 72px; }
  .hero .wrap, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .portrait-wrap { order: -1; width: min(320px, 82%); margin-bottom: 20px; }
  .about-art { min-height: 0; padding: 28px 20px 26px; }
  .about-art.ice { padding: 0; }
  .ice-sky { height: 100px; }
  .ice-sea { flex: none; height: 260px; min-height: 0; }
  .art-line { flex: none; height: 48px; }
  .art-loops { width: 130px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .setting-art { width: 180px; }
  .method, .who, .areas, .prices { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 27px; bottom: 27px; left: 26px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px); }
  .steps li { text-align: left; padding-left: 80px; min-height: 54px; }
  .steps .num { position: absolute; left: 0; top: 0; margin: 0; }
  .contact .main-card { padding: 28px 22px; }
  .call-fab { display: inline-flex; }
  footer.site { padding-bottom: 100px; }
}
@media (max-width: 520px) {
  .wall { gap: 36px 18px; }
  .wall-item, .wall-item.featured { width: calc(50% - 9px); }
  .frame { padding: 7px; border-width: 5px; }
  .featured .frame { padding: 9px; border-width: 6px; }
  .featured .frame::after { inset: 4px; }
  .lb-stage { padding: 0 8px; }
  .lb-view { inset: 0 8px; }
  .lb-tools { gap: 6px; }
  .lb-prev, .lb-next { top: auto; bottom: -58px; transform: none; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-info { padding-inline: 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .who .card { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
