/* hunts.zasiadka.com — hand-written, no framework. Layout language: the approved mockup (mockups/20261112-hunts-public-site/),
   i.e. the owner's Stitch "Hubertus Heritage" structure in Zasiadka colours. Type = the landing page's Lexend, self-hosted.
   No inline styles are used anywhere (CSP style-src 'self'). */

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./fonts/lexend-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./fonts/lexend-latin-wght-normal.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 {
  color-scheme: light dark;
  --bg: #f5f0e6; --bg2: #ede6d3; --card: #ffffff; --text: #22201b; --sub: #6b6355;
  --line: rgba(22, 40, 31, .14); --line2: rgba(22, 40, 31, .08);
  --btn: #16281f; --btn-text: #f5f0e6; --btn-hover: #2f4f3a; --price: #6b4423; --leather: #6b4423;
  --open: #2f4f3a; --open-bg: rgba(47, 79, 58, .12); --limited: #c1502e; --limited-bg: rgba(193, 80, 46, .12);
  --full: #5d655f; --full-bg: rgba(107, 114, 110, .16);
  --chip-bg: #ede6d3; --brass: #c3934b; --warn-bg: #fbf1dd; --warn-line: #e8c98a;
  --shadow: 0 8px 24px -4px rgba(22, 40, 31, .10);
  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a14; --bg2: #1a211a; --card: #1d251c; --text: #f1ede2; --sub: #a39d8a;
    --line: rgba(224, 197, 129, .18); --line2: rgba(224, 197, 129, .09);
    --btn: #3f6b4a; --btn-text: #f5f0e6; --btn-hover: #4d7f59; --price: #e0c581; --leather: #d4b48a;
    --open: #8fc29f; --open-bg: rgba(143, 194, 159, .16); --limited: #f0906a; --limited-bg: rgba(240, 144, 106, .16);
    --full: #a8b0aa; --full-bg: rgba(168, 176, 170, .14);
    --chip-bg: #252e23; --warn-bg: #2c2618; --warn-line: #6e5a2a;
    --shadow: 0 8px 24px -4px rgba(0, 0, 0, .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5;
}
/* Lexend has no Cyrillic: bg renders in the system face, exactly like the landing's bg page */
html[lang='bg'] body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
main { flex: 1; min-width: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
.icon { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
#view-title:focus { outline: none; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--btn); color: var(--btn-text); padding: 10px 16px; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; }
.sr-copy { position: fixed; left: -9999px; top: 0; }
.nowrap { white-space: nowrap; }
.strong { font-weight: 600; }
.sub { color: var(--sub); }

.lbl { font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
.num, .price, .price-big, .stat-num, .price-cell { font-variant-numeric: tabular-nums; }

/* ── Header = the landing page's header (sticky forestDark/95, blur, tan wordmark, orange CTA) ── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(22, 40, 31, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.header-in {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'brand banner actions';
  align-items: center; gap: 12px; padding: 12px 32px; max-width: 1280px; margin: 0 auto;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 8px; }
.brand-logo { width: 36px; height: 36px; flex: none; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: #e8dcc0; }
.banner { grid-area: banner; text-align: center; font-size: 14px; font-weight: 600; color: rgba(201, 184, 150, .92); min-width: 0; }
.header-actions { grid-area: actions; display: flex; align-items: center; gap: 12px; }
/* Language dropdown = the landing's (landing/index.html:669-700), value for value from its Tailwind classes:
   button  flex items-center gap-1.5 text-khaki/80 hover:text-tan text-sm font-semibold px-3 py-2 rounded-lg border border-white/10
   panel   absolute right-0 mt-2 w-44 bg-forestDark border border-white/10 rounded-xl shadow-xl overflow-hidden py-1
   option  block w-full text-left px-4 py-2 text-sm text-khaki/80 hover:bg-white/10 hover:text-tan; current = text-tan font-semibold */
.lang-menu { position: relative; }
.lang-trigger {
  display: flex; align-items: center; gap: 6px; background: none; font: inherit; font-size: 14px; line-height: 20px; font-weight: 600;
  color: rgba(201, 184, 150, .8); padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; cursor: pointer;
  transition: color .15s;
}
.lang-trigger:hover { color: #e8dcc0; }
.lang-trigger .icon:last-child { transition: transform .15s; }
.lang-trigger[aria-expanded='true'] .icon:last-child { transform: rotate(180deg); }
.lang-panel {
  position: absolute; right: 0; top: 100%; margin-top: 8px; width: 176px; max-height: calc(100vh - 96px); overflow-y: auto; z-index: 50;
  background: #16281f; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 4px 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
}
.lang-panel[hidden] { display: none; }
.lang-opt {
  display: block; width: 100%; text-align: left; background: none; border: 0; font: inherit; font-size: 14px; line-height: 20px;
  color: rgba(201, 184, 150, .8); padding: 8px 16px; cursor: pointer; transition: background-color .15s, color .15s;
}
.lang-opt:hover { background: rgba(255, 255, 255, .1); color: #e8dcc0; }
.lang-opt[aria-current='true'] { color: #e8dcc0; font-weight: 600; }
.lang-opt:focus-visible { outline-offset: -2px; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 6px; background: #c1502e; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 9px 16px; border-radius: 12px; box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .4); min-height: 40px; white-space: nowrap;
}
.btn-cta:hover { background: #9c3d21; }
.cta-short { display: none; }

/* ── Layout ── */
.hero { background: var(--bg2); border-bottom: 1px solid var(--line); }
.hero-in { max-width: 1280px; margin: 0 auto; padding: 48px 32px; display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--leather);
  background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 6px 10px; font-weight: 500;
}
.hero-title { font-size: 44px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; margin-top: 16px; overflow-wrap: anywhere; }
.hero-tagline { margin-top: 16px; max-width: 42rem; font-size: 17px; line-height: 1.6; color: var(--sub); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.stat-card { padding: 20px; align-self: start; }
.stat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag-open, .tag-spots { font-size: 10px; font-weight: 600; text-transform: uppercase; padding: 2px 8px; border-radius: 2px; background: var(--open-bg); color: var(--open); }
.tag-limited { background: var(--limited-bg); color: var(--limited); }
.tag-full { background: var(--full-bg); color: var(--full); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line2); }
.stat-num { font-size: 24px; font-weight: 600; }
.stat-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 16px; font-size: 11px; color: var(--sub); }

.filters { max-width: 1280px; margin: -24px auto 0; padding: 0 32px; position: relative; }
.filter-panel { padding: 20px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; box-shadow: var(--shadow); }
.filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.field {
  font: inherit; font-size: 14px; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; min-height: 44px;
}
.field:focus { border-color: var(--btn); box-shadow: 0 0 0 1px var(--brass); outline: none; }
.seg, .view-btns { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.seg-btn, .view-btn { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 14px; min-height: 44px; border: 0; border-right: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.seg-btn:last-child, .view-btn:last-child { border-right: 0; }
.seg-btn[aria-pressed='true'] { background: var(--btn); color: var(--btn-text); }
.filter-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.clear-btn { background: none; border: 0; padding: 8px 4px; font: inherit; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; color: var(--sub); cursor: pointer; }
.result-count { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.list-section { max-width: 1280px; margin: 0 auto; padding: 40px 32px 48px; }
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 24px; }
.section-title { font-size: 28px; font-weight: 600; line-height: 1.2; }
.view-switch { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.view-label { color: var(--sub); }
.view-btn { font-size: 12px; padding: 8px 12px; min-height: 36px; }
.view-btn[aria-pressed='true'] { background: var(--bg2); }

.groups { display: flex; flex-direction: column; gap: 40px; }
.month-label { margin-bottom: 16px; text-transform: capitalize; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Card ── */
.hunt-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s; min-width: 0; }
.hunt-card:hover { box-shadow: var(--shadow); }
.band {
  position: relative; min-height: 150px; padding: 16px; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='140' viewBox='0 0 360 140' fill='none' stroke='%23E0C581' stroke-opacity='.13' stroke-width='1'%3E%3Cellipse cx='250' cy='70' rx='30' ry='14'/%3E%3Cellipse cx='250' cy='70' rx='62' ry='30'/%3E%3Cellipse cx='250' cy='70' rx='98' ry='47'/%3E%3Cellipse cx='250' cy='70' rx='138' ry='64'/%3E%3Cellipse cx='250' cy='70' rx='182' ry='84'/%3E%3Cellipse cx='60' cy='140' rx='50' ry='22'/%3E%3Cellipse cx='60' cy='140' rx='95' ry='42'/%3E%3C/svg%3E") center / cover,
    linear-gradient(160deg, #16281f 0%, #2f4f3a 100%);
}
.band-dw { background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='140' viewBox='0 0 360 140' fill='none' stroke='%23E0C581' stroke-opacity='.13' stroke-width='1'%3E%3Cellipse cx='250' cy='70' rx='30' ry='14'/%3E%3Cellipse cx='250' cy='70' rx='62' ry='30'/%3E%3Cellipse cx='250' cy='70' rx='98' ry='47'/%3E%3Cellipse cx='250' cy='70' rx='138' ry='64'/%3E%3Cellipse cx='250' cy='70' rx='182' ry='84'/%3E%3C/svg%3E") center / cover,
    linear-gradient(160deg, #2b1a0d 0%, #6b4423 100%); }
.band-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; font-weight: 600; background: #3f6b4a; color: #fff; }
.chip-dw { background: #8a5a36; }
.chip-date { background: #f5f0e6; color: #16281f; }
.chip-spots.chip-open { background: rgba(245, 240, 230, .16); color: #f5f0e6; border: 1px solid rgba(245, 240, 230, .4); }
.chip-spots.chip-limited { background: #c1502e; color: #fff; }
.chip-spots.chip-full { background: #5d655f; color: #fff; }
.band-bottom { margin-top: 24px; }
.kicker { font-weight: 500; font-size: 13px; color: #e0c581; overflow-wrap: anywhere; }
.card-title { font-size: 19px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line2); }
.matrix > div { min-width: 0; }
.cell-val { font-size: 13px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; background: var(--chip-bg); border: 1px solid var(--line2); border-radius: 3px; padding: 2px 8px; overflow-wrap: anywhere; }
.price-bar { background: var(--bg2); border-top: 1px solid var(--line); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 20px; font-weight: 600; color: var(--price); }

/* ── Buttons ── */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none;
  border-radius: 4px; padding: 10px 16px; min-height: 44px; cursor: pointer; transition: box-shadow .15s, background .15s;
}
.btn { background: var(--btn); color: var(--btn-text); border: 0; }
.btn:hover { background: var(--btn-hover); box-shadow: inset 0 0 0 1px var(--brass); }
.btn-ghost { background: transparent; color: var(--leather); border: 1.5px solid var(--leather); }
.btn-ghost:hover { background: var(--bg2); }

/* ── Table (Cennik) ── */
.table-wrap { overflow-x: auto; }
.ledger { width: 100%; min-width: 820px; border-collapse: collapse; }
.ledger thead th { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); font-weight: 500; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ledger td { padding: 12px; border-bottom: 1px solid var(--line2); vertical-align: top; font-size: 14px; font-variant-numeric: tabular-nums; }
.ledger .num { text-align: right; }
.ledger .month-row { background: var(--bg2); padding: 8px 12px; text-align: left; text-transform: capitalize; }
.ledger tr.row { cursor: pointer; }
.ledger tr.row:hover, .ledger tr.row:focus-visible { background: var(--bg2); }
.row-link { text-decoration: none; }
.price-cell { color: var(--price); }
.spots-open { color: var(--open); }
.spots-limited { color: var(--limited); }
.spots-full { color: var(--full); }

/* ── States ── */
.state { text-align: center; padding: 48px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.state-error { background: var(--warn-bg); border-color: var(--warn-line); }
.state-icon { display: inline-flex; color: var(--sub); }
.state-title { font-size: 20px; font-weight: 600; margin-top: 8px; }
.state-text { font-size: 14px; color: var(--sub); margin-top: 4px; }
.state .btn { margin-top: 16px; }
.skeleton { background: linear-gradient(90deg, var(--bg2), var(--line), var(--bg2)); background-size: 200% 100%; animation: sh 1.4s infinite linear; border-radius: 4px; }
@keyframes sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
.skeleton-card { overflow: hidden; }
.sk-band { height: 128px; border-radius: 0; }
.sk-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.sk-line { height: 12px; } .sk-60 { width: 60%; } .sk-40 { width: 40%; }
.sk-btn { height: 40px; margin-top: 12px; }
.sk-title { height: 36px; width: 60%; margin: 16px 0; }
.notfound { text-align: center; max-width: 440px; margin: 0 auto; padding: 80px 24px 96px; }
.nf-title { font-size: 28px; font-weight: 600; margin-top: 8px; }
.nf-btn { margin-top: 24px; }
.boot-error { padding: 48px 24px; text-align: center; }

/* ── Detail ── */
.detail-wrap { max-width: 1280px; margin: 0 auto; padding: 32px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); text-decoration: none; min-height: 32px; }
.back-link:hover { text-decoration: underline; }
.detail-grid { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
.detail-main { min-width: 0; }
.detail-kicker { margin-top: 16px; font-weight: 500; font-size: 15px; color: var(--leather); overflow-wrap: anywhere; }
.detail-title { font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; overflow-wrap: anywhere; }
.detail-club { margin-top: 8px; display: flex; align-items: center; gap: 6px; color: var(--sub); overflow-wrap: anywhere; }
.spec, .about { margin-top: 24px; overflow: hidden; }
.card-head { padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.card-head h2 { font-size: 20px; font-weight: 600; }
.spec dl { margin: 0; padding: 0 20px; }
.spec-row { display: grid; grid-template-columns: 180px 1fr; gap: 0 16px; padding: 12px 0; border-bottom: 1px solid var(--line2); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { padding-top: 2px; }
.spec-row dd { margin: 0; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.spec-map { display: flex; align-items: center; gap: 6px; }
.spec-map a { font-size: 14px; color: var(--leather); }
.tz-note { padding: 0 20px 14px; font-size: 11px; color: var(--sub); }
.about-text { padding: 16px 20px; font-size: 16px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.detail-aside { display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: 88px; min-width: 0; }
.aside-card { padding: 20px; }
.price-big { font-size: 34px; font-weight: 600; line-height: 1.2; margin-top: 8px; color: var(--price); overflow-wrap: anywhere; }
.price-note { font-size: 13px; color: var(--sub); margin-top: 4px; }
.contact-name { font-size: 20px; font-weight: 600; margin-top: 4px; overflow-wrap: anywhere; }
.phone-row { display: flex; gap: 8px; margin-top: 12px; }
.btn-call { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; }
.no-phone { font-size: 14px; color: var(--sub); margin-top: 8px; }
.links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.link-btn { justify-content: flex-start; min-width: 0; }
.link-host { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.links-note { font-size: 11px; color: var(--sub); margin-top: 8px; }
.cta-card { border-radius: 8px; padding: 20px; color: #fff; background: linear-gradient(160deg, #16281f, #2f4f3a); border: 1px solid rgba(224, 197, 129, .35); }
.cta-eyebrow { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #e0c581; }
.cta-title { font-size: 22px; font-weight: 600; line-height: 1.3; margin-top: 4px; }
.cta-text { font-size: 14px; margin-top: 8px; color: rgba(245, 240, 230, .88); }
.store-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.store-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 4px; padding: 10px 16px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.store-play { background: #f5f0e6; color: #16281f; }
.store-apple { border: 1.5px solid #e0c581; color: #e0c581; }

/* ── Footer = the landing page's footer ── */
.site-footer { background: #16281f; margin-top: auto; }
.footer-in { max-width: 1152px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-in .brand { cursor: default; }
.footer-tagline { margin-top: 12px; font-size: 14px; color: rgba(201, 184, 150, .75); }
.footer-disclaimer { margin-top: 12px; font-size: 12px; line-height: 1.6; color: rgba(201, 184, 150, .6); }
.footer-head { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #e8dcc0; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: rgba(201, 184, 150, .9); }
.footer-links a { text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: #e8dcc0; }
.footer-rule { border-top: 1px solid rgba(255, 255, 255, .05); }
.footer-copy { max-width: 1152px; margin: 0 auto; padding: 20px 24px; font-size: 12px; color: rgba(201, 184, 150, .5); }

/* ── Phones ── */
@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; padding: 32px 16px; }
  .hero-title { font-size: 28px; line-height: 1.2; }
  .filters { padding: 0 16px; }
  .list-section { padding: 32px 16px 40px; }
  .section-title { font-size: 22px; }
  .detail-wrap { padding: 24px 16px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-aside { position: static; }
  .detail-title { font-size: 26px; line-height: 1.25; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .footer-in { grid-template-columns: minmax(0, 1fr); }
  .view-label { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  /* banner = a second row under the logo; the CTA shortens to "Aplikacja" */
  .header-in { grid-template-columns: 1fr auto; grid-template-areas: 'brand actions' 'banner banner'; padding: 10px 16px; row-gap: 6px; }
  .banner { text-align: left; font-size: 11px; line-height: 1.35; color: rgba(201, 184, 150, .85); }
  .cta-long { display: none; } .cta-short { display: inline; }
  .btn-cta { padding: 8px 10px; font-size: 13px; }
  .btn-cta .icon { display: none; }
  /* the name does not fit next to the logo and the CTA on a phone: globe + chevron only (aria-label still names the language) */
  .lang-current { display: none; }
  .lang-trigger { padding: 8px 10px; gap: 4px; }
  .header-actions { gap: 8px; min-width: 0; }
  .brand-name { font-size: 17px; }
  .filter-field { min-width: 0; width: 100%; }
  .field { width: 100%; }
  .filter-end { margin-left: 0; width: 100%; justify-content: space-between; }
  .seg { width: 100%; }
  .seg-btn { flex: 1; padding: 10px 6px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 16px; }
}
