/* Sielski – arkusz stylów */
:root {
  --navy: #14204a;
  --navy-2: #1e2d66;
  --navy-3: #2a3c80;
  --red: #d61f26;
  --red-d: #b3161c;
  --gold: #f5c400;
  --ink: #1a1d24;
  --text: #333944;
  --muted: #5d6573;
  --line: #e2e5ec;
  --bg: #ffffff;
  --bg-alt: #f3f4f7;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 32, 74, .06), 0 6px 20px rgba(20, 32, 74, .08);
  --shadow-h: 0 2px 4px rgba(20, 32, 74, .08), 0 14px 36px rgba(20, 32, 74, .16);
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-d); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(var(--w), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- przyciski */
.btn { display: inline-flex; align-items: center; gap: .5em; font: 600 1rem/1 var(--body); padding: .9em 1.35em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: var(--red-d); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--navy); color: var(--navy); }
.btn-shop { background: var(--gold); color: var(--ink); padding: .7em 1.1em; }
.btn-shop:hover { background: #ffd633; color: var(--ink); }

/* ---------- nagłówek */
.topbar { background: var(--navy); color: #c9d0e6; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-r { display: flex; gap: 1.5rem; }
.site-header { position: sticky; top: -34px; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 56px; height: 56px; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-t strong { font: 700 1.75rem/1 var(--head); letter-spacing: .08em; color: var(--navy); }
.brand-t small { font-size: .78rem; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav > ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: block; padding: .6em .85em; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 6px; }
.nav > ul > li > a:hover, .nav a[aria-current] { color: var(--red); }
.nav a[aria-current]::after { content: ""; display: block; height: 2px; background: var(--red); margin-top: 2px; border-radius: 2px; }
.has-sub > a::before { content: ""; float: right; margin: .55em 0 0 .4em; border: 5px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.sub { position: absolute; left: -10px; top: 100%; min-width: 300px; list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-h); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .45em .7em; border-radius: 6px; color: var(--text); text-decoration: none; font-size: .95rem; }
.sub a:hover { background: var(--bg-alt); color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .i { width: 28px; height: 28px; }
.nav-toggle .i + .i, .nav-toggle[aria-expanded="true"] .i:first-child { display: none; }
.nav-toggle[aria-expanded="true"] .i + .i { display: block; }

/* ---------- hero */
.hero { position: relative; overflow: hidden; color: #dfe4f3; background:
  radial-gradient(900px 500px at 85% 20%, rgba(214, 31, 38, .28), transparent 60%),
  repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 26px),
  linear-gradient(160deg, var(--navy) 0%, #0d1534 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 70%, var(--gold) 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.1rem); text-transform: uppercase; letter-spacing: .01em; }
.hero .lead { font-size: 1.15rem; color: #c9d0e6; max-width: 38em; }
.eyebrow { font: 600 .85rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .8rem; }
.hero .eyebrow { color: var(--gold); }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 2.4rem; }
.hero-facts { display: flex; gap: 2.5rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; border-left: 3px solid var(--red); padding-left: .9rem; }
.hero-facts strong { font: 700 2.2rem/1 var(--head); color: #fff; }
.hero-facts span { font-size: .9rem; color: #aab3cf; }
.hero-pics { position: relative; aspect-ratio: 1 / .95; }
.hero-pics img { position: absolute; background: #fff; padding: 10px; border-radius: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); object-fit: contain; }
.hero-pics .h0 { width: 62%; height: 72%; left: 20%; top: 6%; z-index: 2; }
.hero-pics .h1 { width: 42%; height: 46%; left: 0; bottom: 2%; transform: rotate(-5deg); z-index: 3; }
.hero-pics .h2 { width: 40%; height: 46%; right: 0; bottom: 6%; transform: rotate(4deg); z-index: 1; }

/* ---------- sekcje */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }

/* karty */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: transparent; color: var(--text); }
.card-img { position: relative; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.card-img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-ph { color: var(--line); } .card-ph .i { width: 60px; height: 60px; }
.card-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.3rem; margin-bottom: .3em; }
.card p { font-size: .93rem; color: var(--muted); margin-bottom: .6em; }
.card-meta { font-size: .85rem; color: var(--muted); }
.card-more { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .35em; color: var(--red); font-weight: 600; font-size: .95rem; }
.card:hover .card-more .i { transform: translateX(3px); }
.card-more .i { transition: transform .2s; }

/* cechy */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.features li { background: #fff; padding: 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.features .i { width: 40px; height: 40px; color: var(--navy-3); margin-bottom: .8rem; }
.features p { color: var(--muted); font-size: .97rem; margin: 0; }

/* masonry / galerie */
.masonry { columns: 4 220px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.masonry img { width: 100%; transition: transform .35s, opacity .2s; }
.masonry a:hover img { transform: scale(1.04); }

/* zaufali nam */
.trust { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; font-size: .9rem; font-weight: 500; color: var(--navy); }
.certs { display: flex; gap: 1rem; justify-content: center; }
.cert { background: #fff; padding: 8px; border-radius: 8px; box-shadow: var(--shadow); max-width: 220px; transition: transform .25s; }
.cert:nth-child(1) { transform: rotate(-3deg); } .cert:nth-child(2) { transform: rotate(3deg); }
.cert:hover { transform: rotate(0) scale(1.03); }

/* pas CTA */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, #a5151b 100%); color: #ffe3e4; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.8rem 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; max-width: 40em; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band .btn-accent { background: #fff; color: var(--red); }
.cta-band .btn-accent:hover { background: var(--gold); color: var(--ink); }

/* nagłówek podstrony */
.page-head { background: linear-gradient(160deg, var(--navy) 0%, #0d1534 100%); color: #c9d0e6; padding: 2.2rem 0 2.6rem; position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 70%, var(--gold) 70%); }
.page-head h1 { color: #fff; margin: .3em 0 .2em; }
.page-head .lead { font-size: 1.1rem; max-width: 46em; margin: 0; }
.page-head.nf { padding: 4rem 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; font-size: .88rem; }
.crumbs li + li::before { content: "›"; margin-right: .3rem; color: #6f7aa0; }
.crumbs a { color: #aab3cf; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--gold); }

/* układ z panelem bocznym */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 3rem; align-items: start; }
.with-side .cards { margin-top: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.side { position: sticky; top: 100px; display: grid; gap: 1rem; }
.side-box { background: var(--bg-alt); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.side-box h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.side-box h2 a { color: var(--ink); text-decoration: none; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li a { display: block; padding: .32em .5em; margin: 0 -.5em; border-radius: 6px; color: var(--text); text-decoration: none; font-size: .94rem; line-height: 1.35; }
.side-box li a:hover { background: #fff; color: var(--red); }
.side-box li a[aria-current] { background: var(--navy); color: #fff; }
.side-contact { background: var(--navy); color: #fff; }
.side-contact h2 { color: #fff; }
.side-contact a { display: flex; align-items: center; gap: .5em; color: #fff; text-decoration: none; padding: .25em 0; font-weight: 500; word-break: break-all; }
.side-contact a:hover { color: var(--gold); }

/* treść */
.prose { font-size: 1.04rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.75rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.45rem; margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); color: var(--navy); }
.prose h3:first-child { border-top: 0; padding-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .2em 0; }
.prose ul li::marker { color: var(--red); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }
.prose strong { color: var(--ink); }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 1.2rem 0 1.6rem; }
.prose a.zoom { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; aspect-ratio: 1; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.prose a.zoom:hover { box-shadow: var(--shadow-h); border-color: transparent; }
.prose a.zoom img { width: 100%; height: 100%; object-fit: contain; }
.prose p a.zoom, .prose li a.zoom { display: inline-grid; width: 180px; margin: .4rem .4rem .4rem 0; vertical-align: top; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { padding: .55em .8em; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose td { white-space: normal; }
.prose caption { caption-side: top; text-align: left; font-weight: 600; color: var(--ink); padding: .6em .8em; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--navy); color: #fff; font-weight: 600; position: sticky; top: 0; }
.prose tr.group th { background: var(--bg-alt); color: var(--ink); text-align: left; font-weight: 600; padding-top: 1em; }
.prose tr.subhead th { background: var(--navy-2); color: #fff; font-weight: 600; }
.prose tbody tr:nth-child(even) { background: var(--bg-alt); }
.prose tbody tr:not(.group):not(.subhead):hover { background: #fff3cc; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager a { display: block; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.pager .nx { text-align: right; }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.ccard > .i { width: 30px; height: 30px; color: var(--red); margin-bottom: .6rem; }
.ccard h2 { font-size: 1.25rem; margin-bottom: .3rem; }
.ccard a { display: block; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.ccard small, .ccard p { color: var(--muted); font-size: .92rem; margin: .3rem 0; display: block; }
.ccard-shop { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); color: #c9d0e6; }
.ccard-shop h2, .ccard-shop p { color: #fff; } .ccard-shop > .i { color: var(--gold); } .ccard-shop a { color: var(--gold); }
.map { min-height: 460px; border-radius: var(--radius); overflow: hidden; display: grid; place-content: center; justify-items: center; gap: .6rem; text-align: center; color: #c9d0e6; background:
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 40px),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 40px), var(--navy-2); }
.map p { font-size: .88rem; margin: 0; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.map.loaded { display: block; }

/* stopka */
.site-footer { background: #0d1534; color: #a6aec8; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.site-footer h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.site-footer a { color: #d5dbee; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .cols { columns: 2; column-gap: 1.5rem; }
.site-footer .cols li { margin-bottom: .35em; break-inside: avoid; line-height: 1.35; }
.brand-foot { margin-bottom: 1rem; }
.brand-foot .brand-t strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(8, 12, 30, .92); }
.lb-inner { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 70px; }
.lb img { max-width: 100%; max-height: calc(100vh - 112px); width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb button { position: fixed; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font-size: 26px; line-height: 1; }
.lb button:hover { background: var(--red); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; color: #c9d0e6; font-size: .9rem; }

/* ---------- responsywność */
@media (max-width: 1080px) {
  .features { grid-template-columns: 1fr 1fr; }
  .with-side { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-header { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; top: var(--nav-top, 110px); right: 0; bottom: 0; left: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 20px 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility 0s .25s; gap: 1rem; }
  .nav.open { transform: none; visibility: visible; transition: transform .25s; }
  .nav > ul { flex-direction: column; }
  .nav > ul > li > a { padding: .8em .2em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.1rem; }
  .nav a[aria-current]::after { display: none; }
  .has-sub > a::before { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: .3rem 0 .6rem 1rem; min-width: 0; }
  .btn-shop { justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pics { max-width: 520px; width: 100%; margin: 0 auto; }
  .trust, .contact-grid { grid-template-columns: 1fr; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar span:first-child { display: none; }
  .topbar-r { gap: 1rem; flex-wrap: wrap; }
  .site-header { top: -60px; }
  .features, .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer .cols { columns: 1; }
  .hero-facts { gap: 1.4rem; }
  .cards { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .card h3 { font-size: 1.1rem; }
  .card-body { padding: .8rem; }
  .prose .gallery { grid-template-columns: 1fr 1fr; }
  .pager { grid-template-columns: 1fr; }
  .lb-inner { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .side, .pager { display: none; }
  .page-head { background: none; color: #000; } .page-head h1 { color: #000; }
}
