:root {
  --ink: #1f2326;
  --muted: #5b6268;
  --graphite: #2b3034;
  --olive: #55602f;
  --gold: #a8894c;
  --gold-soft: #f4efe4;
  --line: #e2dfd8;
  --bg: #faf9f6;
  --card: #ffffff;
  --wrap: 1040px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: var(--graphite); }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--graphite); color: #fff; padding: .6em 1em; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

/* Nagłówek */
.site-header { background: var(--graphite); color: #e9e6df; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand, .brand:hover { color: #fff; text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.brand:hover strong { color: var(--gold-soft); }
.brand strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; }
.brand span { font-size: .82rem; color: #c9c3b6; letter-spacing: .04em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem; }
.nav a { display: block; padding: .45rem .8rem; color: #e9e6df; text-decoration: none; border-radius: 4px; font-size: .97rem; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.menu-toggle { display: none; }

@media (max-width: 820px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: .8rem; padding-bottom: .8rem; }
  .brand { flex: 1 1 0; min-width: 0; }
  .menu-toggle {
    display: inline-block; font: inherit; font-weight: 600; color: #fff; background: transparent;
    border: 1px solid rgba(255, 255, 255, .35); border-radius: 4px; padding: .45rem .9rem; cursor: pointer;
  }
  .nav { width: 100%; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: .3rem 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .no-js .nav { display: block; }
  .no-js .menu-toggle { display: none; }
}

/* Baner */
.hero { position: relative; background: #d9d6d1 url("img/pioro.jpg") right center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 249, 246, .96) 0%, rgba(250, 249, 246, .85) 45%, rgba(250, 249, 246, 0) 80%); }
.hero .wrap { position: relative; padding-top: 4rem; padding-bottom: 4rem; }
.hero .kicker { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .8rem; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.btn { display: inline-block; padding: .7rem 1.2rem; border-radius: 4px; text-decoration: none; font-weight: 600; border: 1px solid transparent; }
.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-line { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-line:hover { background: var(--graphite); color: #fff; }
@media (max-width: 700px) {
  .hero { background-position: 70% center; }
  .hero::before { background: rgba(250, 249, 246, .9); }
  .hero .wrap { padding-top: 2.6rem; padding-bottom: 2.8rem; }
}

.page-head { border-bottom: 1px solid var(--line); background: #fff; }
.page-head .wrap { padding-top: 2.4rem; padding-bottom: 1.8rem; }
.page-head h1 { margin: 0; }
.page-head h1::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: .7rem; }

.section { padding: 2.8rem 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }
.prose { max-width: 44em; }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin-bottom: .5em; padding-left: .2em; }

.aside { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 1.4rem 1.5rem; }
.aside h2 { font-size: 1.2rem; }
.aside p { margin-bottom: .7em; }
.aside .phone { font-size: 1.2rem; font-weight: 700; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.facts div { background: var(--gold-soft); padding: 1.1rem 1.2rem; border-left: 3px solid var(--gold); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--graphite); }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.box { background: var(--card); border: 1px solid var(--line); padding: 1.4rem 1.5rem; }
.box h2 { font-size: 1.2rem; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: .2rem 0; }
.accounts dt { font-weight: 600; margin-top: .7rem; }
.accounts dd { margin: 0; font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.links { list-style: none; padding: 0; display: grid; gap: .8rem; }
.links a { display: block; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.links a:hover { border-color: var(--gold); }
.links small { display: block; color: var(--muted); }

.site-footer { background: var(--graphite); color: #c9c3b6; margin-top: 2rem; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.8rem; padding-bottom: 1.8rem; }
.site-footer strong { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.site-footer a { color: #fff; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
