/* ===== PPUH Zofia — 2026 ===== */

/* Fonty lokalne (Barlow, Barlow Condensed — SIL OFL) */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Barlow"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-500-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Barlow"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-condensed-latin-500-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    /* kolory z logo */
    --indigo: #1e2457;      /* tekst, ciemne tła */
    --blue: #1f5fbf;        /* akcje, linki */
    --sky: #1a8fd8;         /* jasny niebieski z logo — tylko dekoracyjnie */
    --paper: #f6f7f4;       /* tło strony */
    --white: #ffffff;
    --line: #dde1e6;
    --muted: #555d78;
    /* kolory znaczeniowe w podziale środków */
    --green: #3b7633;
    --ochre: #9a6a0e;
    --rust: #a3412a;
    --slate: #5b6475;

    --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
    --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1200px;
    --gut: clamp(16px, 4vw, 40px);
    --sec: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0; background: var(--paper); color: var(--indigo);
    font: 400 1.0625rem/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); padding: 8px 14px; z-index: 200; }
.skip:focus { top: 12px; }
.ico { width: 1.05em; height: 1.05em; flex-shrink: 0; vertical-align: -.15em; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--indigo); color: #c9cde4; font-size: .875rem; }
.topbar-in { display: flex; gap: 6px 28px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.topbar a, .topbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--white); }
.topbar span { margin-right: auto; }
.nav-row { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { width: 168px; }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu a {
    font: 600 1.125rem/1 var(--cond); color: var(--indigo); text-decoration: none;
    padding: 10px 12px; border-radius: 4px;
}
.menu a:hover { color: var(--blue); background: #eef3fb; }
.menu a.is-here { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.menu .menu-call { margin-left: 10px; background: var(--blue); color: var(--white); display: inline-flex; gap: 7px; padding: 11px 16px; }
.menu .menu-call:hover { background: #174c9b; color: var(--white); }
.menu-btn { display: none; }

@media (max-width: 960px) {
    .topbar span { display: none; }
    .topbar-in { justify-content: center; }
    .topbar a:last-child { display: none; }
    .nav-in { min-height: 62px; }
    .brand img { width: 136px; }
    .menu-btn {
        display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
        background: none; border: 1px solid var(--line); border-radius: 4px; padding: 9px 12px;
        font: 600 1.05rem/1 var(--cond); color: var(--indigo); cursor: pointer;
    }
    .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
    .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
    .menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
    .menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
    .menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
    .menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
    .menu {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--white); border-bottom: 1px solid var(--line);
        padding: 8px var(--gut) 18px; box-shadow: 0 18px 30px -18px rgba(30,36,87,.35);
        display: none;
    }
    .menu.is-open { display: flex; }
    .menu a { padding: 14px 4px; font-size: 1.3rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .menu a.is-here { box-shadow: none; }
    .menu .menu-call { margin: 14px 0 0; justify-content: center; border: 0; border-radius: 4px; }
}

/* ---------- Slider promocji ---------- */
.promo { background: var(--indigo); }
.slider { position: relative; max-width: 1920px; margin: 0 auto; aspect-ratio: 1920 / 550; overflow: hidden; background: #151a44; }
.slides { list-style: none; margin: 0; padding: 0; height: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; z-index: 1; }
.slide img, .slide a { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }
.sl-btn {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
    width: 48px; height: 64px; border: 0; cursor: pointer;
    background: rgba(30,36,87,.72); color: var(--white); display: grid; place-items: center;
}
.sl-btn:hover { background: var(--blue); }
.sl-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sl-prev { left: 0; border-radius: 0 4px 4px 0; }
.sl-next { right: 0; border-radius: 4px 0 0 4px; }
.sl-bar { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; color: #aeb3d3; font-size: .875rem; }
.sl-dots { display: flex; flex-wrap: wrap; gap: 2px; flex: 1; }
.sl-dots button { width: 30px; height: 28px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
.sl-dots button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 12px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.28); }
.sl-dots button:hover::after { background: rgba(255,255,255,.6); }
.sl-dots button[aria-current="true"]::after { background: var(--sky); }
.sl-pause { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; color: var(--white); }
.sl-pause span { width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.sl-pause.is-paused span { border: 0; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.sl-count { font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
    .sl-btn { width: 34px; height: 44px; }
    .sl-btn svg { width: 20px; height: 20px; }
    .sl-dots { display: none; }
    .sl-bar { justify-content: space-between; }
}

/* ---------- Intro ---------- */
.intro { background: var(--white); border-bottom: 1px solid var(--line); padding-bottom: clamp(32px, 5vw, 56px); }
.intro-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(32px, 5vw, 56px); }
.intro h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 700; line-height: .95; letter-spacing: -.015em; max-width: 15ch; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 18px; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font: 600 1.2rem/1 var(--cond); letter-spacing: .01em;
    padding: 15px 22px; border-radius: 4px; text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #174c9b; }
.btn-line { border-color: var(--indigo); color: var(--indigo); }
.btn-line:hover { background: var(--indigo); color: var(--white); }
.btn-light { background: var(--white); color: var(--indigo); }
.btn-light:hover { background: #e7ecfa; }

.intro-photo { margin: 0; position: relative; }
.intro-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px; }
.intro-photo figcaption {
    position: absolute; left: -28px; bottom: 28px;
    background: var(--indigo); color: var(--white); padding: 14px 22px 16px; border-radius: 4px;
    font: 600 1.35rem/1 var(--cond); display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: end;
    box-shadow: 0 14px 30px -14px rgba(30,36,87,.6);
}
.intro-photo figcaption b { font-size: 4rem; line-height: .85; grid-row: span 2; color: var(--white); }
.intro-photo figcaption span { color: #9fd3ff; font-weight: 500; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 2px solid var(--indigo); }
.facts div { display: flex; flex-direction: column-reverse; padding: 18px 20px 4px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts dd { margin: 0; font: 700 clamp(2.3rem, 4.2vw, 3.4rem)/1 var(--cond); font-variant-numeric: tabular-nums; }
.facts dt { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.facts .fun dd { color: var(--blue); }

@media (max-width: 860px) {
    .intro-in { grid-template-columns: 1fr; }
    .intro-photo figcaption { left: 12px; bottom: 12px; }
    .intro-photo figcaption b { font-size: 3rem; }
    .facts { grid-template-columns: 1fr 1fr; }
    .facts div { padding: 16px 16px 14px; border-left: 0; border-bottom: 1px solid var(--line); }
    .facts div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
}

/* ---------- Sekcje ---------- */
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head h2, .firma h2, .kontakt h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 700; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; max-width: 62ch; }

/* O firmie */
.firma { padding: var(--sec) 0; }
.firma-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.firma-side { position: sticky; top: 140px; }
.firma-side p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 100px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--sky), var(--indigo)); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; column-gap: 32px; padding: 0 0 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 94px; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.timeline .year { font: 700 1.6rem/1.1 var(--cond); color: var(--blue); font-variant-numeric: tabular-nums; }
.timeline p { max-width: 58ch; padding-top: 3px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li.key::before { width: 22px; height: 22px; left: 90px; top: 5px; background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px var(--paper); }
.timeline li.key .year { font-size: 2.6rem; line-height: .9; color: var(--indigo); }
.timeline li.key strong { display: block; font: 600 1.45rem/1.1 var(--cond); color: var(--blue); margin-bottom: 2px; }
.timeline li.key { padding-bottom: 34px; }
@media (max-width: 860px) {
    .firma-in { grid-template-columns: 1fr; }
    .firma-side { position: static; }
    .timeline::before { left: 76px; }
    .timeline li { grid-template-columns: 76px 1fr; column-gap: 26px; }
    .timeline li::before { left: 70px; }
    .timeline li.key::before { left: 66px; }
    .timeline li.key .year { font-size: 1.95rem; }
    .timeline .year { font-size: 1.35rem; }
}

/* Zabiegi */
.zabiegi { padding: var(--sec) 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.zab-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.zab { display: flex; flex-direction: column; }
.zab img { width: 100%; aspect-ratio: 600 / 220; object-fit: cover; object-position: center bottom; border-radius: 4px; }
.zab-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.zab h3 { font-size: 1.75rem; }
.zab p { margin-top: 8px; color: var(--muted); }
.zab ul { margin: 14px 0 0; padding: 0; list-style: none; }
.zab li { padding: 7px 0 7px 22px; border-top: 1px solid var(--line); position: relative; font-size: .98rem; }
.zab li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.ext { margin-top: auto; padding-top: 18px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .zab-list { grid-template-columns: 1fr; gap: 40px; } .zab { max-width: 620px; } }

/* Podział środków — indeks na ciemnym tle */
.srodki { padding: var(--sec) 0; background: var(--indigo); color: var(--white); }
.srodki .sec-head p { color: #b9bedb; }
.srodki .sec-head h2 { color: var(--white); }
.c-green { --c: #7cc46f; } .c-ochre { --c: #e3b04b; } .c-rust { --c: #f0866a; }
.c-blue { --c: #6fb6f2; } .c-slate { --c: #aab1c6; }
.index { columns: 3 300px; column-gap: 44px; }
.grp { break-inside: avoid; margin-bottom: 40px; border-top: 4px solid var(--c); padding-top: 12px; }
.grp h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; color: var(--c); display: flex; justify-content: space-between; letter-spacing: 0; }
.grp h3 span { color: #8f95b8; font-weight: 500; }
.grp ul { list-style: none; margin: 10px 0 0; padding: 0; }
.grp li { padding: 9px 0 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.grp li b { display: block; font: 600 clamp(1.7rem, 2.6vw, 2.05rem)/1.05 var(--cond); letter-spacing: -.005em; }
.grp li span { display: block; color: #b9bedb; font-size: .98rem; margin-top: 2px; }
.grp[hidden], .grp li[hidden] { display: none; }

/* Producenci */
.producenci { padding: var(--sec) 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 10px; display: grid; place-items: center; background: var(--white); }
.logos img { width: 100%; max-width: 170px; mix-blend-mode: multiply; }

/* Czy wiesz */
.porady { padding: var(--sec) 0; }
.facts-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.fact img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.fact h3 { font-size: 1.7rem; margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.fact p { margin-top: 10px; line-height: 1.65; }
.tag { font: 500 .85rem/1 var(--sans); padding: 5px 9px; border-radius: 999px; }
.t-szkodnik { background: #f6e3dd; color: var(--rust); }
.t-chwast { background: #e2eedd; color: var(--green); }
@media (max-width: 900px) { .facts-list { grid-template-columns: 1fr; gap: 36px; } .fact { display: grid; grid-template-columns: 80px 1fr; gap: 18px; max-width: 640px; } .fact img { width: 80px; height: 80px; } .fact h3 { margin-top: 0; } }

/* Kontakt */
.kontakt { background: var(--indigo); color: var(--white); padding: var(--sec) 0; }
.kontakt-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 72px); align-items: stretch; }
.kontakt address { font-style: normal; margin: 24px 0 30px; }
.addr { font: 600 clamp(1.7rem, 3vw, 2.2rem)/1.15 var(--cond); }
.lines { list-style: none; margin: 22px 0 0; padding: 0; }
.lines li { border-top: 1px solid rgba(255,255,255,.18); }
.lines li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.lines a { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: var(--white); text-decoration: none; font: 500 clamp(1.45rem, 2.4vw, 1.75rem)/1.1 var(--cond); }
.lines a:hover { color: #9fd3ff; }
.lines .ico { color: var(--sky); }
.map { min-height: 380px; border-radius: 4px; overflow: hidden; background: #2a3170; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }
@media (max-width: 860px) { .kontakt-in { grid-template-columns: 1fr; } .map, .map iframe { min-height: 300px; } }

/* Stopka */
.footer { background: #161b45; color: #a9aecd; font-size: .92rem; }
.footer-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.footer img { width: 120px; opacity: .9; }
.footer p { margin-right: auto; }
.footer a { color: var(--white); }

/* Pływający przycisk na telefonie */
.fab-call { display: none; }
@media (max-width: 700px) {
    .fab-call {
        display: inline-flex; align-items: center; gap: 8px; position: fixed; right: 16px; bottom: 16px; z-index: 60;
        background: var(--blue); color: var(--white); text-decoration: none; font: 600 1.15rem/1 var(--cond);
        padding: 14px 18px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(31,95,191,.7);
    }
    .footer { padding-bottom: 72px; }
}

/* ---------- Aktualności ---------- */
.news { padding: var(--sec) 0 calc(var(--sec) * .8); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; max-width: none; flex-wrap: wrap; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.more:hover { text-decoration: underline; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.news-grid.n1 { grid-template-columns: minmax(0, 1fr); }
.news-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { display: flex; flex-direction: column; }
.pc-img { display: block; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--indigo); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .pc-img img { transform: scale(1.03); }
.pc-ph { display: grid; place-items: center; height: 100%; font: 700 3.4rem/1 var(--cond); color: rgba(255,255,255,.9);
    background: radial-gradient(120% 90% at 20% 0%, #2c3a8f 0%, var(--indigo) 60%); }
.pc-body { padding-top: 14px; }
.pc-body time { font-size: .9rem; color: var(--muted); }
.pc-body h3 { font-size: 1.65rem; margin-top: 4px; }
.pc-body h3 a { color: var(--indigo); text-decoration: none; }
.pc-body h3 a:hover { color: var(--blue); }
.pc-body p { margin-top: 8px; color: var(--muted); }
/* na stronie głównej pierwszy wpis jest większy */
.news-grid.n3 .lead-card { grid-row: span 2; }
#aktualnosci .news-grid.n3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 36px; row-gap: 24px; }
#aktualnosci .news-grid.n3 .post-card:not(.lead-card) { flex-direction: row; gap: 16px; }
#aktualnosci .news-grid.n3 .post-card:not(.lead-card) .pc-img { flex: 0 0 42%; aspect-ratio: 4 / 3; }
#aktualnosci .news-grid.n3 .post-card:not(.lead-card) .pc-body { padding-top: 0; }
#aktualnosci .news-grid.n3 .post-card:not(.lead-card) h3 { font-size: 1.4rem; }
#aktualnosci .lead-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
#aktualnosci .news-grid.n3 .post-card:not(.lead-card) .pc-ph { font-size: 2.2rem; }
@media (max-width: 900px) {
    .news-grid, .news-grid.n2, #aktualnosci .news-grid.n3 { grid-template-columns: 1fr; }
    .news-grid.n3 .lead-card { grid-row: auto; }
}
@media (max-width: 520px) {
    #aktualnosci .news-grid.n3 .post-card:not(.lead-card) .pc-img { flex-basis: 36%; }
}
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-weight: 600; background: var(--white); }
.pager a[aria-current] { background: var(--indigo); color: var(--white); border-color: var(--indigo); }

/* podstrony */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; }
.news-page { padding-top: clamp(32px, 5vw, 56px); }

/* artykuł */
.article { background: var(--white); padding-bottom: var(--sec); border-bottom: 1px solid var(--line); }
.art-head { max-width: 860px; padding-top: clamp(28px, 5vw, 56px); }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-bottom: 26px; }
.art-head time { display: block; color: var(--muted); }
.art-head h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; margin-top: 6px; }
.art-lead { font-size: 1.3rem; line-height: 1.5; margin-top: 18px; color: #3c4366; max-width: 60ch; }
.art-img { max-width: 1060px; margin: clamp(28px, 4vw, 44px) auto 0; }
.art-img img { width: 100%; border-radius: 4px; max-height: 620px; object-fit: cover; }
.prose { max-width: 70ch; margin: clamp(28px, 4vw, 44px) auto 0; font-size: 1.125rem; line-height: 1.75; }
.art-head + .wrap .prose { margin-top: 32px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img { border-radius: 4px; margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); font-size: 1.25rem; color: #3c4366; }
.prose a { font-weight: 500; }
.art-cta { max-width: 70ch; margin: 44px auto 0; padding: 22px 24px; background: var(--paper); border-left: 4px solid var(--blue); border-radius: 0 4px 4px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.art-cta p { font: 600 1.35rem/1.2 var(--cond); }
.more-news { padding-top: calc(var(--sec) * .8); }

/* ---------- Kalendarz: pory roku ---------- */
.seasons { display: flex; gap: 6px; flex-wrap: wrap; margin: -8px 0 30px; border-bottom: 2px solid var(--line); }
.seasons button {
    font: 600 1.35rem/1 var(--cond); color: var(--muted); background: none; border: 0; cursor: pointer;
    padding: 12px 16px 14px; margin-bottom: -2px; border-bottom: 4px solid transparent; display: inline-flex; align-items: center; gap: 8px;
}
.seasons button:hover { color: var(--indigo); }
.seasons button[aria-selected="true"] { color: var(--indigo); border-bottom-color: var(--sc); }
.seasons small { font: 600 .72rem/1 var(--sans); background: var(--sc); color: var(--white); padding: 4px 7px; border-radius: 99px; }
.s-wiosna { --sc: #3b7633; } .s-lato { --sc: #b98512; } .s-jesien { --sc: #a3412a; } .s-zima { --sc: #1f5fbf; }
.zab-season { font-size: 1.5rem; margin: -6px 0 22px; color: var(--muted); }
.zab-ph { display: block; aspect-ratio: 600 / 220; border-radius: 4px; background: linear-gradient(135deg, var(--sc), #1e2457); opacity: .85; }

/* ---------- Do pobrania ---------- */
.pliki { padding: var(--sec) 0; background: var(--white); border-top: 1px solid var(--line); }
.files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.files a { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--indigo); height: 100%; }
.files a:hover { border-color: var(--blue); }
.f-th { width: 76px; height: 96px; flex-shrink: 0; border-radius: 3px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.f-th img { width: 100%; height: 100%; object-fit: cover; }
.f-th b { font: 700 1.2rem var(--cond); color: var(--rust); }
.f-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.f-txt strong { font: 600 1.35rem/1.15 var(--cond); }
.f-txt span { color: var(--muted); font-size: .95rem; }
.f-txt em { font-style: normal; color: var(--blue); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; }

/* godziny otwarcia, facebook */
.hours { display: flex; gap: 12px; margin-top: 22px; font-size: 1.05rem; }
.hours .ico { color: var(--sky); width: 1.3em; height: 1.3em; margin-top: 2px; }
.hours ul { list-style: none; margin: 0; padding: 0; }
.footer .fb { display: inline-flex; align-items: center; gap: 6px; }
#aktualnosci .news-grid.n1 .post-card { flex-direction: row; gap: clamp(20px, 4vw, 44px); align-items: center; }
#aktualnosci .news-grid.n1 .pc-img { flex: 0 0 56%; }
#aktualnosci .news-grid.n1 h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
#aktualnosci .news-grid.n1 p { font-size: 1.1rem; }
@media (max-width: 760px) { #aktualnosci .news-grid.n1 .post-card { flex-direction: column; align-items: stretch; } }
