/* System wizualny HomeSpace - przeniesiony ze szkicu docs/design/homespace.css.
   Wszystko siedzi pod .hs, zeby nie wyciekac na panel i pozostale podstrony.
   Rola <body> ze szkicu przypada wrapperowi .hs. */

:root:has(.hs) { scroll-behavior: smooth; }
:root {
  --paper: #ffffff;
  --paper-2: #f6f5f3;
  --ink: #000000;
  --ink-soft: #33322f;
  --slate: #5c5b58;
  --rule: #e1dfdb;
  --night: #131313;
  --amber: #ffa300;
  --amber-deep: #d98c00;

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --band: clamp(4rem, 7.5vw, 7rem);
  --shell: 1280px;

  --serif: "Spectral", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: light;
}
.hs *, .hs *::before, .hs *::after { box-sizing: border-box; }
.hs {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}
.hs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.hs a:hover {
  color: var(--amber-deep);
}
.hs img { display: block; max-width: 100%; height: auto; }
.hs :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hs .band-dark :focus-visible, .hs .hero :focus-visible { outline-color: var(--amber); }
.hs .skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; z-index: 60; }
.hs .skip:focus { left: 0; }
.hs .shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.hs .display {
  font: 500 clamp(2.4rem, 4.6vw, 4rem)/1.05 var(--serif);
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.hs .title {
  font: 500 clamp(1.8rem, 3vw, 2.7rem)/1.12 var(--serif);
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.hs .subtitle { font: 500 1.15rem/1.35 var(--serif); margin: 0; }
.hs .lead { font-size: clamp(1.02rem, 1.15vw, 1.15rem); line-height: 1.62; color: var(--slate); max-width: 56ch; margin: 1.05rem 0 0; }
.hs .prose { max-width: 62ch; }
.hs .prose p { margin: 0 0 1rem; color: var(--slate); }
.hs .meta { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.012em; color: var(--slate); }
.hs .kicker { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.1rem; font-size: 0.9375rem; font-weight: 500; color: var(--slate); }
.hs .price { font: 600 clamp(1.45rem, 1.9vw, 1.85rem)/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -0.012em; }
.hs .roof { display: inline-block; width: 1.05em; height: 0.44em; flex: none; background: var(--amber); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hs .roof-lg { width: 2.4rem; height: 1rem; }
.hs .roof-ink { background: var(--ink); }
.hs .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.55rem;
  border: 1px solid var(--amber); background: var(--amber); color: var(--ink);
  font: 600 0.9375rem/1 var(--sans); white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.hs .btn:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.hs .btn:active { transform: translateY(1px); }
.hs .btn-quiet { background: transparent; border-color: currentColor; color: inherit; }
.hs .btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hs .band-dark .btn-quiet:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.hs .band-amber { background: var(--amber); color: var(--ink); }
.hs .band-amber .lead { color: rgba(0, 0, 0, 0.74); }
.hs .band-amber .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hs .band-amber .btn-quiet { background: transparent; border-color: var(--ink); color: var(--ink); }
.hs .band-amber .btn-quiet:hover { background: var(--ink); color: var(--amber); }
.hs .link-underline { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; white-space: nowrap; }
.hs .link-underline:hover { border-color: var(--amber); }
.hs .utility { background: var(--night); color: rgba(255, 255, 255, 0.82); font-size: 0.8125rem; }
.hs .utility__row { display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; align-items: center; min-height: 2.5rem; }
.hs .utility a { text-decoration: none; color: rgba(255, 255, 255, 0.88); font-weight: 500; transition: color 0.15s ease; }
.hs .utility a:hover { color: var(--amber); }
.hs .utility__right { margin-left: auto; color: rgba(255, 255, 255, 0.7); }
.hs .masthead { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hs .masthead__row { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.25rem); min-height: 4.75rem; }
.hs .masthead__logo img { width: clamp(128px, 12vw, 158px); }
.hs .nav { display: flex; gap: clamp(0.9rem, 1.9vw, 1.75rem); margin-left: auto; font-size: 0.9375rem; font-weight: 500; }
.hs .nav a { text-decoration: none; white-space: nowrap; padding: 0.4rem 0; border-bottom: 2px solid transparent; color: var(--ink); transition: color 0.15s ease, border-color 0.15s ease; }
.hs .nav a:hover { border-color: var(--amber); color: var(--amber-deep); }
.hs .nav a[aria-current="page"] { border-color: var(--ink); }
.hs .masthead__call { font: 600 0.9375rem/1 var(--sans); text-decoration: none; white-space: nowrap; color: var(--ink); transition: color 0.15s ease; }
.hs .masthead__call:hover { color: var(--amber-deep); }
.hs .hero { position: relative; background: var(--night); }
.hs .hero__media { position: relative; height: clamp(27rem, 70svh, 36rem); overflow: hidden; }
.hs .hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.hs .hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.46) 52%, rgba(0, 0, 0, 0.12) 100%);
}
.hs .hero__text { position: absolute; inset: auto 0 clamp(3.5rem, 8vh, 5.5rem); z-index: 2; color: var(--paper); }
.hs .hero__text .display { max-width: 21ch; }
.hs .hero__text .lead { color: rgba(255, 255, 255, 0.84); max-width: 44ch; }
.hs .hero__kicker { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 1.35rem; font-size: 0.9375rem; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
@media (prefers-reduced-motion: no-preference) {
.hs .hero__text > .shell > * { animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.hs .hero__text > .shell > :nth-child(2) { animation-delay: 0.08s; }
.hs .hero__text > .shell > :nth-child(3) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } }
}
.hs .search {
  position: relative; z-index: 4; margin-top: -3.25rem;
  background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--amber);
  padding: 1.35rem clamp(1.25rem, 2.2vw, 1.9rem) 1.5rem;
}
.hs .search__modes { display: flex; gap: 0; margin-bottom: 1.15rem; }
.hs .search__modes button {
  border: 1px solid var(--rule); background: var(--paper); color: var(--slate);
  font: 500 0.875rem/1 var(--sans); padding: 0.6rem 1.1rem; cursor: pointer;
}
.hs .search__modes button + button { border-left: 0; }
.hs .search__modes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hs .search__fields { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; }
.hs .field { display: grid; gap: 0.4rem; }
.hs .field > span { font-size: 0.8125rem; font-weight: 500; color: var(--ink-soft); }
.hs .field select, .hs .field input {
  height: 3rem; width: 100%; padding: 0 0.85rem;
  border: 1px solid var(--rule); background: var(--paper); color: var(--ink);
  font: 400 0.9375rem/1 var(--sans);
}
.hs .field input::placeholder { color: #6b6a67; }
.hs .sonar { background: var(--paper); border: 1px solid var(--ink); padding: clamp(1.35rem, 2.4vw, 2rem); display: grid; gap: 1.2rem; }
.hs .sonar__intent { border: 0; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs .sonar__intent legend { grid-column: 1 / -1; padding: 0 0 0.15rem; font-size: 0.8125rem; font-weight: 500; color: var(--ink-soft); }
.hs .sonar__intent label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.65rem; align-items: start; border: 1px solid var(--rule); padding: 0.8rem 0.9rem; cursor: pointer; }
.hs .sonar__intent label:hover { border-color: var(--ink); }
.hs .sonar__intent label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hs .sonar__intent input { margin: 0.25rem 0 0; accent-color: var(--ink); }
.hs .sonar__intent strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.hs .sonar__intent small { display: block; margin-top: 0.15rem; font-size: 0.8125rem; line-height: 1.45; color: var(--slate); }
.hs .sonar__grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs .sonar__wide { grid-column: 1 / -1; }
.hs .sonar__submit { width: 100%; }
.hs .sonar__note { margin: 0; font-size: 0.8125rem; line-height: 1.55; color: var(--slate); }
.hs .band { padding-block: var(--band); }
.hs .band-tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.hs .band-dark { background: var(--night); color: var(--paper); }
.hs .band-dark .lead, .hs .band-dark .meta, .hs .band-dark .prose p, .hs .band-dark .kicker { color: rgba(255, 255, 255, 0.74); }
.hs .band-line { border-top: 1px solid var(--rule); }
.hs .band-tint { background: var(--paper-2); }
.hs .band__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.25rem 2.5rem; margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.hs .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hs .facts > div { padding: clamp(1.4rem, 2.6vw, 2rem) 0; }
.hs .facts > div + div { border-left: 1px solid var(--rule); padding-left: clamp(1.25rem, 3vw, 2.5rem); }
.hs .facts dt { font-size: 0.8125rem; font-weight: 500; color: var(--slate); margin-bottom: 0.55rem; }
.hs .facts dd { margin: 0; font: 500 clamp(1.3rem, 2vw, 1.75rem)/1.15 var(--serif); }
.hs .grid-3 { display: grid; gap: clamp(1.5rem, 2.4vw, 2.25rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hs .grid-2 { display: grid; gap: clamp(1.75rem, 3vw, 3.25rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs .split-7-5 { display: grid; gap: clamp(1.75rem, 3vw, 3.25rem); grid-template-columns: 7fr 5fr; align-items: center; }
.hs .split-5-7 { display: grid; gap: clamp(1.75rem, 3vw, 3.25rem); grid-template-columns: 5fr 7fr; align-items: start; }
.hs .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.5rem, 2.5vw, 2rem); }
.hs .chips a {
  text-decoration: none; font: 500 0.875rem/1 var(--sans);
  padding: 0.6rem 1rem; border: 1px solid var(--rule); color: var(--ink-soft);
}
.hs .chips a:hover { border-color: var(--ink); }
.hs .chips a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hs .offer { display: flex; flex-direction: column; text-decoration: none; }
.hs .offer__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eeece9; }
.hs .offer__media img { width: 100%; height: 100%; object-fit: contain; }
.hs .offer__body { padding-top: 1.05rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.hs .offer__title { font: 500 1.0625rem/1.4 var(--sans); margin: 0; min-height: 2.8em; }
.hs .offer:hover .offer__title { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.hs .offer__place { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--slate); }
.hs .offer__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: auto; padding-top: 0.7rem; font-size: 0.875rem; color: var(--slate); }
.hs .offer__specs > div + div { border-left: 1px solid var(--rule); padding-left: 0.8rem; }
.hs .offer__specs b { display: block; font-weight: 500; color: var(--ink); }
.hs .ribbon { display: inline-block; align-self: flex-start; background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; padding: 0.3rem 0.55rem; }
.hs .flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.hs .flow > li { list-style: none; padding: clamp(1.4rem, 2.6vw, 2rem) clamp(1.25rem, 2vw, 2rem) clamp(1.6rem, 2.8vw, 2.25rem) 0; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); padding-left: clamp(1.25rem, 2vw, 2rem); }
.hs .flow > li:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.hs .flow .digit { font: 500 0.9375rem/1 var(--serif); color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.hs .flow h3 { font: 500 1.125rem/1.3 var(--sans); margin: 0.85rem 0 0.5rem; }
.hs .flow p { margin: 0; color: var(--slate); font-size: 0.9375rem; }
.hs .quote { margin: 0; }
.hs .quote blockquote { margin: 0; font: 400 clamp(1.15rem, 1.7vw, 1.4rem)/1.5 var(--serif); }
.hs .quote figcaption { margin-top: 0.9rem; font-size: 0.875rem; color: var(--slate); }
.hs .stars { display: flex; gap: 0.15rem; color: var(--amber-deep); font-size: 0.9rem; margin-bottom: 0.9rem; }
.hs .address { display: grid; gap: 0.35rem; font-size: 1rem; }
.hs .address dt { font-size: 0.8125rem; color: var(--slate); }
.hs .address dd { margin: 0 0 0.75rem; }
.hs .faq { border-top: 1px solid var(--rule); }
.hs .faq details { border-bottom: 1px solid var(--rule); }
.hs .faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font: 500 1.0625rem/1.4 var(--sans); position: relative; }
.hs .faq summary::-webkit-details-marker { display: none; }
.hs .faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1rem; font-size: 1.4rem; font-weight: 400; color: var(--slate); }
.hs .faq details[open] summary::after { content: "-"; }
.hs .faq p { margin: 0 0 1.25rem; color: var(--slate); max-width: 68ch; }
.hs .footer { background: var(--night); color: rgba(255, 255, 255, 0.76); padding-block: clamp(3rem, 5.5vw, 4.5rem) 2rem; }
.hs .footer a { text-decoration: none; }
.hs .footer a:hover { color: var(--amber); }
.hs .footer h2 { font: 500 0.9375rem/1.3 var(--sans); color: var(--paper); margin: 0 0 0.9rem; }
.hs .footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9375rem; }
.hs .footer__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.hs .footer__legal { margin-top: clamp(2.5rem, 4.5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }
.hs .callbar { display: none; }
.hs .note { border-left: 3px solid var(--amber); background: var(--paper-2); padding: 0.8rem 1rem; font-size: 0.875rem; color: var(--slate); }
@media (max-width: 900px) {
.hs .masthead__row { flex-wrap: wrap; gap: 0.7rem 1.25rem; padding-block: 0.85rem; min-height: 0; }
.hs .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 1.1rem; padding-bottom: 0.15rem; }
.hs .masthead__call { margin-left: auto; }
.hs .split-7-5, .hs .split-5-7 { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
.hs .search__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs .search__fields .btn { grid-column: 1 / -1; }
.hs .grid-3, .hs .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs .flow > li, .hs .flow > li:nth-child(3n + 1) { border-left: 1px solid var(--rule); padding-left: clamp(1.25rem, 2vw, 2rem); }
.hs .flow > li:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
.hs .band__head { grid-template-columns: minmax(0, 1fr); }
.hs .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
.hs .hero__media { height: 30rem; }
.hs .search { margin-top: -1.75rem; }
.hs .search__fields { grid-template-columns: 1fr; }
.hs .facts, .hs .grid-3, .hs .grid-2, .hs .flow, .hs .footer__grid, .hs .sonar__grid, .hs .sonar__intent { grid-template-columns: 1fr; }
.hs .facts > div + div, .hs .flow > li, .hs .flow > li:nth-child(3n + 1), .hs .flow > li:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
.hs .facts > div + div { border-top: 1px solid var(--rule); }
.hs .utility__right { display: none; }
.hs { padding-bottom: 4.25rem; }
.hs .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; inset: auto 0 0; z-index: 40;
    background: var(--rule); border-top: 1px solid var(--rule);
  }
.hs .callbar a { display: grid; place-items: center; min-height: 3.5rem; background: var(--paper); font: 600 0.9375rem/1 var(--sans); text-decoration: none; }
.hs .callbar a.is-primary { background: var(--amber); }
}
@media (prefers-reduced-motion: reduce) {
.hs *, .hs *::before, .hs *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
.hs .reviews-empty { display: grid; justify-items: start; gap: 1rem; max-width: 56ch; }
.hs .reviews-empty .stars { margin: 0; font-size: 1.05rem; }
.hs .reviews-empty .lead { margin: 0; }
.hs .offers-empty { margin: 2rem 0 0; color: var(--slate); }
.hs .office {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.2vw, 2rem);
  margin-top: clamp(2rem, 3.5vw, 3rem);
  align-items: stretch;
}
.hs .card-agent {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2vw, 1.9rem);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.hs .card-agent__photo {
  width: 100%;
  max-width: 17rem;
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: bottom center;
  border-bottom: 1px solid var(--rule);
}
.hs .card-agent__name { font: 500 clamp(1.4rem, 2vw, 1.8rem)/1.15 var(--serif); letter-spacing: -0.015em; margin: 0.4rem 0 0.2rem; }
.hs .card-agent__bio { margin: auto 0 0; padding-top: 0.35rem; font-size: 0.9375rem; line-height: 1.55; color: var(--slate); }
.hs .tile {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.hs .tile:hover { border-color: var(--amber); background: var(--paper); }
.hs .tile > span { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.hs .tile > b { font-weight: 500; overflow-wrap: anywhere; }
.hs .office-form {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.25rem, 2vw, 1.9rem);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.hs .office-form .subtitle { margin: 0 0 0.2rem; }
.hs .office-form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.hs .office-form textarea::placeholder { color: #6b6a67; }
.hs .consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.65rem; align-items: start; font-size: 0.8125rem; line-height: 1.5; color: var(--slate); }
.hs .consent input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--amber-deep); }
.hs .office-place { margin-top: clamp(2rem, 3.5vw, 3rem); align-items: stretch; }
.hs .office-map { width: 100%; min-height: 20rem; height: 100%; border: 1px solid var(--rule); }
@media (max-width: 960px) {
.hs .office { grid-template-columns: 1fr; }
.hs .office-form { order: 3; }
}
.hs [hidden] { display: none !important; }
.hs [id] { scroll-margin-top: 5.75rem; }
.hs .office-form__status { margin: 0; padding: 0.7rem 0.85rem; border-left: 3px solid var(--amber); background: var(--paper-2); font-size: 0.8125rem; line-height: 1.55; color: var(--ink-soft); }
.hs .inquiry {
  width: min(56rem, calc(100vw - 2rem));
  max-height: min(46rem, calc(100vh - 2rem));
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.hs .inquiry::backdrop { background: rgba(0, 0, 0, 0.6); }
.hs .inquiry[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, 1.1fr); }
.hs .inquiry__media { position: relative; background: var(--paper-2); overflow: hidden; }
.hs .inquiry__media img { width: 100%; height: 100%; object-fit: cover; }
.hs .inquiry__form { display: grid; gap: 0.75rem; padding: clamp(1.4rem, 2.4vw, 2.2rem); overflow-y: auto; }
.hs .inquiry__offer { margin: -0.3rem 0 0.4rem; font-size: 0.9375rem; color: var(--slate); }
.hs .inquiry__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hs .inquiry__close {
  position: absolute; top: 0.5rem; right: 0.6rem; z-index: 2;
  width: 2.5rem; height: 2.5rem; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  font: 400 1.9rem/1 var(--sans); color: var(--slate);
}
.hs .inquiry__close:hover { color: var(--ink); }
.hs .inquiry__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.3rem; }
.hs .inquiry__status { margin: 0; padding: 0.7rem 0.85rem; border-left: 3px solid var(--amber); background: var(--paper-2); font-size: 0.8125rem; line-height: 1.55; }
@media (max-width: 760px) {
.hs .inquiry[open] { grid-template-columns: 1fr; }
.hs .inquiry__media { display: none; }
}
.hs .promo { background: var(--ink); color: var(--paper); font-size: 0.875rem; }
.hs .promo .shell { padding-block: 0.7rem; }
.hs .promo a { text-decoration: underline; text-underline-offset: 3px; }
.hs .categories { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 1.75rem; }
.hs .categories::after { content: ""; display: table; clear: both; }
.hs .categories img { width: auto; height: 3.25rem; margin: 1.6rem auto 0.9rem; }
.hs .premium { display: grid; gap: 0.75rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.hs .premium a { font: 500 clamp(1.05rem, 1.5vw, 1.25rem)/1.4 var(--serif); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hs .premium a:hover { color: var(--amber-deep); }


/* Fonty leżą na naszym serwerze (assets/fonty.css) - żadne żądanie nie idzie do Google. */
.hs {
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Spectral", Georgia, serif;
}

/* ---------- kafelki kategorii na stronie głównej ---------- */
.hs .kategorie {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: 1.75rem;
}
@media (max-width: 960px) {
  .hs .kategorie { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }
}
@media (max-width: 480px) {
  .hs .kategorie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hs .kategoria {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem 1.15rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.hs .kategoria:hover {
  border-color: var(--amber);
  background: var(--paper-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.hs .kategoria__glowny {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: var(--ink);
}
.hs .kategoria__glowny:hover {
  color: var(--ink);
}
.hs .kategoria__ikona {
  width: 52px;
  height: 52px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hs .kategoria__ikona img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform .18s ease;
}
.hs .kategoria:hover .kategoria__ikona img {
  transform: scale(1.08);
}
.hs .kategoria__nazwa {
  font: 500 1.15rem/1.2 var(--serif);
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.hs .kategoria__ile {
  font-size: 0.8125rem;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
.hs .kategoria__linki {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--rule);
  width: 100%;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hs .kategoria__linki a {
  color: var(--slate);
  text-decoration: none;
  padding: 0.15rem 0.25rem;
  transition: color 0.15s ease;
}
.hs .kategoria__linki a:hover {
  color: var(--amber-deep);
  text-decoration: underline;
}

/* ---------- okruchy, stronicowanie ---------- */
.hs .okruchy { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.8125rem; color: var(--slate); }
.hs .okruchy a { text-decoration: underline; text-underline-offset: 3px; }
.hs .okruchy a:hover { color: var(--amber-deep); }
.hs .stronicowanie { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hs .stronicowanie__licznik { font-size: 0.875rem; color: var(--slate); }
