/* Monoko Projektowanie Wnętrz: język rysunków wykonawczych (linie wymiarowe, tabelka), zieleń butelkowa i mosiądz z jej projektów. */
:root {
  --bg: #F6F7F5;
  --bg-2: #ECEFEB;
  --ink: #17201C;
  --ink-2: #47524D;
  --line: #C3CBC6;
  --line-2: #DCE1DD;
  --green: #1F3B32;
  --green-2: #2A4C40;
  --on-g: #EEF2EE;
  --on-g-2: #B9C9C0;
  --g-line: #3D5C51;
  --brass: #B39257;
  --brass-t: #775F2F;
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Amatic SC', 'Urbanist', sans-serif;
  --wrap: 1280px;
  --gut: clamp(16px, 4.2vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hd: 68px;
  --z-bar: 20;
  --z-hd: 30;
  --z-menu: 40;
  --z-lb: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans); font-feature-settings: 'lnum' 1;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
:focus-visible { outline: 2px solid var(--brass-t); outline-offset: 3px; }
.sec-g :focus-visible, .ft :focus-visible, .calc-res :focus-visible { outline-color: var(--brass); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--green); color: var(--on-g); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- typografia ---------- */
h1, h2, .big { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.9rem); line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 3.05rem); line-height: 1.08; }
h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.big { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; margin-bottom: .7em; }

.lnk { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: .25em; transition: text-decoration-color .2s; display: inline; font-weight: 600; }
.lnk .i { vertical-align: -0.18em; margin-left: .3em; }
.lnk > .i:first-child { margin: 0 .35em 0 0; }
.lnk:hover { text-decoration-color: var(--brass-t); }
.lnk .arr, .btn .arr { transition: transform .3s var(--ease); }
.lnk:hover .arr, .btn:hover .arr { transform: translateX(3px); }
.lnk-g { text-decoration-color: var(--g-line); }
.lnk-g:hover { text-decoration-color: var(--brass); }
p .lnk, dd .lnk { display: inline; font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 24px;
  background: var(--green); color: var(--on-g); border: 1px solid var(--green); border-radius: 0;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-light { background: var(--on-g); color: var(--green); border-color: var(--on-g); }
.btn-light:hover { background: #fff; border-color: #fff; }

/* linia wymiarowa: podpis pod zdjęciem jak wymiar na rysunku */
.dim { position: relative; margin: 12px 0 0; padding: 9px 2px 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dim::before, .dim::after { content: ""; position: absolute; top: -6px; width: 1px; height: 11px; background: var(--ink-2); transform: rotate(45deg); }
.dim::before { left: 0; }
.dim::after { right: 0; }

/* tabelka rysunkowa */
.tb { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.tb > div { padding: 9px 14px 11px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.tb dt { font-size: .8rem; color: var(--ink-2); }
.tb dd { margin: 2px 0 0; font-weight: 600; line-height: 1.35; }

.dash { margin: 0 0 1.4em; }
.dash li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px solid var(--line-2); }
.dash li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 1px; background: var(--ink-2); }

/* ---------- nagłówek ---------- */
.hd { position: sticky; top: 0; z-index: var(--z-hd); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hd.is-scrolled { border-bottom-color: var(--line-2); }
.hd-in { display: flex; align-items: center; gap: 20px; height: var(--hd); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-ring { width: 42px; height: 40px; fill: currentColor; flex: none; }
.logo-t { display: flex; flex-direction: column; line-height: 1; }
.logo-t b { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; letter-spacing: .18em; }
.logo-t small { font-family: var(--hand); font-weight: 700; font-size: 1.02rem; letter-spacing: .04em; margin-top: 2px; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 10px; font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav-ct { display: none; }
.hd-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding: 10px 0 10px 18px; border-left: 1px solid var(--line-2); white-space: nowrap; }
.hd-tel:hover span { text-decoration: underline; text-decoration-color: var(--brass-t); text-underline-offset: .25em; }
.hd-menu { display: none; }

@media (max-width: 1080px) {
  :root { --hd: 62px; }
  .hd-in { gap: 6px; }
  .hd-tel { border: 0; padding: 0; width: 46px; height: 46px; justify-content: center; }
  .hd-tel span { display: none; }
  .hd-tel .i { width: 22px; height: 22px; }
  .hd-menu { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
  .hd-menu .i { width: 24px; height: 24px; }
  .hd-menu .i-close, .menu-open .hd-menu .i-open { display: none; }
  .menu-open .hd-menu .i-close { display: block; }
  .nav { position: fixed; inset: var(--hd) 0 0; z-index: var(--z-menu); background: var(--bg); padding: 12px var(--gut) 32px; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-family: var(--serif); font-size: 1.85rem; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-2); color: var(--brass-t); }
  .nav-ct { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 24px; }
  .nav-ct a { display: inline-flex; align-items: center; gap: 10px; font: 600 1.05rem var(--sans); border: 0; padding: 10px 0; }
  .menu-open { overflow: hidden; }
}
@media (max-width: 380px) { .logo-t small { display: none; } }

/* ---------- sekcje ---------- */
.sec { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.sec-tight { padding-top: clamp(28px, 4vw, 48px); }
.sec-g { background: var(--green); color: var(--on-g); }
.sec-off { background: var(--bg-2); }
.sec-hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-lead { max-width: 62ch; font-size: 1.12rem; color: var(--ink-2); margin-top: calc(-1 * clamp(12px, 2vw, 24px)); margin-bottom: clamp(32px, 4vw, 48px); }
.sec-note { margin: 0; color: var(--ink-2); font-size: .95rem; }
.col { max-width: 760px; }
.col h2 { margin-bottom: .6em; }
.col > p { font-size: 1.1rem; }

/* ---------- hero ---------- */
.hero-in { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); align-items: end; gap: clamp(32px, 4vw, 64px); max-width: calc(var(--wrap) + (100vw - var(--wrap)) / 2); padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); padding-top: clamp(24px, 4vw, 56px); }
.hero-tx { padding-bottom: clamp(48px, 7vw, 104px); }
.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: 1.15rem; max-width: 40ch; color: var(--ink-2); }
.hero-sig { font-weight: 600; margin-bottom: 28px; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-ph { margin: 0; }
.hero-ph img { width: 100%; height: min(78vh, 760px); min-height: 460px; object-fit: cover; object-position: 50% 50%; animation: reveal 1.2s var(--ease) both; }
.hero-ph .dim { margin-right: var(--gut); }
.hero-tx > * { animation: rise .9s var(--ease) both; }
.hero-tx > :nth-child(2) { animation-delay: .08s; }
.hero-tx > :nth-child(3) { animation-delay: .14s; }
.hero-tx > :nth-child(4) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes reveal { from { clip-path: inset(0 0 0 14%); opacity: .4; } to { clip-path: inset(0); opacity: 1; } }

@media (max-width: 959px) {
  .hero-in { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .hero-ph { order: -1; }
  .hero-ph img { height: auto; min-height: 0; aspect-ratio: 1 / 1.02; object-position: 58% 50%; }
  .hero-ph .dim { margin: 10px var(--gut) 0; }
  .hero-tx { padding: 26px var(--gut) 56px; }
  .hero h1 { font-size: clamp(2.1rem, 1.2rem + 4.6vw, 3.2rem); }
  .hero-lead { font-size: 1.05rem; }
}

/* ---------- projekt / efekt (moment popisowy) ---------- */
.pe-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pe-tx h2 { margin-bottom: .55em; }
.pe-tx p { color: var(--on-g-2); font-size: 1.1rem; max-width: 44ch; }
.pe-tx .pe-hint { font-size: .98rem; }
.pe { display: grid; gap: 0; }
.pe-rooms { display: flex; flex-wrap: wrap; gap: 0 22px; margin-bottom: 14px; }
.pe-rooms button { background: none; border: 0; padding: 10px 0; color: var(--on-g-2); font-weight: 600; cursor: pointer; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; min-height: 44px; }
.pe-rooms button:hover { color: var(--on-g); border-bottom-color: var(--g-line); }
.pe-rooms button[aria-selected="true"] { color: var(--on-g); border-bottom-color: var(--brass); }
.pe-frame { position: relative; aspect-ratio: 4 / 3; max-height: 66vh; width: 100%; overflow: hidden; background: var(--green-2); }
.pe-pair { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.pe-pair.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.pe-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pe-real { clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--ease); }
.pe.is-real .pe-real { clip-path: inset(0); }
.pe-tag { position: absolute; left: 0; bottom: 0; margin: 0; padding: 7px 12px; background: var(--green); color: var(--on-g); font-size: .85rem; font-weight: 600; }
.pe-tag-r, .pe.is-real .pe-tag-v { display: none; }
.pe.is-real .pe-tag-r { display: inline; }
.pe-switch { display: flex; gap: 6px; margin-top: 14px; margin-left: -8px; }
.pe-switch button { position: relative; background: none; border: 0; cursor: pointer; color: var(--on-g-2); font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1; padding: 16px 22px; min-height: 56px; transition: color .3s; }
.pe-switch button:hover { color: var(--on-g); }
.pe-switch button[aria-pressed="true"] { color: var(--on-g); }
.pe-switch span { position: relative; z-index: 1; }
.ring-draw { position: absolute; left: -6%; top: -18%; width: 112%; height: 136%; transform: rotate(-4deg); fill: var(--brass); pointer-events: none; overflow: visible; }
.ring-draw circle { stroke-dasharray: 1; stroke-dashoffset: 1; transform-origin: 392px 392px; transform: rotate(-20deg); transition: stroke-dashoffset .75s var(--ease); }
[aria-pressed="true"] > .ring-draw circle { stroke-dashoffset: 0; transition-delay: .05s; }
.pe-cap { color: var(--on-g-2); border-top-color: var(--g-line); min-height: 3.4em; }
.pe-cap::before, .pe-cap::after { background: var(--on-g-2); }
.pe-real-pre { display: none; }

@media (max-width: 959px) {
  .pe-wrap { grid-template-columns: 1fr; }
  .pe-frame { aspect-ratio: 4 / 5; width: auto; max-height: none; margin-inline: calc(-1 * var(--gut)); }
  .pe-tag { left: 0; }
}

/* ---------- karty realizacji ---------- */
.feat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.feat .pc { grid-column: span 4; }
.feat .pc-big { grid-column: span 8; grid-row: span 2; }
.feat .pc:nth-child(2) { grid-column: span 4; }
.feat .pc:nth-child(3) { grid-column: span 4; }
.feat .pc:nth-child(4) { grid-column: 1 / span 5; }
.feat .pc:nth-child(5) { grid-column: span 7; }
.pc a { display: block; text-decoration: none; color: inherit; }
.pc-img { display: block; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.pc-big .pc-img { aspect-ratio: auto; height: calc(100% - 82px); min-height: 360px; }
.feat .pc-big a { height: 100%; display: flex; flex-direction: column; }
.feat .pc-big .pc-img { flex: 1; }
.feat .pc:nth-child(5) .pc-img { aspect-ratio: 16 / 9; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pc a:hover .pc-img img { transform: scale(1.03); }
.pc-t { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); position: relative; }
.pc-t::before, .pc-t::after { content: ""; position: absolute; top: -6px; width: 1px; height: 11px; background: var(--ink-2); transform: rotate(45deg); }
.pc-t::before { left: 0; } .pc-t::after { right: 0; }
.pc-n { font-family: var(--serif); font-size: 1.32rem; line-height: 1.3; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.pc a:hover .pc-n { text-decoration-color: var(--brass-t); }
.pc-big .pc-n { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.pc-y { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .95rem; }
.pc-m { display: block; margin-top: 4px; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 959px) {
  .feat { grid-template-columns: 1fr 1fr; }
  .feat .pc, .feat .pc:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .feat .pc-big, .feat .pc:nth-child(5) { grid-column: 1 / -1; }
  .pc-big .pc-img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .feat .pc:nth-child(5) .pc-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) {
  .feat { grid-template-columns: 1fr; }
  .feat .pc:nth-child(n) { grid-column: 1 / -1; }
}

.flt { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 36px; border-bottom: 1px solid var(--line-2); }
.flt button { background: none; border: 0; padding: 12px 0; margin-bottom: -1px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid transparent; cursor: pointer; min-height: 44px; transition: color .2s, border-color .2s; }
.flt button span { font-weight: 400; font-variant-numeric: tabular-nums; margin-left: 2px; }
.flt button:hover { color: var(--ink); border-bottom-color: var(--line); }
.flt button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 44px clamp(16px, 2vw, 28px); }
.grid .pc[hidden] { display: none; }

/* ---------- oferta (strona główna) ---------- */
.off { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.off-l { position: sticky; top: calc(var(--hd) + 32px); }
.off-l h2 { margin-bottom: .5em; }
.off-l > p { color: var(--ink-2); font-size: 1.1rem; max-width: 44ch; margin-bottom: 32px; }
.ph { margin: 0; }
.ph-doc img { background: #fff; border: 1px solid var(--line-2); }
.off-list { border-top: 1px solid var(--ink); }
.off-list a { position: relative; display: block; padding: 24px 48px 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.off-list h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.8rem); margin-bottom: 6px; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .18em; transition: text-decoration-color .2s; }
.off-list p { margin: 0; }
.off-list .off-who { color: var(--ink-2); font-size: .97rem; margin-top: 4px; }
.off-list .arr { position: absolute; right: 4px; top: 30px; width: 22px; height: 22px; transition: transform .3s var(--ease); }
.off-list a:hover h3 { text-decoration-color: var(--brass-t); }
.off-list a:hover .arr { transform: translateX(4px); }
@media (max-width: 959px) { .off { grid-template-columns: 1fr; } .off-l { position: static; } }

/* ---------- kalkulator ---------- */
.sec-calc { background: var(--bg-2); }
.calc-hd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.calc-hd p { margin: 0; color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; }
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--ink); background: var(--bg); }
.calc-in { padding: clamp(20px, 3vw, 40px); display: grid; gap: 30px; align-content: start; }
.calc-f { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-f legend, .calc-l { display: block; padding: 0; margin-bottom: 12px; font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); padding: 4px; gap: 4px; }
.seg label { position: relative; }

.seg input, .calc-pk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 8px 10px; cursor: pointer; font-weight: 500; line-height: 1.2; transition: background .2s, color .2s; }
.seg label:hover span { background: var(--bg-2); }
.seg input:checked + span { background: var(--green); color: var(--on-g); }
.seg input:focus-visible + span, .calc-pk input:focus-visible ~ .pk-n { outline: 2px solid var(--brass-t); outline-offset: 2px; }
.calc-m { display: flex; align-items: center; gap: 20px; }
.calc-m input[type="range"] { flex: 1; min-width: 0; accent-color: var(--green); height: 44px; }
.calc-num { display: inline-flex; align-items: center; border-bottom: 1px solid var(--ink); }
.calc-num input { width: 4.2ch; border: 0; background: none; padding: 6px 4px; font-family: var(--serif); font-size: 1.9rem; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.calc-num input::-webkit-outer-spin-button, .calc-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-num span { font-weight: 600; padding-left: 4px; }
.calc-pk { display: grid; border-top: 1px solid var(--line); }
.calc-pk label { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.calc-pk label::before { content: ""; grid-row: span 2; width: 18px; height: 18px; margin-top: 3px; border: 1px solid var(--ink); border-radius: 50%; transition: box-shadow .2s; }
.calc-pk label:has(input:checked)::before { box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 9px var(--green); }
.pk-n { font-weight: 600; }
.pk-d { font-size: .92rem; color: var(--ink-2); grid-column: 2; }
.calc-x { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.calc-x input, .form-ok input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); flex: none; }
.calc-x small { color: var(--ink-2); font-size: .9rem; }
.calc-res { background: var(--green); color: var(--on-g); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: flex-start; }
.calc-res > * { position: relative; }
@media (min-width: 960px) { .calc-res { position: relative; } .calc-res-in { position: sticky; top: calc(var(--hd) + 24px); } }
.calc-k { color: var(--on-g-2); font-weight: 600; margin-bottom: 8px; }
.calc-v { font-family: var(--serif); font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.01em; }
.calc-r { color: var(--on-g-2); padding-bottom: 18px; border-bottom: 1px solid var(--g-line); margin-bottom: 18px; }
.calc-note { color: var(--on-g-2); font-size: .95rem; margin-bottom: 24px; }
.calc-res .btn { align-self: flex-start; }
@media (max-width: 959px) {
  .calc-hd { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; margin-inline: calc(-1 * var(--gut)); border-left: 0; border-right: 0; }
}
@media (max-width: 480px) { .seg { grid-template-columns: 1fr 1fr; } .seg label:last-child { grid-column: 1 / -1; } }

/* ---------- proces ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 36px); counter-reset: s; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; padding-top: 26px; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); }
.steps li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ink); }
.sec-off .steps li::before { background: var(--bg-2); }
.st-n { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--brass-t); margin-bottom: 6px; }
.steps h3 { margin-bottom: 10px; font-size: 1.18rem; }
.steps p:last-child { color: var(--ink-2); font-size: .99rem; }
@media (max-width: 959px) {
  .steps, .steps-3 { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 30px 26px; }
  .steps li::after { right: auto; bottom: 0; width: 1px; height: auto; }
  .steps li::before { left: -5px; top: 6px; }
  .steps li:last-child { padding-bottom: 0; }
}
.proc { display: grid; gap: clamp(56px, 8vw, 112px); }
.proc-i { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.proc-i:nth-child(even) .proc-tx { order: 2; }
.proc-tx h2 { margin-bottom: .5em; }
.proc-tx > p:not(.st-n) { font-size: 1.1rem; color: var(--ink-2); }
.proc-tx h3 { margin: 28px 0 8px; }
@media (max-width: 959px) { .proc-i { grid-template-columns: 1fr; } .proc-i:nth-child(even) .proc-tx { order: 0; } }

/* ---------- o mnie ---------- */
.me { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.me-ph { position: relative; margin: 0; max-width: 420px; width: 100%; justify-self: center; }
.me-circle { display: block; width: 78%; margin: 11% 0 0 9%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.me-circle img { width: 100%; height: 100%; object-fit: cover; }
.me-ring { position: absolute; inset: 0; width: 100%; height: auto; aspect-ratio: 837 / 783; fill: var(--ink); }
.me-tx h2 { margin-bottom: .6em; }
.me-tx p { font-size: 1.1rem; max-width: 56ch; }
.me-tx p + p { color: var(--ink-2); }
.me-sig, .me-role { font-weight: 600; color: var(--ink) !important; }
.me-top { padding-top: 8px; }
@media (max-width: 959px) { .me { grid-template-columns: 1fr; } .me-ph { max-width: 300px; justify-self: start; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }

/* ---------- opinie ---------- */
.rev { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rev blockquote { margin: 0; }
.rev-big p { font-family: var(--serif); font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.5rem); line-height: 1.4; }
.rev footer, .revs footer { font-weight: 600; margin-top: 4px; }
.rev-big footer { font-size: 1.05rem; }
.rev-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.rev-list li:first-child { border-top: 1px solid var(--ink); }
.rev-list li:last-child { border-bottom: 0; }
.rev-list p { margin-bottom: 6px; }
.rev-g .star { color: var(--brass); }
.revs { columns: 2 340px; column-gap: clamp(32px, 5vw, 80px); }
.revs li { break-inside: avoid; padding: 24px 0 28px; border-top: 1px solid var(--line); }
.revs blockquote { margin: 0; }
.revs-big p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.4; }
@media (max-width: 959px) { .rev { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { border-top: 1px solid var(--line-2); padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.cta-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.cta-tx h2 { margin-bottom: .45em; }
.cta-tx p { color: var(--ink-2); font-size: 1.1rem; max-width: 50ch; margin: 0; }
.cta-act { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cta-tel { font-family: var(--serif); font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.3rem); line-height: 1.1; text-decoration: none; font-variant-numeric: lining-nums; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.cta-tel:hover { border-bottom-color: var(--brass-t); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 959px) { .cta-in { grid-template-columns: 1fr; } }

/* ---------- podstrony ---------- */
.ph-hd { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(16px, 3vw, 40px); }
.ph-hd h1 { max-width: 18ch; margin-bottom: .4em; }
.ph-hd-p h1 { max-width: 22ch; }
.ph-lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); max-width: 60ch; margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: .9rem; color: var(--ink-2); margin-bottom: clamp(20px, 3vw, 36px); }
.crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--line); }
.crumbs a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.crumbs a:hover { text-decoration-color: var(--brass-t); }
.ph-hd .tb { max-width: 980px; }
.p-cover img { width: 100%; max-height: 82vh; object-fit: cover; }
@media (max-width: 700px) { .p-cover { padding: 0; } .p-cover .dim { margin-inline: var(--gut); } }

.cs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.cs h2 { margin-bottom: .5em; }
.cs-task p { font-size: 1.15rem; color: var(--ink-2); }
.cs-list { margin: 0; border-top: 1px solid var(--ink); }
.cs-list > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 8px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cs-list dt { font-weight: 600; }
.cs-list dd { margin: 0; color: var(--ink-2); }
@media (max-width: 959px) { .cs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cs-list > div { grid-template-columns: 1fr; } }

.docs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 44px) clamp(16px, 2.4vw, 32px); align-items: start; }
.docs .doc-r img { aspect-ratio: 1848 / 1125; object-fit: cover; }
.docs figure { cursor: zoom-in; }
@media (max-width: 959px) { .docs { grid-template-columns: 1fr; } .docs .doc-a { grid-row: auto; } }
.vars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.vars b { color: var(--ink); }
@media (max-width: 700px) { .vars { grid-template-columns: 1fr; } }

.gal-g + .gal-g { margin-top: clamp(40px, 5vw, 64px); }
.gal-h { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.gal-h span { font-family: var(--sans); font-size: .92rem; font-weight: 400; color: var(--ink-2); }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 26px clamp(12px, 1.6vw, 20px); align-items: start; }
.gal-b { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in; overflow: hidden; }
.gal-b img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gal-b .i { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; padding: 8px; background: var(--bg); color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease); }
.gal-b:hover img { transform: scale(1.03); }
.gal-b:hover .i, .gal-b:focus-visible .i { opacity: 1; transform: none; }
.gal .dim { font-size: .87rem; }
@media (max-width: 560px) { .gal { grid-template-columns: 1fr 1fr; gap: 18px 10px; } .gal .dim { font-size: .82rem; } }

.pn { border-top: 1px solid var(--line-2); }
.pn-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.pn-a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-height: 56px; max-width: 48%; }
.pn-a small { display: block; font-size: .85rem; color: var(--ink-2); }
.pn-a span { font-family: var(--serif); font-size: 1.15rem; line-height: 1.32; }
.pn-a:hover span { text-decoration: underline; text-decoration-color: var(--brass-t); text-underline-offset: .2em; }
.pn-next { text-align: right; margin-left: auto; }

.toc ul { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.toc a { display: inline-block; padding: 8px 0; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .25em; }
.toc a:hover { text-decoration-color: var(--brass-t); }
.svc { border-top: 1px solid var(--line-2); }
.svc-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-r .svc-tx { order: 2; }
.svc h2 { margin-bottom: .35em; }
.svc h2 small { font-family: var(--sans); font-size: 1.05rem; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.svc-lead { font-size: 1.15rem; color: var(--ink-2); }
.svc .tb { margin: 22px 0 30px; grid-template-columns: 1fr; }
.svc h3 { margin-bottom: 6px; }
.svc .ph { position: sticky; top: calc(var(--hd) + 32px); cursor: zoom-in; }
@media (max-width: 959px) { .svc-in { grid-template-columns: 1fr; } .svc-r .svc-tx { order: 0; } .svc .ph { position: static; } }
.end { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.end p { color: var(--on-g-2); }
.end .dash li { border-color: var(--g-line); }
.end .dash li::before { background: var(--on-g-2); }
@media (max-width: 959px) { .end { grid-template-columns: 1fr; } }

.cmp { overflow-x: auto; border: 1px solid var(--ink); padding: 6px 10px; }
.cmp table { width: 100%; min-width: 560px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.cmp thead th { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; border-bottom: 1px solid var(--ink); }
.cmp tbody th { font-weight: 500; }
.cmp td { width: 17%; }
.cmp tr:last-child > * { border-bottom: 0; }
.yes { font-weight: 600; }
.yes::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.no { color: var(--ink-2); }
.no::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; border: 1px solid var(--line); vertical-align: 1px; }

/* ---------- kontakt ---------- */
.ct { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ct-tel { display: inline-block; font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem); line-height: 1.1; text-decoration: none; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.ct-tel:hover { border-bottom-color: var(--brass-t); }
.ct-list { margin: 0; border-top: 1px solid var(--ink); }
.ct-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ct-list dt { font-weight: 600; }
.ct-list dd { margin: 0; color: var(--ink-2); }
.ct-r h2 { margin-bottom: .6em; }
@media (max-width: 959px) { .ct { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ct-list > div { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 600; font-size: .95rem; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 0; transition: border-color .2s; }
.form textarea { resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--ink-2); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { border-color: var(--ink); outline: 2px solid var(--brass-t); outline-offset: 1px; }
.form ::placeholder { color: #6A746F; }
.form-ok { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.form-err { color: #8A2E1F; font-weight: 600; margin: 0; }
.form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--ink-2); margin: 0; }
@media (max-width: 520px) { .form-2 { grid-template-columns: 1fr; } }
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 1px solid var(--line); filter: grayscale(.6) contrast(.95); }
.map { padding-bottom: clamp(64px, 8vw, 112px); }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }

.nf { padding-top: clamp(40px, 8vw, 120px); padding-bottom: clamp(64px, 10vw, 140px); }
.nf-in { position: relative; }
.nf-ring { width: clamp(160px, 22vw, 260px); height: auto; aspect-ratio: 837 / 783; fill: var(--brass); margin-bottom: 24px; }
.nf h1 { max-width: 16ch; margin-bottom: .4em; }

/* ---------- stopka ---------- */
.ft { background: var(--green); color: var(--on-g); padding-top: clamp(56px, 7vw, 96px); }
.ft-in { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px clamp(24px, 4vw, 56px); padding-bottom: 48px; }
.ft-brand p { color: var(--on-g-2); margin-top: 24px; font-size: .97rem; }
.logo-big { position: relative; width: 210px; aspect-ratio: 837 / 783; display: grid; place-content: center; justify-items: center; color: var(--on-g); }
.logo-big-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; }
.logo-big b { font-weight: 600; font-size: 1.6rem; letter-spacing: .16em; line-height: 1; margin-left: .16em; }
.logo-big i { display: block; width: 132px; height: 1px; background: currentColor; margin: 8px 0 5px; }
.logo-big small { font-family: var(--hand); font-weight: 700; font-size: 1.08rem; letter-spacing: .05em; line-height: 1; }
.ft-h { font-size: .95rem; font-weight: 600; color: var(--on-g-2); margin-bottom: 14px; }
.ft-col a { display: inline-block; padding: 6px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; transition: text-decoration-color .2s; }
.ft-col a:hover { text-decoration-color: var(--brass); }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--g-line); font-size: .9rem; color: var(--on-g-2); }
.ft-bot p { margin: 0; }
.ft-bot a { text-decoration: underline; text-decoration-color: var(--g-line); text-underline-offset: .25em; }
.ft-bot a:hover { text-decoration-color: var(--brass); }
@media (max-width: 959px) { .ft-in { grid-template-columns: 1fr 1fr; } .ft-brand, .ft-col:last-child { grid-column: 1 / -1; } }
.ft-col a { overflow-wrap: anywhere; }

/* przyklejony pasek na telefonie: wjeżdża za hero */
.bar { display: none; }
@media (max-width: 959px) {
  .bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar); display: grid; grid-template-columns: 1fr 1fr; background: var(--green); transform: translateY(105%); transition: transform .4s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
  .bar.on { transform: none; }
  .bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; color: var(--on-g); text-decoration: none; font-weight: 600; }
  .bar a + a { border-left: 1px solid var(--g-line); }
  body { padding-bottom: 0; }
  .ft-bot { padding-bottom: 84px; }
}

/* ---------- lightbox ---------- */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 22, 19, .96); color: var(--on-g); z-index: var(--z-lb); }
.lb[open] { display: grid; place-items: center; animation: fade .3s var(--ease); }
.lb::backdrop { background: rgba(14, 22, 19, .6); }
.lb figure { margin: 0; max-width: min(1280px, 92vw); }
.lb img { max-height: 80vh; width: auto; margin: 0 auto; }
.lb .dim { color: var(--on-g-2); border-top-color: var(--g-line); max-width: 70ch; }
.lb .dim::before, .lb .dim::after { background: var(--on-g-2); }
.lb-x, .lb-nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; background: none; border: 1px solid var(--g-line); color: var(--on-g); cursor: pointer; transition: border-color .2s, background .2s; }
.lb-x:hover, .lb-nav:hover { border-color: var(--on-g-2); background: rgba(255, 255, 255, .06); }
.lb-x { top: 16px; right: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-x .i, .lb-nav .i { width: 22px; height: 22px; }
.lb-n { position: absolute; top: 28px; left: 20px; margin: 0; font-size: .9rem; color: var(--on-g-2); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .lb-nav { top: auto; bottom: 16px; transform: none; } .lb img { max-height: 70vh; } }
@keyframes fade { from { opacity: 0; } }

/* pojawianie się treści: domyślnie widoczne, animacja tylko przy włączonym JS */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .pe-real { transition: opacity .3s; clip-path: none; opacity: 0; }
  .pe.is-real .pe-real { opacity: 1; }
}
