@font-face {
  font-family: "Fraunces ROD";
  src: url("/static/fonts/fraunces-pl.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest-950: #1f5a37;
  --forest-900: #2e7d4f;
  --forest-800: #3f9a63;
  --forest-700: #58b076;
  --leaf-500: #8fc46b;
  --sun-500: #e5b744;
  --sun-300: #f1d47d;
  --cream-50: #fffdf6;
  --cream-100: #f6f1e3;
  --cream-200: #e9e1cb;
  --ink: #172019;
  --muted: #59635b;
  --surface: #ffffff;
  --line: rgba(24, 58, 38, .14);
  --terracotta: #ad5133;
  --shadow-1: 0 1px 2px rgba(23,32,25,.05), 0 8px 24px rgba(31,90,55,.07);
  --shadow-2: 0 18px 54px rgba(31,90,55,.12);
  --shadow: var(--shadow-2);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius: var(--radius-md);
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 72px;
  --s9: 112px;
  --shell: min(1180px, calc(100% - 40px));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --cream-50: #0d1c13;
  --cream-100: #12271a;
  --cream-200: #294130;
  --ink: #f6f1e3;
  --muted: #b6c3b8;
  --surface: #173321;
  --line: rgba(246, 241, 227, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .3);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background-color: var(--cream-50); background-image: radial-gradient(circle at 12% 7%, rgba(143,196,107,.08), transparent 24rem), radial-gradient(circle at 88% 28%, rgba(229,183,68,.07), transparent 22rem); color: var(--ink); font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sun-500); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 10px 16px; transform: translateY(-150%); background: var(--sun-500); color: var(--forest-950); border-radius: 12px; font-weight: 800; }
.skip-link:focus { transform: none; }

.site-header { width: var(--shell); margin: 18px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.15; }
.brand img { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 8px 24px rgba(24, 58, 38, .2); }
.brand span { display: grid; gap: 3px; }
.brand strong { font-family: "Fraunces ROD", Georgia, "Times New Roman", serif; font-size: 1.02rem; }
.brand small { color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 14px; font-size: .88rem; font-weight: 750; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--forest-700); }
.theme-toggle, .nav-toggle { border: 1px solid var(--line); color: var(--ink); background: var(--surface); border-radius: 999px; cursor: pointer; min-width: 44px; min-height: 44px; }
.nav-toggle { display: none; padding-inline: 16px; font-weight: 800; }

.hero { min-height: 700px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: 56px; padding-block: 72px 84px; }
.hero h1, h1, h2, h3 { margin: 0; font-family: "Fraunces ROD", Georgia, "Times New Roman", serif; font-optical-sizing: auto; line-height: 1.04; letter-spacing: -.035em; }
.hero h1 { max-width: 760px; font-size: clamp(3.5rem, 7vw, 6.8rem); }
.hero h1 em { color: var(--forest-700); font-weight: inherit; }
.eyebrow { margin: 0 0 16px; color: var(--forest-950); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 900; }
.lead { max-width: 630px; margin: 28px 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.32rem); }
.hero-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 999px; text-decoration: none; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest-900); color: #fffdf6; box-shadow: 0 12px 26px rgba(24, 58, 38, .2); }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.button-light { margin-top: auto; background: #fffdf6; color: var(--forest-950); }
.hero-facts { display: flex; gap: 28px; list-style: none; padding: 0; margin: 42px 0 0; }
.hero-facts li { display: grid; line-height: 1.2; }
.hero-facts strong { font-family: Georgia, serif; color: var(--forest-800); font-size: 1.6rem; }
.hero-facts span { color: var(--muted); font-size: .78rem; }
.hero-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: none; }
.hero-logo { width: 88%; height: auto; }
.hero-note { position: absolute; z-index: 3; left: 5%; bottom: 10%; padding: 10px 15px; border-radius: 999px; color: var(--forest-950); background: rgba(255,253,246,.9); backdrop-filter: blur(10px); font-size: .78rem; font-weight: 850; box-shadow: 0 10px 30px rgba(16,41,27,.15); }
.hero-note span { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #c55335; }

.announcement-strip { color: var(--ink); background: var(--sun-300); }
.announcement-inner { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 24px; padding-block: 25px; }
.announcement-kicker { margin: 0; color: #2c5238; text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 900; }
.announcement-inner h2 { font-size: clamp(1.35rem, 3vw, 2rem); color: var(--forest-950); }
.announcement-inner p { margin: 4px 0 0; color: var(--forest-800); font-weight: 600; }
.announcement-inner .button { border: 1px solid rgba(16,41,27,.35); color: var(--forest-950); }

.section { padding-block: 110px; }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 390px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 35px rgba(24,58,38,.06); }
.feature-card h3 { margin: 8px 0 16px; font-size: 2rem; }
.feature-card p { color: var(--muted); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-100); color: var(--forest-800); }
.card-label { margin: 28px 0 0; text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; font-weight: 900; }
.card-camera { color: var(--ink); background: linear-gradient(150deg, #eaf6df, #d8efc7); }
.card-camera p { color: rgba(255,253,246,.76); }
.card-camera .card-icon { color: #fffdf6; background: rgba(255,255,255,.12); }
.card-news { background: linear-gradient(150deg, var(--surface), var(--cream-100)); }
.text-link { margin-top: auto; color: var(--forest-950); font-weight: 850; text-decoration-thickness: 2px; }
.meter { height: 8px; overflow: hidden; margin: auto 0 12px; border-radius: 99px; background: var(--cream-200); }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sun-500), var(--leaf-500), var(--forest-700)); transition: width .6s ease; }
.barometer-meta { margin: 0 0 22px; font-size: .78rem; }

.section-electric { background: var(--cream-100); }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); gap: 70px; align-items: center; }
.lead-small { max-width: 650px; color: var(--muted); font-size: 1.16rem; }
.steps { display: grid; gap: 5px; padding: 0; margin: 34px 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.steps span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fffdf6; background: var(--forest-800); font-weight: 900; }
.steps p { margin: 0; }
.inline-alert { margin: 28px 0; padding: 18px; border-left: 4px solid var(--sun-500); border-radius: 0 14px 14px 0; background: var(--surface); }
.inline-alert a { font-size: 1.25rem; font-weight: 900; }
.photo-card { margin: 0; padding: 22px; border-radius: 34px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.photo-card img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 24px; }
.photo-card figcaption { padding: 12px 8px 4px; color: var(--muted); font-size: .76rem; }

.heading-row { max-width: none; display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 40px; }
.heading-row > p { color: var(--muted); }
.map-card { position: relative; min-height: 560px; margin: 0; overflow: hidden; border-radius: 34px; background: var(--cream-100); box-shadow: var(--shadow); }
.map-card img { width: 100%; height: min(74vw, 760px); object-fit: contain; }
.map-pin { position: absolute; left: 77%; top: 14%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; color: var(--forest-950); background: var(--sun-500); font-size: .72rem; font-weight: 900; box-shadow: 0 8px 28px rgba(0,0,0,.24); }
.map-pin i { width: 10px; height: 10px; border-radius: 50%; background: #c55335; box-shadow: 0 0 0 5px rgba(197,83,53,.22); }

.section-patron { color: #fffdf6; background: var(--forest-950); }
.section-patron .eyebrow, .section-patron .text-link { color: var(--sun-300); }
.patron-grid { display: grid; grid-template-columns: .55fr 1fr; align-items: center; gap: 60px; }
.patron-mark { min-height: 380px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50% 50% 18px 50%; color: var(--sun-300); background: radial-gradient(circle at 40% 35%, rgba(229,183,68,.2), transparent 38%), #173c27; font-family: Georgia, serif; font-size: clamp(5rem, 12vw, 10rem); letter-spacing: -.1em; }
.patron-lead { max-width: 680px; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 2rem); }
.section-patron p:not(.eyebrow) { color: rgba(255,253,246,.75); }
.contact-card { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: clamp(28px, 6vw, 64px); border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(135deg, var(--surface), var(--cream-100)); }

.page-hero { padding-block: 90px 54px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6rem); }
.page-content { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding-block: 70px 120px; }
.page-content h2 { margin: 2.2em 0 .7em; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-content h3 { margin-top: 2em; font-size: 1.5rem; }
.page-content p, .page-content li { color: var(--muted); }
.page-content strong { color: var(--ink); }
.page-content li { margin-block: .5em; }
.announcement-list { display: grid; gap: 16px; padding: 0; list-style: none; }
.announcement-item { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.announcement-item time { color: var(--forest-700); font-weight: 850; }
.announcement-item h2 { margin: 8px 0; font-size: 2rem; }

.site-footer { display: grid; grid-template-columns: minmax(260px, 1.1fr) minmax(0, 1fr); gap: 32px; width: var(--shell); margin: 0 auto; padding-block: 52px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.site-footer > div:first-child { display: flex; align-items: center; gap: 16px; min-width: 0; }
.site-footer > div:first-child p { margin: 0; min-width: 0; }
.site-footer img { flex: none; width: 64px; height: 64px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: flex-end; }
.site-footer img { border-radius: 50%; }
.footer-links { display: flex; align-items: center; gap: 18px; }
.copyright { grid-column: 1 / -1; margin: 0; }

@media (max-width: 920px) {
  .site-header { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: grid; width: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: grid; }
  .theme-toggle { justify-self: start; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-block: 70px; }
  .hero-visual { width: min(520px, 90vw); margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 330px; }
  .split-layout, .patron-grid { grid-template-columns: 1fr; }
  .photo-card { max-width: 520px; margin-inline: auto; transform: none; }
  .link-galeria { margin-top: 16px; }
  .card-wide .photo-card { margin-bottom: 8px; }
  .announcement-inner { grid-template-columns: 1fr; gap: 8px; }
  .announcement-inner .button { justify-self: start; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 24px, 1180px); }
  body { font-size: 16px; }
  .brand span { display: none; }
  .site-header { margin-top: 10px; }
  .hero { gap: 38px; padding-block: 50px 62px; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 5rem); }
  .hero-facts { gap: 18px; }
  .hero-note { left: 2%; }
  .section { padding-block: 76px; }
  .heading-row { grid-template-columns: 1fr; gap: 5px; }
  .map-card { min-height: 440px; }
  .map-card img { height: 560px; }
  .map-pin { left: 48%; }
  .patron-mark { min-height: 260px; }
  .contact-card, .site-footer { display: grid; grid-template-columns: 1fr; align-items: start; }
  .footer-links { align-items: start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Pogoda (dekret 03.09: teraz + caly tydzien) */
.pogoda { padding-block: 28px 8px; }
.pogoda-teraz { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 26px 30px; border-radius: var(--radius); background: linear-gradient(135deg, #fff7dc, #eaf6df); border: 1px solid var(--line); }
.pogoda-teraz .ikona { font-size: 3.4rem; line-height: 1; }
.pogoda-teraz .temp { font-family: Georgia, serif; font-size: 3.2rem; color: var(--forest-900); line-height: 1; }
.pogoda-teraz .opis { font-size: 1.15rem; font-weight: 600; }
.pogoda-teraz .detale { color: var(--muted); font-size: .95rem; }
.pogoda-dni { display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); gap: 12px; margin-top: 14px; }
.pogoda-dzien { padding: 14px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.pogoda-dzien .d { font-weight: 700; text-transform: capitalize; }
.pogoda-dzien .dm { color: var(--muted); font-size: .85rem; }
.pogoda-dzien .i { font-size: 2rem; margin: 6px 0; }
.pogoda-dzien .t { font-weight: 700; color: var(--forest-900); }
.pogoda-dzien .t span { color: var(--muted); font-weight: 400; }
.pogoda-dzien .o { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.pogoda-stopka { margin-top: 10px; font-size: .85rem; }

/* Patron — podstrona */
.patron-portret { float: right; width: min(300px, 42%); margin: 0 0 16px 24px; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.patron-portret img { width: 100%; height: auto; border-radius: 12px; display: block; }
.patron-portret figcaption { margin-top: 8px; font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .patron-portret { float: none; width: 100%; margin: 0 0 18px; } }

/* Pasek: strona w budowie (dekret 03.09) */
.budowa-pasek { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 14px; max-height: 96px; overflow: hidden; background: repeating-linear-gradient(135deg, #f6c000 0 18px, #1b1b1b 18px 36px); }
.budowa-pasek p { margin: 0; padding: 9px 18px; border-radius: 999px; background: #fffdf6; color: #1b1b1b; font-size: 1rem; line-height: 1.3; text-align: center; white-space: nowrap; }
@media (max-width: 420px) { .budowa-pasek p { font-size: .9rem; padding: 8px 12px; } }
.budowa-pasek .znak-budowa { flex: none; width: 46px !important; height: 41px !important; max-width: 46px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
@media (max-width: 640px) { .budowa-pasek .znak-budowa:last-child { display: none; } .budowa-dopisek { display: none; } }

.fb-wideo { position: relative; display: block; width: min(320px, 100%); margin-top: 16px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.fb-wideo img { width: 100%; height: auto; display: block; }
.fb-wideo .play { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,253,246,.92); color: var(--forest-900); font-size: 2rem; padding-left: 6px; }
.fb-wideo .fb-podpis { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; text-align: center; color: #fffdf6; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* Formularz kontaktowy */
.kontakt-form { display: grid; gap: 8px; max-width: 640px; margin-top: 14px; }
.kontakt-form label { font-weight: 700; margin-top: 10px; }
.kontakt-form input[type=text], .kontakt-form input[type=email], .kontakt-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1.1rem; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); }
.kontakt-form textarea { min-height: 150px; resize: vertical; }
.kontakt-form input:focus, .kontakt-form textarea:focus { outline: none; border-color: var(--forest-700); }
.kontakt-form .zgoda { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .95rem; color: var(--muted); }
.kontakt-form .zgoda input { margin-top: 4px; width: 22px; height: 22px; }
.kontakt-form button { margin-top: 10px; justify-self: start; }
.kontakt-form .pulapka { position: absolute; left: -9999px; }
.form-ok, .form-blad { display: none; padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.form-ok { background: #e3f4e6; color: #1f5a37; } .form-blad { background: #fde8e6; color: #8a1f14; }
.form-ok.widoczny, .form-blad.widoczny { display: block; }

.ogl-foto { display: block; width: min(520px, 100%); margin-top: 14px; border-radius: 16px; }

@media (max-width: 640px) {
  .site-footer { gap: 22px; padding-block: 36px; }
  .site-footer > div:first-child { align-items: flex-start; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* Galeria elektryfikacji */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 16px 0 24px; }
.galeria a { display: block; border-radius: 14px; overflow: hidden; background: var(--cream-100); aspect-ratio: 4/3; }
.galeria img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.galeria a:hover img { transform: scale(1.04); }

.yt-wideo { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16/9; margin: 12px 0 8px; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.yt-wideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ogl-lista { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 10px; }
.ogl-lista li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--cream-100); }
.ogl-lista time { font-size: .82rem; color: var(--muted); }
.ogl-lista a { font-weight: 700; text-decoration: none; }

.site-footer .licznik { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: .9rem; }

.licznik-odwiedzin { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; text-align: center; }
.copyright { grid-column: 1 / -1; text-align: center; }

.link-galeria { margin-top: 20px; }

/* V2 „lokalny zielnik redakcyjny” — CSS-first, bez generowanych grafik */
.site-header {
  margin-top: var(--s4);
  padding: 10px 12px;
  gap: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--cream-50) 92%, transparent);
  box-shadow: var(--shadow-1);
}
.brand img { width: 52px; height: 52px; box-shadow: 0 6px 18px rgba(24,58,38,.16); }
.site-nav { flex-wrap: wrap; justify-content: flex-end; gap: 14px 15px; font-size: .79rem; }
.site-nav a { position: relative; padding-block: 8px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; border-radius: 9px; background: var(--forest-900); transition: right .18s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.theme-toggle, .nav-toggle { background: var(--cream-50); }
.theme-toggle span { display: grid; place-items: center; font-size: 1.05rem; }

.budowa-pasek {
  min-height: 40px;
  padding: 4px 14px 7px;
  gap: 10px;
  background: linear-gradient(var(--sun-300), var(--sun-300)) padding-box,
    repeating-linear-gradient(135deg, #f6c000 0 10px, #1b1b1b 10px 20px) border-box;
  border-bottom: 4px solid transparent;
}
.budowa-pasek p { padding: 3px 10px; color: var(--ink); background: transparent; font-size: .86rem; }
.budowa-pasek .znak-budowa { width: 30px !important; height: 27px !important; max-width: 30px; filter: none; }

.hero {
  min-height: 570px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(32px, 6vw, 72px);
  padding-block: clamp(58px, 7vw, 88px);
}
.hero h1 { max-width: 10ch; font-size: clamp(3.7rem, 7vw, 6.5rem); font-weight: 650; }
.hero-tagline { margin: 12px 0 0; color: var(--forest-900); font-family: "Fraunces ROD", Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.45rem); font-weight: 560; line-height: 1.1; }
.lead { margin: 24px 0; }
.hero-visual {
  isolation: isolate;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(46,125,79,.16);
  border-radius: 44% 56% 48% 52% / 54% 42% 58% 46%;
  background:
    radial-gradient(circle at 72% 24%, rgba(229,183,68,.58) 0 9%, transparent 9.5%),
    radial-gradient(circle at 28% 80%, rgba(255,253,246,.82) 0 16%, transparent 16.5%),
    linear-gradient(145deg, #f5e9bd 0%, #e9f5d9 42%, #b9dda0 100%);
  box-shadow: var(--shadow-2);
}
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(46,125,79,.12); }
.hero-visual::before { width: 62%; aspect-ratio: 1; left: -18%; top: -22%; }
.hero-visual::after { width: 48%; aspect-ratio: 1; right: -10%; bottom: -25%; background: rgba(255,253,246,.48); }
.hero-logo { width: min(58%, 280px); filter: drop-shadow(0 18px 26px rgba(31,90,55,.16)); }
.hero-leaf { position: absolute; z-index: -1; width: 24%; aspect-ratio: 1 / 1.55; border-radius: 100% 0 100% 0; background: rgba(46,125,79,.16); transform: rotate(32deg); }
.hero-leaf-one { left: 14%; top: 10%; }
.hero-leaf-two { right: 14%; bottom: 6%; width: 18%; transform: rotate(-28deg); background: rgba(229,183,68,.22); }

.today-bento { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: 18px; align-items: stretch; padding-block: 24px 12px; }
.pogoda, .announcement-card { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.pogoda { min-width: 0; padding: 28px; background: rgba(255,255,255,.72); }
.pogoda .section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.pogoda .section-head .eyebrow { max-width: 18ch; margin: 0; }
.pogoda .section-head h2 { max-width: 12ch; font-size: clamp(1.8rem, 3.4vw, 3rem); text-align: right; }
.pogoda-teraz { border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px rgba(255,255,255,.48); }
.pogoda-dni { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pogoda-dzien { border-radius: var(--radius-sm); box-shadow: 0 3px 12px rgba(31,90,55,.04); }
.announcement-card { display: flex; flex-direction: column; padding: 30px; color: #14261a; background: linear-gradient(145deg, var(--sun-300), #f8e7a7); }
.announcement-kicker { margin: 0 0 auto; color: var(--forest-950); text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 900; }
.announcement-card > div { margin-block: 44px 28px; }
.announcement-card h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); color: #10251a; }
.announcement-card p:not(.announcement-kicker) { margin: 10px 0 0; color: #14261a; font-weight: 600; }
.announcement-card .button { align-self: flex-start; border: 1px solid rgba(20,38,26,.4); background: rgba(255,253,246,.75); color: #14261a; font-weight: 800; }

.section { padding-block: 86px; }
.section-heading { margin-bottom: 32px; }
.feature-grid.home-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 320px; padding: 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-1); }
.home-bento .card-wide { grid-column: span 6; }
.home-bento .feature-card:not(.card-wide) { grid-column: span 3; }
.feature-card h3 { font-size: clamp(1.7rem, 2.7vw, 2.35rem); }
.card-camera { color: var(--ink); background: linear-gradient(150deg, #eaf6df, #d8efc7); }
.card-camera p { color: var(--muted); }
.card-film { background: linear-gradient(150deg, #fff8e6, #f6e7bd); }
.card-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.card-label { margin-top: 24px; }
.assistant-card { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; }
.assistant-card .card-icon { grid-row: 1 / 4; }
.assistant-card .card-label, .assistant-card h3, .assistant-card p { margin: 0; }
.assistant-card .button { grid-column: 3; grid-row: 1 / 4; }

.page-hero { padding-block: 72px 44px; }
.page-hero h1 { max-width: 12ch; font-size: clamp(3rem, 6vw, 5.4rem); }
.page-content { width: min(840px, calc(100% - 40px)); padding-block: 52px 92px; }
.page-content > p { max-width: 68ch; }
.page-content h2 { margin-top: 1.8em; }
.announcement-item { border-radius: var(--radius-md); box-shadow: var(--shadow-1); }
.patron-portret { box-shadow: var(--shadow-1); }
.contact-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.site-footer { font-size: .88rem; }

@media (hover: hover) {
  .feature-card, .pogoda-dzien, .button { transition: transform .18s ease, box-shadow .18s ease; }
  .feature-card:hover, .pogoda-dzien:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
  .button:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
  .galeria a:hover img { transform: scale(1.025); }
}

@media (max-width: 1060px) {
  .site-nav { gap-inline: 12px; font-size: .76rem; }
  .brand strong { font-size: .92rem; }
  .brand small { letter-spacing: .13em; }
}

@media (max-width: 920px) {
  .site-header { padding: 8px 10px; }
  .site-nav { padding: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero h1 { max-width: 11ch; }
  .hero-visual { width: min(540px, 86vw); max-height: 390px; }
  .today-bento { grid-template-columns: 1fr; }
  .announcement-card > div { margin-block: 26px 18px; }
  .home-bento .card-wide { grid-column: span 8; }
  .home-bento .feature-card:not(.card-wide) { grid-column: span 4; }
  .assistant-card { grid-template-columns: auto 1fr; }
  .assistant-card .button { grid-column: 2; grid-row: auto; justify-self: start; }
}

@media (max-width: 640px) {
  .budowa-pasek { justify-content: flex-start; min-height: 36px; padding-inline: 10px; }
  .budowa-pasek p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero { gap: 34px; padding-block: 46px 58px; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); }
  .hero-tagline { font-size: clamp(1.45rem, 7vw, 2rem); }
  .hero-visual { width: 100%; max-height: 300px; border-radius: 34% 66% 42% 58% / 52% 38% 62% 48%; }
  .hero-logo { width: min(50%, 170px); }
  .today-bento { width: min(100% - 24px, 1180px); padding-block: 10px; }
  .pogoda { padding: 20px 14px; }
  .pogoda .section-head { display: block; }
  .pogoda .section-head .eyebrow { margin-bottom: 8px; }
  .pogoda .section-head h2 { max-width: none; text-align: left; }
  .pogoda-teraz { padding: 20px; }
  .pogoda-dni { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .announcement-card { padding: 24px; }
  .section { padding-block: 64px; }
  .feature-grid.home-bento { grid-template-columns: 1fr; }
  .home-bento .card-wide, .home-bento .feature-card:not(.card-wide) { grid-column: auto; }
  .feature-card { min-height: 280px; padding: 24px; border-radius: 18px; }
  .assistant-card { display: flex; align-items: stretch; }
  .assistant-card .button { align-self: flex-start; }
  .page-hero { padding-block: 58px 36px; }
  .page-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .page-content { width: min(100% - 32px, 840px); padding-block: 42px 72px; }
  .site-footer { font-size: .86rem; }
}

.yt-wideo.yt-pion { max-width: 400px; aspect-ratio: 9/16; margin-inline: auto; }

.film-mini { position: relative; display: block; width: min(300px, 100%); margin-top: 18px; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow); aspect-ratio: 9/16; }
.film-mini img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: transform .25s, opacity .25s; }
.film-mini:hover img { transform: scale(1.03); opacity: 1; }
.film-play { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,253,246,.92); color: var(--forest-900); font-size: 1.7rem; padding-left: 5px; }
.film-podpis { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; text-align: center; color: #fffdf6; font-weight: 700; font-size: .92rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }

/* Pogoda: teraz + radar obok, prognoza rozwijana */
.pogoda-glowna { display: grid; grid-template-columns: 1fr minmax(180px, 260px); gap: 16px; align-items: stretch; }
.pogoda-teraz { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 18px; background: var(--cream-100); padding: 18px; cursor: pointer; position: relative; font: inherit; color: inherit; }
.pogoda-teraz .ikona { font-size: 2.6rem; line-height: 1; }
.pogoda-teraz .temp { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.pogoda-teraz .opis { color: var(--muted); margin-top: 2px; }
.pogoda-teraz .detale { color: var(--muted); font-size: .82rem; margin-top: 6px; }
.pogoda-rozwin { position: absolute; right: 16px; bottom: 12px; font-size: .78rem; font-weight: 800; color: var(--forest-800); }
.pogoda-dni[hidden] { display: none; }
.pogoda-dni { margin-top: 14px; }
/* Radar opadów */
.pogoda-radar { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; }
.radar-tytul { font-size: .74rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--forest-800); margin-bottom: 8px; }
.radar-slupki { flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; align-items: end; min-height: 64px; }
.radar-godz { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.radar-bar { width: 100%; border-radius: 3px 3px 0 0; min-height: 4px; }
.radar-bar.sucho { background: #cfe3d4; }
.radar-bar.mzawka { background: #7fb2d6; }
.radar-bar.mokro { background: #2f6fb0; }
.radar-g { font-size: .58rem; color: var(--muted); margin-top: 3px; }
.radar-legenda { display: flex; gap: 12px; margin-top: 8px; font-size: .68rem; color: var(--muted); }
.radar-legenda span { display: inline-flex; align-items: center; gap: 4px; }
.radar-legenda i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.radar-legenda i.sucho { background: #cfe3d4; }
.radar-legenda i.mzawka { background: #7fb2d6; }
.radar-legenda i.mokro { background: #2f6fb0; }
@media (max-width: 640px) {
  .pogoda-glowna { grid-template-columns: 1fr; }
  .pogoda-radar { min-height: 120px; }
}

/* Poprawka: przycisk pogody bez nachodzenia "Prognoza 8 dni" na detale */
#pogoda-teraz.pogoda-teraz { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 22px 16px; position: relative; }
#pogoda-teraz .ikona { font-size: 2.8rem; }
#pogoda-teraz .teraz-tresc { width: 100%; }
#pogoda-teraz .detale { padding-right: 0; }
#pogoda-teraz .pogoda-rozwin { position: static; align-self: flex-end; margin-top: 8px; padding: 6px 12px; border: 1px solid var(--forest-800); border-radius: 999px; background: rgba(255,253,246,.65); }
@media (max-width: 640px) {
  #pogoda-teraz .pogoda-rozwin { align-self: stretch; text-align: center; }
}

/* Radar — mapa opadów */
.pogoda-radar { position: relative; padding: 0; overflow: hidden; }
#radar-mapa { width: 100%; height: 100%; min-height: 180px; border-radius: 18px; z-index: 0; }
#radar-mapa .leaflet-control-attribution { font-size: .58rem; background: rgba(255,253,246,.8); }
.radar-panel { position: absolute; left: 10px; bottom: 10px; z-index: 500; display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(23,32,25,.78); color: #fff; }
.radar-play { border: 0; background: none; color: #fff; font-size: .95rem; cursor: pointer; line-height: 1; padding: 0; }
.radar-czas { font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.radar-czas.prognoza { color: #ffd66b; }
@media (max-width: 640px) { #radar-mapa { min-height: 200px; } }

/* Pasek wyszukiwania Google w nagłówku */
.g-szukaj { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: inset 0 1px 2px rgba(24,58,38,.04); transition: border-color .18s, box-shadow .18s; }
.g-szukaj:focus-within { border-color: var(--forest-800); box-shadow: 0 0 0 3px rgba(46,125,79,.14); }
.g-ikona { flex: none; width: 24px; height: 24px; }
.g-pole { border: 0; outline: 0; background: none; font: inherit; font-size: 1.15rem; color: var(--ink); width: 300px; }
.g-pole::placeholder { color: var(--muted); }
@media (max-width: 900px) {
  .g-szukaj { order: -1; width: 100%; }
  .g-pole { width: 100%; }
}



/* Pasek Google — pełna szerokość pod nagłówkiem (między krawędziami jak nagłówek) */
.g-pasek-rzad { width: var(--shell); margin: 12px auto 0; }
.g-pasek-rzad .g-szukaj { display: flex; width: 100%; box-sizing: border-box; padding: 15px 24px; gap: 13px; border-radius: 16px; }
.g-pasek-rzad .g-pole { flex: 1; width: auto; font-size: 1.1rem; }
.g-pasek-rzad .g-ikona { width: 24px; height: 24px; }
@media (max-width: 640px) { .g-pasek-rzad { margin-top: 10px; } .g-pasek-rzad .g-szukaj { padding: 13px 18px; } }

/* Zegar analogowy na logo — same wskazówki, nie zasłania napisu */
.hero-visual { position: relative; }
.zegar-hero { position: absolute; left: 50%; top: 50%; width: 52%; height: 52%; transform: translate(-50%, -50%); z-index: 4; pointer-events: none; overflow: visible; }
.zegar-hero line { stroke-linecap: round; transform-box: view-box; transform-origin: 50px 50px; paint-order: stroke; }
.wsk-godz { stroke: #0a0a0a; stroke-width: 4.5; opacity: 1; filter: drop-shadow(0 0 1.5px #fffdf6); }
.wsk-min { stroke: #0a0a0a; stroke-width: 3.2; opacity: 1; filter: drop-shadow(0 0 1.5px #fffdf6); }
.wsk-sek { stroke: #c0392b; stroke-width: 1.6; opacity: 1; filter: drop-shadow(0 0 1px #fffdf6); }
.wsk-srodek { fill: #0a0a0a; stroke: #fffdf6; stroke-width: 1; }
@media (prefers-reduced-motion: reduce) { .wsk-sek { display: none; } }

/* Data + godzina pod logo (czytelna, dla starszych) */
.zegar-data .dz-godz { color: #ffe08a; }
@media (max-width: 640px) { }

/* Data pod logo */
.hero-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.hero-data { margin: 14px 0 0; text-align: center; font-weight: 700; font-size: 1.05rem; color: var(--forest-800); letter-spacing: .01em; }

/* Tablica ogłoszeń */
.tablica-form .form-para { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ogl-tablica { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.ogl-tab { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 18px 20px; box-shadow: 0 8px 24px rgba(24,58,38,.06); }
.ogl-tab-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.ogl-tab-head time { color: var(--muted); font-size: .82rem; }
.ogl-kat { font-size: .72rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--cream-100); color: var(--forest-800); }
.ogl-kat-sprzedam { background: #e7f3ea; color: #1f5a37; }
.ogl-kat-oddam { background: #eaf6df; color: #3a6b1f; }
.ogl-kat-kupie { background: #fff3d6; color: #8a6a1a; }
.ogl-kat-pomoc { background: #fde8e0; color: #a2432a; }
.ogl-kat-zguby { background: #e6eef8; color: #2a4d80; }
.ogl-tab h3 { margin: 4px 0 6px; font-size: 1.25rem; }
.ogl-tab p { margin: 0; }
.ogl-kontakt { margin-top: 8px; font-weight: 600; color: var(--forest-800); }
.ogl-od { margin-top: 6px; color: var(--muted); font-size: .84rem; }
@media (max-width: 640px) { .tablica-form .form-para { grid-template-columns: 1fr; } }

/* Karta Tablica ogłoszeń w bento */
.card-tablica { background: linear-gradient(150deg, #fdf6e3, #f3ead2); }
.tablica-skrot { list-style: none; margin: 14px 0 16px; padding: 0; display: grid; gap: 8px; }
.tablica-skrot li { font-size: .92rem; line-height: 1.4; }
.tablica-skrot .ogl-kat { font-size: .62rem; padding: 2px 7px; margin-right: 4px; }

/* Mapa ogrodu */
.mapa-container { margin: 0 auto; }
.mapa-img { width: 100%; border-radius: 16px; box-shadow: 0 8px 32px rgba(24,58,38,.12); cursor: zoom-in; display: block; }
.mapa-toolbar { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.mapa-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9999; align-items: center; justify-content: center; }
.mapa-lightbox.aktywny { display: flex; }
.mapa-lightbox img { max-width: 98vw; max-height: 96vh; border-radius: 10px; object-fit: contain; }
.mapa-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

/* Ogrodnik ROD — wpisy FB */
.card-ogrodnik { background: linear-gradient(150deg, #eaf3e4, #dcebd3); }
.fb-skrot-tyt { font-weight: 800; margin: 10px 0 6px; font-size: 1.05rem; }
.fb-skrot-tresc { color: var(--muted); font-size: .9rem; margin: 0 0 12px; line-height: 1.5; }
.fb-lista { display: grid; gap: 16px; margin-top: 18px; }
.fb-wpis { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 20px 22px; box-shadow: 0 8px 24px rgba(24,58,38,.06); }
.fb-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.fb-head time { color: var(--muted); font-size: .82rem; }
.fb-wpis h3 { margin: 4px 0 10px; font-size: 1.2rem; }
.fb-tresc { line-height: 1.6; margin-bottom: 12px; white-space: normal; }
.fb-ostrzezenie { border-color: #e5b744; background: #fff8e6; }
[data-theme="dark"] .fb-ostrzezenie { background: #3a2f12; border-color: #c9a23a; }
[data-theme="dark"] .fb-ostrzezenie h3, [data-theme="dark"] .fb-ostrzezenie .fb-tresc { color: #f6f1e3; }
.fb-ogloszenie { border-color: #2e7d4f; background: #f2f9f4; }
/* Porady miesiąca w karcie pogody */
.porady-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.porady-lista { margin: 8px 0 0; padding-left: 18px; font-size: .92rem; line-height: 1.55; }
.porady-lista li { margin-bottom: 4px; }
.wideo-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin: 14px 0 26px; }
.wideo-karta { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 10px; box-shadow: 0 8px 24px rgba(24,58,38,.06); }
.wideo-mini { position: relative; display: block; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; background: #e8f0ea; }
.wideo-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wideo-play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.wideo-tyt { font-weight: 700; line-height: 1.3; }
.wideo-data { color: #5a6b5f; font-size: .85rem; }

/* D-0315: fasady filmów — klik otwiera odtwarzacz w oknie na stronie */
.yt-fasada { display: block; cursor: pointer; }
.yt-fasada img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: transform .25s, opacity .25s; }
.yt-fasada:hover img { transform: scale(1.03); opacity: 1; }
.yt-fasada .film-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.88); color: #1b5e20; font-size: 30px; line-height: 72px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
