/* Giełda Łodzi 24: strona publiczna */

:root {
  --navy: #0a1628;
  --navy-2: #0f1f36;
  --navy-3: #16294a;
  --gold: #d4a64a;
  --gold-2: #e6bd62;
  --gold-dark: #8f6612; /* złoto na jasnym tle, czytelny kontrast */
  --light: #f4f2ee;
  --white: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --line-light: #dedad2;
  --silver: #e8ecf1;
  --silver-dim: #a9b4c2;
  --line-dark: rgba(212, 166, 74, 0.28);
  --radius: 6px;
  --header-h: 76px;
  --container: 1240px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--navy); color: var(--silver); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; margin: 0; }
p { margin: 0; }
a { color: var(--gold); }
a:hover { color: var(--gold-2); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 4px; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: var(--radius); border: 1px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--gold); }
.btn-outline:hover { background: rgba(212, 166, 74, 0.12); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }
.btn-wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--line-dark); }
.bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; flex: none; }
.brand:hover { color: var(--white); }
.brand img { border-radius: 50%; }
.brand-name { display: grid; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; line-height: 1.1; text-transform: uppercase; white-space: nowrap; }
.brand-name b { color: var(--gold); display: inline; }
.brand-name small { font-family: var(--font-body); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.14em; color: var(--silver-dim); margin-top: 3px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--silver); text-decoration: none; font-weight: 500; font-size: 0.93rem; }
.nav a:hover, .nav a.is-active { color: var(--gold); }
.bar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; color: var(--silver); border-radius: var(--radius); }
.icon-btn:hover { color: var(--gold); }
.call-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; min-height: 48px; border-radius: var(--radius); background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy); text-decoration: none; }
.call-btn:hover { background: var(--gold-2); color: var(--navy); }
.call-btn span { display: grid; line-height: 1.1; }
.call-btn b { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.call-btn small { font-size: 0.7rem; font-weight: 500; }
.burger { display: grid; place-items: center; width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--gold); cursor: pointer; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 1179px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy); border-bottom: 1px solid var(--line-dark); padding: 8px 16px 20px; display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav.open { display: block; }
  .nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1.05rem; }
}
@media (max-width: 639px) {
  .call-btn { display: none; }
  .brand-name small { display: none; }
}
@media (min-width: 1180px) {
  .burger { display: none; }
  .nav { margin-left: auto; }
  .nav ul { display: flex; gap: 28px; }
  .bar-actions { margin-left: 8px; }
}

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero-img, .hero-ph { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-ph { display: grid; place-items: start end; padding: 24px 32px; background: repeating-linear-gradient(135deg, transparent 0 16px, rgba(212, 166, 74, 0.035) 16px 17px), linear-gradient(120deg, #0c1a2f 0%, #1b2f52 55%, #3a3a3c 100%); color: var(--silver-dim); }
.hero-ph span { max-width: 32ch; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; border: 1px dashed rgba(212, 166, 74, 0.4); padding: 10px 12px; border-radius: 4px; text-align: center; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.7) 45%, rgba(10, 22, 40, 0.15) 100%), linear-gradient(0deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0) 45%); }
.hero-inner { padding-block: clamp(48px, 8vw, 96px) 28px; }
.hero-title { font-style: italic; font-size: clamp(2.8rem, 8vw, 5.6rem); line-height: 0.98; text-transform: uppercase; color: var(--white); letter-spacing: -0.01em; }
.hero-title span { display: block; background: linear-gradient(180deg, #f3d488, var(--gold) 60%, #b8872c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.4rem); text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); }

.hero-search { margin-top: 28px; max-width: 880px; }
.search-bar { display: grid; gap: 8px; padding: 8px; background: var(--white); border-radius: var(--radius); }
@media (min-width: 720px) { .search-bar { grid-template-columns: 200px 1fr auto; } }
.search-bar select, .search-input { min-height: 46px; border: 1px solid #cfd4db; border-radius: 4px; background: var(--white); color: var(--ink); }
.search-bar select { padding: 0 12px; }
.search-input { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); }
.search-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); height: 44px; }
.search-input:focus-within, .search-bar select:focus { border-color: var(--gold-dark); outline: 2px solid rgba(212, 166, 74, 0.35); }

/* Sekcja z ogłoszeniami: jasne tło jak na makiecie */
.latest, .list-page, .detail, .legal { background: var(--light); color: var(--ink); }
.latest { padding-block: 44px 56px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.title-line { display: flex; align-items: center; gap: 18px; font-size: clamp(1.35rem, 3vw, 1.9rem); text-transform: uppercase; color: var(--ink); }
.title-line::after { content: ''; width: 64px; height: 2px; background: var(--gold); }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; }
.more:hover { color: var(--gold-dark); }
.empty { padding: 22px; border: 1px dashed #c9c3b6; border-radius: var(--radius); background: var(--white); color: var(--muted); }
.empty a { color: var(--gold-dark); font-weight: 600; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card-link { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; }
.card-link:hover { border-color: var(--gold); color: var(--ink); }
.card-link:hover h3 { color: var(--gold-dark); }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: #dfe3e8; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: #7a8391; font-size: 0.75rem; letter-spacing: 0.05em; }
.card-cat { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 4px; background: rgba(10, 22, 40, 0.85); color: var(--gold); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.card-sold { position: absolute; right: 10px; top: 10px; padding: 3px 8px; border-radius: 4px; background: #b3261e; color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.card-specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.84rem; color: var(--muted); }
.card-specs li, .card-loc { display: inline-flex; align-items: center; gap: 5px; }
.card-loc { font-size: 0.84rem; color: var(--muted); }
.card-price { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--gold-dark); }
.card-arrow { color: var(--gold-dark); }

/* Kafle usług */
.services { background: var(--light); padding-block: 48px 56px; }
.service-tiles { display: grid; gap: 12px; }
@media (min-width: 900px) { .service-tiles { grid-template-columns: repeat(3, 1fr); } }
.service { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 24px 22px; background: var(--navy); border-radius: var(--radius); color: var(--silver-dim); text-decoration: none; font-size: 0.9rem; line-height: 1.45; }
.service:hover { background: var(--navy-3); color: var(--silver-dim); }
.service b { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1rem; text-transform: uppercase; color: var(--white); letter-spacing: 0.02em; }
.service-icon { color: var(--gold); }
.service-arrow { box-sizing: content-box; padding: 9px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }

/* Sekcje treści */
.block { padding-block: clamp(56px, 8vw, 96px); }
.block-alt { background: var(--navy-2); border-block: 1px solid rgba(255, 255, 255, 0.06); }
.block h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--white); }
.lead { margin-top: 16px; color: var(--silver); font-size: 1.05rem; max-width: 40rem; }
.note { margin-top: 18px; font-size: 0.88rem; color: var(--silver-dim); max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.split { display: grid; gap: 36px; }
@media (min-width: 1000px) { .split { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }
.step-num { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--font-head); font-weight: 800; color: var(--gold); }

.offer-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 760px) { .offer-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .offer-list { grid-template-columns: repeat(3, 1fr); } }
.offer-list li { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.offer-list h3 { font-size: 1.02rem; color: var(--white); margin-bottom: 6px; }
.offer-list p { color: var(--silver-dim); font-size: 0.93rem; }

.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.values li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 18px; border-left: 2px solid var(--gold); background: rgba(255, 255, 255, 0.03); }
.values svg { grid-row: span 2; color: var(--gold); }
.values b { font-family: var(--font-head); color: var(--white); }
.values span { color: var(--silver-dim); font-size: 0.92rem; }

.big-phone { display: block; margin-top: 18px; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 7vw, 4rem); color: var(--gold); text-decoration: none; white-space: nowrap; }
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.channels li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); overflow-wrap: anywhere; }
.channels svg { color: var(--gold); flex: none; }
.channels a { color: var(--white); }
.channels a:hover { color: var(--gold); }

/* Lista ogłoszeń */
.list-page { padding-block: 28px 64px; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-dark); }
.page-title { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--ink); }
.cat-pills { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); color: var(--ink); font-weight: 500; font-size: 0.9rem; text-decoration: none; }
.cat-pills a:hover { border-color: var(--gold); }
.cat-pills a.is-active { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.filters { margin-top: 18px; padding: 16px; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); align-items: end; }
.filters .grow, .filter-actions { grid-column: 1 / -1; }
@media (min-width: 1000px) { .filters { grid-template-columns: 2fr repeat(6, minmax(0, 1fr)); } .filters .grow { grid-column: auto; } .filter-actions { grid-column: auto; } }
.field { display: grid; gap: 4px; align-content: start; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #cfd4db; border-radius: 4px; background: var(--white); color: var(--ink); font-size: 1rem; }
.field input:focus, .field select:focus { outline: 2px solid rgba(212, 166, 74, 0.4); border-color: var(--gold-dark); }
.filter-actions { display: flex; align-items: center; gap: 12px; }
.filter-actions .btn { min-height: 44px; }
.reset { color: var(--ink); font-size: 0.9rem; }
.result-count { margin: 18px 0 12px; color: var(--muted); font-size: 0.92rem; }
.result-count b { color: var(--ink); }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; color: var(--muted); }
.pager a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; }

/* Szczegóły ogłoszenia */
.detail { padding-block: 28px 64px; }
.detail-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .detail-grid { grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; } }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: #dfe3e8; border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #0b1424; }
.thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 4 / 3; }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-side { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 22px; }
@media (min-width: 1000px) { .detail-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.detail-cat { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-dark); }
.detail-side h1 { margin-top: 6px; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--ink); }
.detail-price { margin-top: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--gold-dark); }
.detail-price small { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.sold-note { margin-top: 12px; padding: 10px 12px; border-left: 3px solid #b3261e; background: #fbeeed; color: #7a1a14; font-size: 0.92rem; }
.detail-contact { display: grid; gap: 8px; margin-top: 18px; }
.specs { margin: 22px 0 0; border-top: 1px solid var(--line-light); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-size: 0.93rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.detail-id { margin-top: 14px; font-size: 0.8rem; color: var(--muted); }
.detail-desc { margin-top: 36px; max-width: 52rem; }
.detail-desc h2 { font-size: 1.3rem; color: var(--ink); margin-bottom: 12px; }
.prose { color: #2b3240; line-height: 1.7; overflow-wrap: anywhere; }
.back { margin-top: 32px; }
.back a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; }

/* Strony prawne i 404 */
.legal { padding-block: 44px 72px; }
.legal .container { max-width: 52rem; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--ink); margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; color: var(--ink); margin: 32px 0 10px; }
.legal p, .legal li { color: #3a4250; }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 20px; display: grid; gap: 6px; }
.legal .note { border-left: 3px solid var(--gold); background: var(--white); padding: 12px 14px; margin: 20px 0; color: var(--ink); }
.legal a { color: var(--gold-dark); }
.legal .eyebrow { color: var(--gold-dark); }

/* Stopka */
.site-footer { background: #070f1c; border-top: 1px solid var(--line-dark); padding-top: 48px; padding-bottom: 88px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 16px; } }
.footer-cols { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--silver-dim); font-size: 0.9rem; text-decoration: none; overflow-wrap: anywhere; }
.site-footer ul a:hover { color: var(--gold); }
.footer-bottom { margin-top: 40px; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: var(--silver-dim); }
.footer-bottom ul { display: flex; gap: 20px; }

/* Pływające przyciski */
.floating { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; gap: 10px; }
.fab { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; }
.fab-wa { background: #25d366; color: #fff; }
.fab-wa:hover { background: #1ebe5b; color: #fff; }
.fab-call { background: var(--gold); color: var(--navy); }
.fab-call:hover { background: var(--gold-2); color: var(--navy); }
@media (min-width: 640px) { .fab-call { display: none; } }

/* Dokumenty wpisywane w panelu */
.legal-updated { font-size: 0.85rem; color: var(--muted); }
.legal-body { margin-top: 18px; }
.legal-body p + p, .legal-body p + ul, .legal-body p + ol { margin-top: 10px; }
.legal-body ul, .legal-body ol { margin: 10px 0; }

/* Podgląd wersji roboczej (link dla klienta) */
.draft-bar { position: relative; z-index: 60; padding: 10px 16px; text-align: center; font-size: 0.9rem; color: #0a1628; background: repeating-linear-gradient(135deg, #e6bd62 0 18px, #d4a64a 18px 36px); }
.draft-bar b { margin-right: 8px; padding: 2px 8px; border-radius: 4px; background: #0a1628; color: #e6bd62; font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.draft-badge { position: fixed; left: 16px; bottom: 16px; z-index: 45; padding: 8px 12px; border-radius: 4px; background: #0a1628; border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; }

/* Krótka sekcja „Chcesz sprzedać łódź?” */
.sell-cta { text-align: center; }
.sell-cta h2 { max-width: 22ch; margin-inline: auto; }
.sell-cta .lead { margin-inline: auto; }
.sell-cta .actions { justify-content: center; }
.legal-body h3 { font-size: 1.02rem; color: var(--ink); margin: 22px 0 8px; }
.legal-body h2 { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.legal-body table { border-collapse: collapse; }
.legal-lead { margin-top: 6px; font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-dark); }
.doc-table { overflow-x: auto; margin: 12px 0 16px; }
.doc-table table { width: 100%; min-width: 420px; border-collapse: collapse; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.doc-table th, .doc-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-light); color: var(--ink); }
.doc-table th { background: var(--navy); color: var(--gold); font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table td:nth-child(2) { font-weight: 700; color: var(--gold-dark); white-space: nowrap; }

/* ===== Portal ogłoszeń (specyfikacja klienta) ===== */

/* Hero */
.hero-lead { margin-top: 16px; max-width: 34rem; font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.5; color: var(--silver); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 0.95rem; }
.hero-ph span { display: none; }
@media (min-width: 900px) { .hero-ph span { display: block; } }

/* TOP 10 i wyróżnienia */
.top10 { padding-bottom: 8px; }
.title-line svg { color: var(--gold-dark); flex: none; }
.promo-note { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card.is-featured .card-link { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.card-featured { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; background: var(--gold); color: var(--navy); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.center-cta { margin-top: 28px; text-align: center; }

/* Partnerzy i banery */
.banner { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line-light); }
.banner a { display: block; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner-cat { aspect-ratio: 6 / 1; }
.ad-label { position: absolute; right: 8px; top: 8px; z-index: 1; padding: 2px 7px; border-radius: 3px; background: rgba(10, 22, 40, 0.75); color: #fff; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.banner-cat.banner-free { aspect-ratio: auto; min-height: 84px; justify-content: flex-start; }
.cat-partner { margin-top: 16px; }
.cat-partner-label { margin-bottom: 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Ogłoszenie: 65% zdjęcia, 35% informacje */
@media (min-width: 1000px) { .detail-65 { display: grid; grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); gap: 36px; align-items: start; } }
.gal-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(10, 22, 40, 0.7); color: #fff; cursor: pointer; }
.gal-nav:hover { background: var(--gold); color: var(--navy); }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.gal-count { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 4px; background: rgba(10, 22, 40, 0.75); color: #fff; font-size: 0.8rem; }
.btn-xl { min-height: 60px; font-size: 1.05rem; }
.detail-contact .btn-xl { width: 100%; }
.detail-text { margin-top: 12px; }
.equipment { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 24px; }
@media (min-width: 640px) { .equipment { grid-template-columns: repeat(2, 1fr); } }
.equipment li { display: flex; gap: 8px; align-items: flex-start; color: #2b3240; }
.equipment svg { flex: none; margin-top: 3px; color: var(--gold-dark); }
.detail-help { margin-top: 36px; padding: 22px; border-radius: var(--radius); background: var(--navy); color: var(--silver-dim); }
.detail-help h2 { font-size: 1.15rem; color: var(--white); margin-bottom: 8px; }
.detail-help b { color: var(--white); }
.detail-help-phone { display: block; margin-top: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--gold); text-decoration: none; }
.report { margin-top: 14px; font-size: 0.82rem; }
.report a { display: inline-flex; align-items: center; gap: 6px; color: var(--silver-dim); }
.similar { margin-top: 48px; }

/* Formularz „Zgłoś do ogłoszenia” */
.form-page { background: var(--light); color: var(--ink); padding-block: 28px 72px; }
.form-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; } }
.form-lead { margin-top: 10px; max-width: 44rem; color: #3a4250; font-size: 1.05rem; }
.form-alert { margin-top: 18px; padding: 12px 14px; border-left: 3px solid #b3261e; background: #fbeeed; color: #7a1a14; }
.sub-form { margin-top: 22px; display: grid; gap: 18px; }
.fs { margin: 0; padding: 20px; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); min-width: 0; }
.fs legend { padding: 0 6px; margin-left: -6px; font-family: var(--font-head); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); }
.req { color: #b3261e; }
.hint { margin-top: 4px; font-size: 0.84rem; color: var(--muted); }
.field-error { margin-top: 4px; font-size: 0.86rem; font-weight: 600; color: #b3261e; }
.field textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd4db; border-radius: 4px; background: var(--white); color: var(--ink); font-size: 1rem; line-height: 1.5; resize: vertical; }
.field textarea:focus { outline: 2px solid rgba(212, 166, 74, 0.4); border-color: var(--gold-dark); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.grid2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid2 .span2 { grid-column: 1 / -1; } }
.kind-choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-light); border-radius: var(--radius); cursor: pointer; font-size: 0.95rem; }
.choice:has(input:checked) { border-color: var(--gold-dark); background: #fbf6ea; font-weight: 600; }
.choice input, .consent input { width: 18px; height: 18px; accent-color: var(--gold-dark); flex: none; }
.cat-choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 6px; }
@media (min-width: 640px) { .cat-choice { grid-template-columns: repeat(4, 1fr); } }
.cat-opt { position: relative; cursor: pointer; }
.cat-opt input { position: absolute; opacity: 0; inset: 0; }
.cat-opt span { display: grid; justify-items: center; gap: 6px; height: 100%; padding: 14px 8px; border: 1px solid var(--line-light); border-radius: var(--radius); text-align: center; color: var(--muted); }
.cat-opt b { font-size: 0.86rem; line-height: 1.25; color: var(--ink); }
.cat-opt svg { color: var(--gold-dark); }
.cat-opt:hover span { border-color: var(--gold); }
.cat-opt input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--gold); }
.cat-opt input:checked + span b { color: var(--white); }
.cat-opt input:checked + span svg { color: var(--gold); }
.cat-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 26px 16px; border: 2px dashed #c9b88f; border-radius: var(--radius); background: #fbf8f1; text-align: center; cursor: pointer; color: var(--muted); font-size: 0.9rem; }
.drop:hover, .drop:focus-within { border-color: var(--gold-dark); background: #fff; }
.drop svg { color: var(--gold-dark); }
.drop b { font-family: var(--font-head); text-transform: uppercase; color: var(--ink); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.photo-preview { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.photo-preview:empty { display: none; }
.photo-preview li { aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: #dfe3e8; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: #3a4250; line-height: 1.5; }
.consent input { margin-top: 3px; }
.consent a { color: var(--gold-dark); }
.submit { width: 100%; }
@media (min-width: 640px) { .submit { width: auto; justify-self: start; } }
.submit.is-busy { opacity: 0.7; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-side { display: grid; gap: 18px; }
@media (min-width: 1000px) { .form-side { position: sticky; top: calc(var(--header-h) + 16px); margin-top: 60px; } }
.form-side h2 { font-size: 1.1rem; text-transform: uppercase; color: var(--ink); }
.side-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.side-steps .step-num { width: 36px; height: 36px; border-color: var(--gold-dark); color: var(--gold-dark); }
.side-box { padding: 20px; border-radius: var(--radius); background: var(--navy); color: var(--silver-dim); display: grid; gap: 10px; }
.side-box .detail-help-phone { margin-top: 0; }
.side-note { font-size: 0.88rem; color: var(--muted); }
.side-note a { color: var(--gold-dark); }
.thanks { max-width: 40rem; margin: 40px auto; padding: 40px 24px; text-align: center; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); }
.thanks-icon { color: var(--gold-dark); margin: 0 auto 14px; }
.thanks h1 { font-size: clamp(1.4rem, 3.4vw, 2rem); color: var(--ink); }
.thanks p { margin-top: 10px; font-size: 1.1rem; color: #3a4250; }
.thanks .thanks-warn { font-size: 0.95rem; color: #7a1a14; }
.thanks .actions { justify-content: center; }

/* ===== Strona główna według makiety klienta ===== */

/* Menu: złote podkreślenie aktywnej pozycji */
@media (min-width: 1180px) {
  .nav a { display: inline-block; padding-block: 25px 22px; border-bottom: 3px solid transparent; }
  .nav a.is-active { border-bottom-color: var(--gold); }
}

/* Hero ze zdjęciem łodzi */
.hero-home .hero-img { left: auto; right: 0; width: min(80%, 1400px); object-position: 60% center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
.hero-home::after { background: linear-gradient(90deg, rgba(10, 22, 40, 0.75) 0%, rgba(10, 22, 40, 0.25) 45%, rgba(10, 22, 40, 0) 70%), linear-gradient(0deg, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0.75) 26%, rgba(10, 22, 40, 0) 52%); }
@media (max-width: 899px) {
  .hero-home .hero-img { width: 100%; height: 62%; object-position: 70% center; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 40%); mask-image: linear-gradient(0deg, transparent 0, #000 40%); }
  .hero-home::after { background: linear-gradient(0deg, var(--navy) 38%, rgba(10, 22, 40, 0.55) 70%, rgba(10, 22, 40, 0.35) 100%); }
}
.hero-home .hero-inner { padding-block: clamp(40px, 7vw, 84px) 36px; }
.hero-home .hero-title { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero-home .hero-lead { color: var(--white); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.hero-row { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 1100px) { .hero-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; } }
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 479px) { .hero-cta { grid-template-columns: 1fr; } }
.cta-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px; border: 1px solid var(--gold); border-radius: var(--radius); background: rgba(10, 22, 40, 0.78); color: var(--silver); text-decoration: none; font-size: 0.82rem; line-height: 1.3; }
.cta-card:hover { background: var(--navy-3); color: var(--white); }
.cta-card b { display: block; margin-bottom: 2px; font-family: var(--font-head); font-size: 0.98rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--white); }
.cta-icon, .cta-arrow { color: var(--gold); }
.cta-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy); }
.cta-gold:hover { background: var(--gold-2); color: var(--navy); }
.cta-gold b, .cta-gold .cta-icon, .cta-gold .cta-arrow { color: var(--navy); }

/* Kategorie ze zdjęciami (w hero) */
.cat-photos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cat-photos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .cat-photos { grid-template-columns: repeat(8, 1fr); } }
.cat-photos a { display: flex; flex-direction: column; height: 100%; border: 1px solid rgba(212, 166, 74, 0.45); border-radius: var(--radius); overflow: hidden; background: var(--navy-2); color: var(--white); text-decoration: none; }
.cat-photos a:hover { border-color: var(--gold); color: var(--white); }
.cat-photo { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(circle at 50% 45%, #1f3a62 0%, #0c1a2f 75%); color: var(--gold); }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cat-photos a:hover .cat-photo img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .cat-photo img { transition: none; } }
.cat-name { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; background: rgba(10, 22, 40, 0.92); font-family: var(--font-head); font-size: 0.76rem; letter-spacing: 0.02em; line-height: 1.2; text-transform: uppercase; }
.cat-name svg { flex: none; color: var(--gold); }

/* Karty ogłoszeń: 6 w rzędzie na stronie głównej, strzałka w ramce */
@media (min-width: 1180px) { .cards-6 { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
.cards-6 .card-body { padding: 12px 12px 14px; }
.cards-6 .card-body h3 { font-size: 0.92rem; }
.cards-6 .card-specs, .cards-6 .card-loc { font-size: 0.78rem; }
.cards-6 .card-price { font-size: 1.1rem; }
.card-arrow { box-sizing: content-box; padding: 4px; border: 1px solid var(--gold); border-radius: 4px; background: #fbf6ea; }
.latest .section-head .more { color: var(--ink); }

/* Nie jesteśmy kolejną tablicą ogłoszeń */
.not-board { display: grid; background: var(--navy); color: var(--silver); border-block: 1px solid var(--line-dark); }
@media (min-width: 1000px) { .not-board { grid-template-columns: 36% 1fr; } }
.not-board-photo { position: relative; min-height: 200px; background: #0c1a2f; }
.not-board-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.not-board-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy) 0%, rgba(10, 22, 40, 0) 45%); }
@media (min-width: 1000px) { .not-board-photo::after { background: linear-gradient(90deg, rgba(10, 22, 40, 0) 55%, var(--navy) 100%); } }
.not-board-body { padding: clamp(28px, 4vw, 48px) 16px; max-width: 880px; }
@media (min-width: 768px) { .not-board-body { padding-inline: 32px; } }
.not-board h2 { font-size: clamp(1.35rem, 2.8vw, 2rem); text-transform: uppercase; color: var(--white); }
.not-board-sub { margin-top: 6px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--gold); }
.not-board-text { margin-top: 12px; max-width: 44rem; color: var(--silver-dim); }
.not-board-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 24px; }
.steps-inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 26px; }
.steps-inline li { display: flex; align-items: center; gap: 10px; max-width: 12rem; font-size: 0.86rem; line-height: 1.25; color: var(--white); }
.steps-inline svg { flex: none; color: var(--gold); }
.step-dot { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; }

/* Trzy kafle usług */
.services { padding-block: 28px; }
.service { grid-template-columns: auto 1fr; gap: 18px; padding: 22px; border: 1px solid var(--navy); }
.service:hover { background: var(--navy); }
.service h3 { font-size: 1.12rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--white); }
.service p { margin: 4px 0 14px; font-size: 0.9rem; line-height: 1.45; }
.btn-mini { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--gold); border-radius: 4px; color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.btn-mini:hover { background: var(--gold); color: var(--navy); }
.btn-mini-dark { min-height: 30px; padding: 4px 10px; border-color: var(--gold-dark); color: var(--ink); font-size: 0.66rem; }

/* Partnerzy */
.partners { background: var(--light); color: var(--ink); padding-block: 20px 48px; }
.partners-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .partners-grid { grid-template-columns: 2fr 1fr; } }
.banner-main { aspect-ratio: 4 / 1; }
.banner-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.banner-side > * { min-height: 90px; }
.banner-side .banner img { position: absolute; inset: 0; }
.banner-free { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 20px; border: 1px solid var(--navy); border-radius: var(--radius); background: linear-gradient(120deg, #13294b, #0a1628); color: var(--silver-dim); text-decoration: none; font-size: 0.9rem; line-height: 1.4; }
.banner-free:hover { border-color: var(--gold); color: var(--silver); }
.banner-free > svg, .banner-free-icon { flex: none; color: var(--gold); }
.banner-free-text b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; line-height: 1.15; text-transform: uppercase; color: var(--white); }
.banner-free-text em { font-style: normal; color: var(--gold); }
.banner-free .btn-mini { margin-left: auto; }
.banner-main.banner-free { gap: 16px 32px; padding: 24px clamp(20px, 4vw, 48px); }
.banner-main .banner-free-text b { font-size: clamp(1.2rem, 2.6vw, 1.9rem); }
.banner-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner-free.has-bg::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.65) 55%, rgba(10, 22, 40, 0.3) 100%); }
@media (max-width: 699px) { .banner-main.banner-free { aspect-ratio: auto; min-height: 160px; } }
.banner-cat.banner-free b { display: block; font-family: var(--font-head); text-transform: uppercase; color: var(--white); }
.cat-partners-title { margin: 28px 0 12px; font-size: 1.05rem; color: var(--ink); }
.cat-partners { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .cat-partners { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cat-partners { grid-template-columns: repeat(4, 1fr); } }
.cat-partners li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); }
.cat-partner-icon { flex: none; color: var(--ink); }
.cat-partners small { display: block; font-size: 0.72rem; color: var(--muted); }
.cat-partners b { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 0.85rem; text-transform: uppercase; color: var(--ink); }
.cat-partner-name { font-weight: 600; color: var(--gold-dark); }

/* Dolny pasek: Chcesz sprzedać łódź? */
.sell-bottom { position: relative; isolation: isolate; overflow: hidden; padding-block: 36px; background: var(--navy-2); color: var(--white); border-top: 1px solid var(--line-dark); }
.sell-photo { position: absolute; inset: 0 auto 0 0; z-index: -2; width: 42%; height: 100%; object-fit: cover; }
.sell-bottom::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 31, 54, 0.5) 0%, rgba(15, 31, 54, 0.85) 24%, var(--navy-2) 42%); }
@media (max-width: 1099px) {
  .sell-photo { width: 100%; }
  .sell-bottom::before { background: rgba(15, 31, 54, 0.88); }
}
.sell-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 1100px) { .sell-inner { grid-template-columns: auto 1fr auto; gap: 32px; } }
.sell-bottom h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.15; text-transform: uppercase; }
.sell-bottom h2 span { display: block; color: var(--gold); }
.sell-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .sell-points { grid-template-columns: repeat(4, 1fr); } }
.sell-points li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 0.82rem; line-height: 1.25; color: var(--silver); }
.sell-points svg { color: var(--gold); }
.sell-actions { display: grid; justify-items: center; gap: 8px; }
.sell-call { gap: 12px; text-align: left; text-transform: uppercase; }
.sell-call span { display: grid; line-height: 1.15; }
.sell-call b { font-size: 1.15rem; }
.sell-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--silver-dim); }

/* Stopka według makiety */
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-cols { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr; } }
.footer-lead { margin-top: 14px; max-width: 22rem; font-size: 0.9rem; color: var(--silver-dim); }
.footer-contact li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 0.9rem; color: var(--silver-dim); }
.footer-contact li svg { flex: none; color: var(--gold); }
.footer-contact li small { width: 100%; padding-left: 26px; font-size: 0.75rem; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--silver); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* Poprawki po porównaniu z makietą */
.hero-home .hero-img { width: min(70%, 1300px); object-position: 70% center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
@media (max-width: 899px) { .hero-home .hero-img { width: 100%; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 40%); mask-image: linear-gradient(0deg, transparent 0, #000 40%); } }
.cta-card .cta-icon { width: 34px; height: 34px; }
@media (min-width: 640px) { .cat-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cat-photos { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.cat-name { min-height: 50px; font-size: 0.72rem; }
.banner a { position: absolute; inset: 0; }
.banner img { position: absolute; inset: 0; }
.partners-grid .banner-main { aspect-ratio: auto; min-height: 210px; }
.banner-side > * { min-height: 98px; }
.banner-small.banner-free { flex-wrap: nowrap; gap: 12px; padding: 12px 16px; }
.banner-small .banner-free-text b { font-size: 0.82rem; }
.banner-small .btn-mini { padding: 4px 10px; min-height: 30px; font-size: 0.64rem; }
@media (max-width: 420px) { .banner-small.banner-free { flex-wrap: wrap; } }

/* Miejsca na zdjęcia do wypełnienia (znikają, gdy plik zdjęcia istnieje) */
.ph-slot { display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; height: 100%; padding: 12px; border: 2px dashed rgba(212, 166, 74, 0.55); border-radius: var(--radius); background: repeating-linear-gradient(135deg, rgba(212, 166, 74, 0.05) 0 12px, transparent 12px 24px), #0f2140; color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; line-height: 1.3; text-align: center; text-transform: uppercase; }
.ph-slot small { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.02em; text-transform: none; color: var(--silver-dim); }
.ph-slot-sm { gap: 4px; padding: 6px; font-size: 0.62rem; border-width: 1px; border-radius: 4px; }
.hero-home .hero-ph { display: block; padding: 0; background: var(--navy); }
.hero-home .hero-ph .ph-slot { position: absolute; top: 24px; right: 24px; bottom: 24px; width: min(52%, 720px); height: auto; }
@media (max-width: 899px) { .hero-home .hero-ph .ph-slot { inset: 12px 12px auto 12px; width: auto; height: 34%; } }
.hero-home .hero-ph span { display: grid; max-width: none; border-style: dashed; }
.not-board-photo .ph-slot { position: absolute; inset: 16px; width: auto; height: auto; }
.not-board-photo:has(.ph-slot)::after { display: none; }
.sell-bottom.no-photo::before { display: none; }
.sell-ph { min-height: 120px; }
@media (max-width: 1099px) { .sell-ph { display: none; } }
.hero-home .hero-ph .ph-slot { bottom: auto; height: clamp(220px, 25vw, 330px); }
@media (min-width: 1100px) {
  .sell-bottom.no-photo h2 { white-space: nowrap; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
}
@media (min-width: 900px) { .hero-home .hero-ph .ph-slot { width: min(46%, 640px); } }
.sell-ph { overflow: hidden; }
/* Długie przyciski na telefonie łamią tekst zamiast rozpychać stronę */
@media (max-width: 559px) { .btn-lg { padding-inline: 18px; white-space: normal; text-align: center; } }
.submit { white-space: normal; text-align: center; }
.form-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 1fr) 340px; } }

/* Większe logo (prośba klienta) */
:root { --header-h: 76px; }
@media (min-width: 1180px) { :root { --header-h: 88px; } }
.site-header .brand img { width: 56px; height: 56px; }
@media (min-width: 640px) { .site-header .brand img { width: 64px; height: 64px; } }
@media (min-width: 1180px) { .site-header .brand img { width: 68px; height: 68px; } }
.site-header .brand { gap: 12px; }
.site-header .brand-name { font-size: 1.15rem; }
@media (min-width: 1180px) {
  .site-header .brand-name { font-size: 1.25rem; }
  .site-header .brand-name small { font-size: 0.66rem; }
  .nav a { padding-block: 32px 29px; }
}
@media (min-width: 1180px) and (max-width: 1319px) { .nav ul { gap: 18px; } .bar { gap: 14px; } }
.site-footer .brand img { width: 72px; height: 72px; }
.site-footer .brand-name { font-size: 1.2rem; }
@media (max-width: 899px) { .hero-home .hero-ph .ph-slot { place-content: start end; padding: 10px 12px; font-size: 0.66rem; } }

/* Kafelki kategorii ze zdjęciami od klienta: nazwa i podpis pod zdjęciem */
.cat-photo { aspect-ratio: 16 / 9; }
.cat-text { display: grid; gap: 2px; min-width: 0; }
.cat-text small { font-family: var(--font-body); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--silver-dim); line-height: 1.25; }
.cat-name { align-items: flex-start; min-height: 64px; }
.cat-name > svg { margin-top: 2px; }
@media (min-width: 1100px) { .cat-text small { font-size: 0.6rem; } }
/* Tło na górze: zdjęcie przystani na całą szerokość, łódki widoczne */
.hero-home.has-img .hero-img { left: 0; right: 0; width: 100%; height: 100%; object-position: 40% 62%; -webkit-mask-image: none; mask-image: none; }
.hero-home.has-img::after { background: linear-gradient(90deg, rgba(10, 22, 40, 0.78) 0%, rgba(10, 22, 40, 0.45) 42%, rgba(10, 22, 40, 0.1) 75%), linear-gradient(0deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.55) 24%, rgba(10, 22, 40, 0) 48%); }
@media (max-width: 899px) {
  .hero-home.has-img .hero-img { height: 100%; object-position: 30% 50%; }
  .hero-home.has-img::after { background: linear-gradient(0deg, var(--navy) 30%, rgba(10, 22, 40, 0.6) 62%, rgba(10, 22, 40, 0.35) 100%); }
}
/* 8 kafelków w rzędzie: same nazwy (podpisy są widoczne na tablecie i telefonie) */
@media (min-width: 1100px) { .cat-text small { display: none; } .cat-name { min-height: 50px; align-items: center; } .cat-name > svg { margin-top: 0; } }
/* Telefon: pionowe zdjęcie na pierwszy ekran, jaśniejsze, z przejściem w granat */
@media (max-width: 899px) {
  .hero-home.has-img .hero-img { height: min(100%, 880px); object-position: center 42%; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero-home.has-img::after { background: linear-gradient(180deg, rgba(10, 22, 40, 0.5) 0%, rgba(10, 22, 40, 0.25) 30%, rgba(10, 22, 40, 0.3) 60%, rgba(10, 22, 40, 0) 100%); }
}

.thanks .thanks-mail { font-size: 0.95rem; color: var(--muted); }

/* Złoty pasek „Ogłoszenia gratis…” w sekcji obok zdjęcia przystani */
.free-bar { display: inline-block; margin-top: 12px; padding: 8px 16px; border-radius: 4px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: clamp(0.85rem, 1.6vw, 1.05rem); letter-spacing: 0.02em; line-height: 1.3; text-transform: uppercase; }

/* Opłaty i wyróżnienia w formularzu zgłoszenia */
.fee-box { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid #ecd9a8; border-radius: var(--radius); background: #fbf6ea; }
.fee-box h3 { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); }
.fee-box > p { font-size: 0.86rem; color: var(--muted); }
.fee-icon { flex: none; color: var(--gold-dark); }
.fee-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; background: var(--white); border: 1px solid #ecd9a8; border-radius: 4px; overflow: hidden; }
.fee-table th { padding: 7px 10px; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: #f6edd6; }
.fee-table th:last-child, .fee-table td:last-child { text-align: right; white-space: nowrap; }
.fee-table td { padding: 7px 10px; border-top: 1px solid #f0e6cc; color: #3a4250; }
.fee-table td b { color: #1b6b3a; }
.fee-table tr.is-current td { background: var(--navy); color: var(--white); font-weight: 700; }
.fee-table tr.is-current td b { color: var(--gold); }
.fee-result { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 4px; }
.fee-result span { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.fee-result strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--gold-dark); white-space: nowrap; }
.promo-fs { border-color: #ecd9a8; background: #fffdf8; }
.promo-fs legend small, .promo-fs .hint { font-weight: 500; }
.promo-grid { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 640px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .promo-grid { grid-template-columns: repeat(4, 1fr); } }
.promo-card { display: grid; align-content: start; gap: 6px; padding: 14px; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); }
.promo-card:has(input:checked) { border-color: var(--gold-dark); box-shadow: 0 0 0 1px var(--gold-dark) inset; }
.promo-card h3 { display: flex; align-items: center; gap: 6px; font-size: 0.98rem; color: var(--ink); }
.promo-card h3 svg { color: var(--gold-dark); }
.promo-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.promo-premium { background: #fbf6ea; }
.promo-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.promo-pill { position: relative; cursor: pointer; }
.promo-pill input { position: absolute; opacity: 0; inset: 0; }
.promo-pill span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 12px; border: 1px solid var(--line-light); border-radius: 20px; font-size: 0.85rem; color: var(--ink); background: var(--white); }
.promo-pill b { color: var(--gold-dark); }
.promo-pill input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.promo-pill input:checked + span b { color: var(--gold); }
.promo-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.promo-none span b { color: var(--ink); }
.pay-summary { padding: 16px 18px; border: 1px solid #ecd9a8; border-radius: var(--radius); background: #fbf6ea; }
.pay-summary h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); margin-bottom: 6px; }
.pay-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 0.92rem; color: #3a4250; }
.pay-summary .pay-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid #ecd9a8; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--ink); text-transform: uppercase; }
.pay-summary .pay-total b { color: var(--gold-dark); font-size: 1.3rem; }
.thanks-pay { margin: 18px auto 0; max-width: 30rem; padding: 16px; border-radius: var(--radius); background: #fbf6ea; border: 1px solid #ecd9a8; }
.thanks-pay span { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.thanks-pay b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--gold-dark); }
.thanks .thanks-pay p { font-size: 0.92rem; margin-top: 6px; }
[data-only-ad][hidden] { display: none !important; }
@media (max-width: 639px) {
  .fee-table { font-size: 0.82rem; }
  .fee-table td, .fee-table th { padding: 6px 8px; }
}
/* Kafelki promocji: jedna paleta czerń-złoto, od podstawowej do PREMIUM */
.promo-card { border-width: 1.5px; }
.promo-basic { background: #f3f4f6; border-color: #d1d5db; }
.promo-feat { background: #fff8e8; border-color: #d4af37; }
.promo-top { background: #fff0c2; border-color: #b8860b; }
.promo-premium { background: #0b1729; border-color: #d4af37; }
.promo-feat h3 svg { color: #c99a1c; }
.promo-top h3 svg { color: #b8860b; }
.promo-premium h3 { color: #fff; }
.promo-premium h3 svg { color: #d4af37; }
.promo-premium p { color: #c9d1dc; }
.promo-premium .promo-pill span { background: transparent; border-color: #d4af37; color: #fff; }
.promo-premium .promo-pill b { color: #d4af37; }
.promo-premium .promo-pill input:checked + span { background: #d4af37; border-color: #d4af37; color: #0b1729; }
.promo-premium .promo-pill input:checked + span b { color: #0b1729; }
.promo-basic:has(input:checked) { box-shadow: 0 0 0 2px #6b7280; }
.promo-feat:has(input:checked) { box-shadow: 0 0 0 2px #d4af37; }
.promo-top:has(input:checked) { box-shadow: 0 0 0 2px #b8860b; }
.promo-premium:has(input:checked) { box-shadow: 0 0 0 3px #d4af37; }

.form-alert ul { margin: 6px 0 0 18px; padding: 0; list-style: disc; }
.form-alert li { margin: 2px 0; }
[data-check-alert] { margin: 0 0 14px; }

.contact-note { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }

/* Czerwony baner „Ogłoszenia do 50 000 zł za darmo” na stronie głównej (wzór od klienta) */
.free-banner { position: relative; overflow: hidden; margin-top: 18px; padding: 20px 16px 18px; border-radius: 10px; color: #fff; text-align: left;
  background: radial-gradient(120% 90% at 50% 0%, #e8262b 0%, #b80d13 55%, #7d0509 100%); box-shadow: 0 10px 30px rgba(120, 5, 9, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.free-banner::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 14px); pointer-events: none; }
.fb-title { position: relative; margin: 0; padding-right: 100px; font-family: var(--font-head); font-weight: 900; text-transform: uppercase; line-height: 1.02; letter-spacing: -0.01em; text-shadow: 0 3px 0 rgba(90, 0, 4, 0.45); }
.fb-title > span { display: block; }
.fb-l1 { font-size: 1.65rem; }
.fb-l2 { font-size: 1.05rem; margin-top: 2px; }
.fb-strip { display: inline-block !important; margin: 12px 0 2px -4px; padding: 6px 14px 5px; color: #0b1729; font-size: 1.15rem; text-shadow: none; transform: rotate(-2deg);
  background: linear-gradient(100deg, #ffd51c, #ffe866 60%, #ffcf00); clip-path: polygon(2% 8%, 100% 0, 97% 92%, 0 100%); }
.fb-free { font-size: 3rem; margin-top: 2px; letter-spacing: 0.01em; text-shadow: 0 4px 0 rgba(90, 0, 4, 0.55), 0 0 24px rgba(255, 255, 255, 0.15); }
.fb-tag { position: absolute; z-index: 1; top: 14px; right: 12px; width: 92px; padding: 22px 6px 10px; display: grid; justify-items: center; gap: 2px; text-align: center; text-transform: uppercase; color: #fff;
  background: linear-gradient(160deg, #ff3b3f, #d2151a); border-radius: 4px 4px 8px 8px; transform: rotate(7deg); box-shadow: 0 6px 16px rgba(60, 0, 2, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.55);
  clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); }
.fb-tag::before { content: ""; position: absolute; top: 9px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #7d0509; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7); }
.fb-tag b { font-family: var(--font-head); font-size: 2rem; font-weight: 900; line-height: 1; }
.fb-tag span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.02em; }
.fb-tag small { font-size: 0.56rem; font-weight: 700; line-height: 1.15; padding-top: 3px; border-top: 1px solid rgba(255, 255, 255, 0.6); }
.fb-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; min-height: 52px; padding: 12px 18px; border-radius: 8px; text-decoration: none; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: 0.98rem; text-transform: uppercase; color: #0b1729; background: linear-gradient(180deg, #ffe46b, #f6b800); box-shadow: 0 4px 0 #b77f00, 0 8px 22px rgba(255, 200, 0, 0.35); }
.fb-btn:hover, .fb-btn:focus-visible { background: linear-gradient(180deg, #fff08f, #ffc61a); }
.fb-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #b77f00; }
@media (min-width: 400px) {
  .fb-l1 { font-size: 1.85rem; }
  .fb-free { font-size: 3.4rem; }
}
@media (min-width: 760px) {
  .free-banner { padding: 26px 28px 24px; text-align: center; }
  .fb-title { padding: 0 150px; }
  .fb-l1 { font-size: 2.6rem; }
  .fb-l2 { font-size: 1.45rem; }
  .fb-strip { font-size: 1.7rem; margin: 12px auto 4px; padding: 7px 26px 6px; }
  .fb-free { font-size: 4.4rem; }
  .fb-tag { top: 18px; right: 22px; width: 130px; padding-top: 30px; }
  .fb-tag b { font-size: 2.9rem; }
  .fb-tag span { font-size: 0.9rem; }
  .fb-tag small { font-size: 0.68rem; }
  .fb-btn { display: inline-flex; margin-top: 16px; padding: 14px 40px; font-size: 1.05rem; }
}
@media (min-width: 1100px) {
  .fb-l1 { font-size: 3rem; }
  .fb-free { font-size: 5rem; }
  .fb-tag { width: 150px; right: 40px; }
}
.fb-zl { text-transform: none; }
.fb-title { padding-right: 0; }
.fb-l1, .fb-l2 { padding-right: 100px; }
.fb-strip { font-size: 1rem; white-space: nowrap; }
.fb-free { font-size: 2.8rem; white-space: nowrap; }
@media (min-width: 400px) { .fb-strip { font-size: 1.1rem; } .fb-free { font-size: 3.1rem; } }
@media (min-width: 760px) {
  .fb-title { padding: 0 150px; }
  .fb-l1, .fb-l2 { padding-right: 0; }
  .fb-strip { font-size: 1.7rem; }
  .fb-free { font-size: 4.4rem; }
}
@media (min-width: 1100px) { .fb-free { font-size: 5rem; } }
.fb-tag b .fb-zl { font-size: 0.72em; font-weight: 900; letter-spacing: 0; }
@media (max-width: 759px) {
  .fb-tag { top: 12px; right: 10px; width: 84px; padding: 19px 5px 8px; }
  .fb-tag b { font-size: 1.75rem; }
  .fb-tag span { font-size: 0.62rem; }
  .fb-tag small { font-size: 0.5rem; }
  .fb-strip { position: relative; z-index: 2; margin-top: 16px; }
}
/* Baner krótszy na telefonie (bez kafelków kategorii) */
@media (max-width: 759px) {
  .free-banner { padding: 16px 14px 14px; }
  .fb-l1, .fb-l2 { padding-right: 82px; }
  .fb-l1 { font-size: 1.4rem; }
  .fb-l2 { font-size: 0.92rem; }
  .fb-strip { margin-top: 10px; font-size: 0.95rem; padding: 5px 12px 4px; }
  .fb-free { font-size: 2.45rem; }
  .fb-tag { width: 72px; padding: 16px 4px 7px; top: 10px; right: 10px; }
  .fb-tag::before { top: 7px; width: 8px; height: 8px; margin-left: -4px; }
  .fb-tag b { font-size: 1.45rem; }
  .fb-tag span { font-size: 0.55rem; }
  .fb-tag small { font-size: 0.45rem; }
  .fb-btn { min-height: 46px; margin-top: 12px; padding: 10px 14px; font-size: 0.86rem; white-space: nowrap; }
}
@media (min-width: 760px) { .fb-btn { margin-top: 20px; } }
