/* =====================================================================
   BIOCHAR EUROPE – WYGLĄD STRONY
   Zbudowany na design systemie „Biochar Europe — Design System”,
   wersja „Zieleń” (płótno w Claude, plansze Gr01–Gr15, GrHomeA–D
   i „Zieleń · Fundamenty”). Numery w komentarzach (1–59) to numery
   komponentów z planszy.
   Treści są w plikach HTML, skrypt w assets/main.js.
   ===================================================================== */

/* ================= Kroje pisma: dwa lokalne pliki w fonts/ ================= */
/* Tekst i interfejs: Source Sans 3 (grubości 200–900) */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-VF.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
/* Nagłówki: Source Serif 4 (grubości 500–700) – nawiązuje do napisu BIOCHAR w logo */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-VF.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ================= Tokeny (plansza „Zieleń · Fundamenty”) ================= */
:root {
  /* Las – kolor marki */
  --heading: #0a3a2b;     /* Las 900 – nagłówki, tekst ciemny na jasnym */
  --brand-dark: #0d4d39;  /* Las 800 – przycisk po najechaniu */
  --brand: #106548;       /* Las 700 – główny przycisk, linki, eyebrow, ptaszki */
  --accent: #1aa764;      /* Las 500 – zieleń z logo: akcenty, etykiety na ciemnym, fokus */
  --brand-line: #bfe6d0;  /* Las 200 – linie dekoracyjne */
  --mint: #f2faf5;        /* Las 50 – jasne sekcje, wyróżnienia */
  /* Węgiel – neutralne */
  --dark: #262d2a;        /* Węgiel 800 – ciemne sekcje, kółka, przyciski ciemne */
  --dark-2: #333b37;      /* karty na ciemnym tle */
  --dark-3: #1c211f;      /* stopka, ciemniejszy hero */
  --dark-line: #4e5753;   /* linie na ciemnym tle */
  --ink: #121614;         /* Węgiel 950 – tekst główny */
  --ink-soft: #4e5753;    /* Węgiel 600 – tekst pomocniczy */
  --line-field: #89928d;  /* Węgiel 400 – ramka pól formularza */
  --line: #dce1de;        /* Węgiel 200 – linie, separatory */
  --grey: #f7f8f7;        /* Węgiel 50 – jasne sekcje, kafelki */
  --line-mint: #bcc3bf;   /* linie na jasnych tłach */
  --white: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #bcc3bf;/* tekst pomocniczy na ciemnym */
  /* Stany */
  --warn: #a35f00;        /* ostrzeżenie, błąd formularza */
  --warn-soft: #fbf0dc;   /* tło komunikatu błędu, „nadchodzący” */
  --warn-dark: #7a4700;   /* tekst na --warn-soft */
  /* Spektrum z logo – tylko pasek marki (12 płatków) */
  --spectrum: linear-gradient(90deg, #0060a8 0 8.333%, #1aa6d6 0 16.666%, #00988a 0 25%, #1aa764 0 33.333%, #7bc030 0 41.666%, #bfd600 0 50%, #f2d500 0 58.333%, #f29100 0 66.666%, #d81b1b 0 75%, #c2004a 0 83.333%, #d8337a 0 91.666%, #8e1a8f 0 100%);

  --radius: 16px;         /* karta, panel */
  --radius-sm: 8px;       /* pola, małe kafelki */
  --pill: 999px;          /* przyciski, plakietki */
  --petal: 4px 4px 96px 4px;  /* „płatek”: zdjęcia w sekcjach, formularz, filtry */
  --shadow: 0 12px 32px rgba(18,22,20,.14);  /* tylko menu rozwijane i karty po najechaniu */
  --max: 1200px;          /* szerokość treści */
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 7.2vw, 104px);      /* 104 px · tablet 80 px · telefon 64 px */
  --header: 84px;
  --font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* ================= Podstawy ================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 14px); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 clamp(17px, 1.25vw, 18px)/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
/* nagłówki szeryfowe (Source Serif 4), H4 i drobne tytuły bezszeryfowe */
h1, h2, h3 { font-family: var(--serif); }
h1 { line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.2; color: var(--heading); letter-spacing: -0.01em; }
h3 { font-size: 22px; line-height: 1.3; }
h4 { line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section) 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Rytm sekcji: grafit (ciemne) ↔ jasne tła */
.dark { background: var(--dark); color: var(--on-dark); }
.dark h2, .dark h3, .dark h4 { color: var(--on-dark); }
.bg-grey { background: var(--grey); }
.bg-mint { background: var(--mint); }

/* 3 · Eyebrow */
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }

/* 4 · Nagłówek sekcji */
.head { max-width: 760px; margin-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.head p:not(.eyebrow) { color: var(--ink-soft); max-width: 680px; }
.head.center { align-items: center; }
.dark .head p:not(.eyebrow) { color: var(--on-dark-soft); }

/* 34 · Podtytuł w sekcji */
.section-sub { font-family: var(--font); margin: 56px 0 20px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--heading); }
.section-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-sub:first-child { margin-top: 0; }
.dark .section-sub::after { background: var(--dark-line); }

/* ================= 1 · Przyciski ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--pill); font: 700 16px/1.2 var(--font); text-align: center; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-navy { background: var(--dark); color: #fff; }
.btn-navy:hover { background: var(--dark-2); }
.btn-line-dark { border: 2px solid var(--brand); color: var(--heading); background: transparent; }
.btn-line-dark:hover { background: var(--brand); color: #fff; }
.btn-line { border: 2px solid #fff; color: #fff; background: transparent; }      /* obrys biały – na ciemnym tle */
.btn-line:hover { background: #fff; color: var(--heading); }

/* 2 · Link ze strzałką */
.link-arrow { color: var(--brand); font-weight: 700; text-decoration: none; }
.link-arrow:hover { color: var(--heading); }
.dark .link-arrow { color: var(--accent); }
.dark .link-arrow:hover { color: #fff; }
.more { margin-top: 32px; }

/* 5 · Plakietka z kropką */
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 16px; border-radius: var(--pill); border: 1px solid var(--accent); background: rgba(18,22,20,.4); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: var(--pill); background: var(--accent); flex: none; }

/* 6 · Tagi statusu */
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* 7 · Chipy */
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: var(--pill); background: var(--dark-2); border: 1px solid var(--dark-line); color: #fff; font-size: 15px; }

/* 8 · Lista z ptaszkami */
.ticks { margin-top: 8px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--brand); stroke-width: 2.4; }
.dark .ticks svg { color: var(--accent); }
.ticks.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px 32px; }

/* 9 · Okruszki */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; color: var(--on-dark-soft); }
.crumbs a { color: var(--on-dark-soft); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* 11 · Notatki */
.note { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.tip { margin-top: 18px; padding: 14px 20px; background: var(--mint); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.bg-mint .tip, .bg-grey .tip { background: #fff; }

/* 12 · Do uzupełnienia */
.todo { display: inline-flex; align-items: center; min-height: 30px; margin-top: 8px; padding: 0 14px; border-radius: var(--pill); background: var(--mint); color: var(--ink-soft); font-size: 14px; font-style: italic; }

/* ================= 13 · Nagłówek strony (przyklejony) ================= */
/* pasek marki: 12 kolorów z logo pod menu (6 px), na dole hero strony głównej (8 px) i na górze stopki (6 px) */
header.top::after, .hero::after, footer::before { content: ""; position: absolute; left: 0; right: 0; height: 6px; background: var(--spectrum); pointer-events: none; }
header.top::after { bottom: -6px; }
.hero::after { bottom: 0; height: 8px; z-index: 1; }
footer::before { top: 0; }
header.top { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 24px; }
.logo { display: block; height: 50px; flex: none; }
/* plik logo-biochar-europe-v2.webp jest przycięty do samego znaku i napisu (przezroczyste tło) */
.logo img { display: block; height: 100%; width: auto; max-width: none; }
.logo-text { display: none; font-weight: 700; color: var(--heading); font-size: 20px; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a.l { padding: 8px 0; text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 600; white-space: nowrap; }
.nav a.l:hover { color: var(--brand); }
.nav a.l.active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); }
.nav .btn { min-height: 48px; padding: 0 22px; white-space: nowrap; }
/* Przełącznik języka PL / EN / ES (w menu, przed „Umów spotkanie”).
   Komputer: małe menu rozwijane jak „Produkty” (14). Telefon: trzy przyciski-chipy (7) na dole menu. */
.lang-dd .dd-btn { color: var(--ink-soft); font-size: 15px; letter-spacing: .04em; }
.lang-dd .dd-menu { left: auto; right: -14px; width: 190px; }
.lang-dd .dd-menu a[aria-current] { color: var(--brand); }
.lang-switch { display: none; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--pill); text-decoration: none; color: var(--ink-soft); font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.lang-switch a:hover { color: var(--brand); }
.lang-switch a[aria-current] { color: var(--brand); background: var(--mint); border-color: var(--brand); }
.burger { display: none; width: 48px; height: 48px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--heading); align-items: center; justify-content: center; }
.burger svg { width: 26px; height: 26px; }

/* 14 · Menu „Produkty” */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; background: none; border: 0; font: 600 16px/1.6 var(--font); color: var(--ink); cursor: pointer; white-space: nowrap; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--heading); }
.dd-btn.active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); }
.dd-btn svg { width: 16px; height: 16px; transition: transform .15s; }
.dd.open .dd-btn svg, .dd:hover .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 14px); left: -24px; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: none; z-index: 70; }
.dd-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: block; }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); border-bottom: 1px solid var(--grey); text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 600; }
.dd-menu a:last-child { border-bottom: 0; }
.dd-menu a:not(.all)::before { content: ""; width: 8px; height: 8px; border-radius: var(--pill); background: var(--dark); flex: none; }
.dd-menu a:nth-child(2)::before { background: var(--accent); }
.dd-menu a:last-child::before { background: var(--brand); }
.dd-menu a:hover { background: var(--grey); color: var(--brand); }
.dd-menu a.active { color: var(--brand); }
.dd-menu a.all { justify-content: space-between; background: var(--grey); color: var(--heading); font-weight: 700; border-bottom: 0; margin-bottom: 4px; }
.dd-menu a.all::after { content: "→"; color: var(--brand); }

/* ================= 19 · Hero strony głównej ================= */
.hero { position: relative; color: #fff; padding: 0; background: var(--dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: #3a423e url("img/hero-hala-biowegiel.webp") center / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1c211f 0%, rgba(28,33,31,.94) 38%, rgba(28,33,31,.45) 78%, rgba(28,33,31,.3) 100%); }
.hero .wrap { position: relative; display: flex; flex-direction: column; gap: clamp(20px, 2vw, 28px); padding-top: clamp(96px, 9vw, 140px); padding-bottom: clamp(48px, 5vw, 72px); }
.hero h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.08; max-width: 860px; }
.hero-lead { font-size: clamp(18px, 1.5vw, 21px); color: #dce1de; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero .hero-cta .btn { min-height: 56px; padding: 0 30px; font-size: 17px; }
.hero-note { margin-top: -8px; font-size: 16px; color: var(--on-dark-soft); }   /* link dla kupujących biowęgiel – komponent 2 (link ze strzałką) */
.hero-note .link-arrow { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
.hero-note .link-arrow:hover { color: #fff; }
.pillars { margin-top: clamp(24px, 4vw, 56px); max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 40px; }
.pillars div { border-top: 1px solid rgba(255,255,255,.28); padding: 18px 0; display: flex; flex-direction: column; gap: 4px; }
.pillars strong { font-size: 18px; font-weight: 700; }
.pillars span { color: var(--on-dark-soft); font-size: 15px; line-height: 1.5; }

/* ================= 20 · Hero podstrony – grafit z zieloną poświatą ================= */
.page-hero { position: relative; color: #fff; padding: 0; background: var(--dark); overflow: hidden; }
.page-hero .hero-bg { background-color: var(--dark); }
.page-hero .hero-bg::after { background: radial-gradient(circle at 100% 0%, rgba(26,167,100,.30) 0%, rgba(26,167,100,0) 42%), linear-gradient(90deg, rgba(28,33,31,.97) 0%, rgba(28,33,31,.9) 50%, rgba(28,33,31,.72) 100%); }
.page-hero .hero-bg.plain { background-image: none; }
.page-hero .hero-bg.plain::after { background: radial-gradient(circle at 100% 0%, rgba(26,167,100,.30) 0%, rgba(26,167,100,0) 42%); }
.page-hero.deep { background: var(--dark-3); }
.page-hero.deep .hero-bg { background-color: var(--dark-3); }
.page-hero.deep .hero-bg.plain::after { background: radial-gradient(circle at 100% 0%, rgba(26,167,100,.22) 0%, rgba(26,167,100,0) 40%); }
.page-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 18px; padding-top: clamp(40px, 4vw, 56px); padding-bottom: clamp(56px, 6vw, 88px); }
.page-hero h1 { margin-top: 12px; font-size: clamp(36px, 4.2vw, 60px); max-width: 820px; }
.page-hero .hero-lead { font-size: clamp(18px, 1.4vw, 20px); color: var(--on-dark-soft); max-width: 680px; }
.page-hero .hero-cta { padding-top: 8px; }
.page-hero .badge { margin-top: 6px; font-size: 14px; min-height: 34px; padding: 4px 14px; background: transparent; }
.page-hero .pillars { margin-top: 24px; max-width: 900px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.page-hero .pillars div { border-top-color: rgba(255,255,255,.22); padding: 16px 0; gap: 2px; }
.page-hero .pillars strong { font-size: 17px; }

/* ================= 21 · Liczby + certyfikaty ================= */
.stats { padding: clamp(56px, 5vw, 72px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 10px; }
.stat strong { font-size: clamp(30px, 3.3vw, 46px); font-weight: 600; color: var(--heading); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.stat span { color: var(--ink-soft); font-size: 16px; line-height: 1.45; }
.stats-note { margin-top: 20px; color: var(--ink-soft); font-size: 15px; }
.creds { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.creds span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 16px; }
.creds svg { width: 24px; height: 24px; color: var(--brand); flex: none; }

/* ================= 22 · Karty, 24 · Siatki ================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.card h3 { color: var(--heading); }
.card p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.card .big { font-size: 56px; font-weight: 600; color: var(--brand); line-height: 1; letter-spacing: -0.02em; margin-bottom: 4px; }
.dark .card { color: var(--ink); }
.dark .card h3 { color: var(--heading); }

/* 23 · Karta-link */
a.card-link { min-height: 220px; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card-link:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); transform: translateY(-4px); }
.card-link .go { margin-top: auto; padding-top: 8px; color: var(--brand); font-weight: 700; font-size: 16px; }

/* 17 · Pasek zamykający (CTA) */
.closing { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 3.5vw, 48px); background: var(--dark); color: #fff; border-radius: var(--radius); }
.closing p { font-family: var(--serif); flex: 1 1 420px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.3; }
.dark .closing { background: var(--dark-2); }
.closing-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ================= 25 · Tekst + zdjęcie ================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.split > *, .book-grid > * { min-width: 0; }
.split.rev .media { order: 2; }
.split > div:not(.media):not(.spec-card) { display: flex; flex-direction: column; gap: 18px; }
.media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.tall { aspect-ratio: 3 / 4; }
.split .media { border-radius: var(--petal); }   /* „płatek” – jeden mocno zaokrąglony róg */
.media.wide { aspect-ratio: 4 / 3; }
.split .lead { color: var(--ink-soft); }
.dark .split .lead { color: var(--on-dark-soft); }
/* 25a · Tekst + film (wariant 25: film zamiast zdjęcia, 16:9, płatek) */
.media.video { aspect-ratio: 16 / 9; background: var(--mint); }
.media.video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: var(--pill); background: rgba(28,33,31,.85); color: #fff; font-size: 14px; font-weight: 600; pointer-events: none; }
.video-btn { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(28,33,31,.85); color: #fff; cursor: pointer; }
.video-btn:hover { background: var(--brand); }
.video-btn svg { width: 20px; height: 20px; }
a.media.zoom::after { content: "Powiększ"; position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill); background: rgba(28,33,31,.85); color: #fff; font-size: 14px; font-weight: 600; }
html[lang="en"] a.media.zoom::after { content: "Enlarge"; }
html[lang="es"] a.media.zoom::after { content: "Ampliar"; }
.mini-stats { padding-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mini-stats div { border-top: 3px solid var(--accent); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.mini-stats strong { font-size: clamp(18px, 2.4vw, 34px); font-weight: 600; line-height: 1.1; color: var(--heading); }
.mini-stats span { font-size: 14px; line-height: 1.4; color: var(--ink-soft); }

/* ================= 26 · Schemat procesu ================= */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.flow.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.flow .k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.flow h4 { font-size: 19px; color: var(--heading); }
.flow p:not(.k) { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.flow li.hot { background: var(--dark); border-color: var(--dark); }
.flow li.hot .k { color: var(--accent); }
.flow li.hot h4 { color: #fff; }
.flow li.hot p:not(.k) { color: var(--on-dark-soft); }
.bg-grey .flow li:not(.hot), .bg-mint .flow li:not(.hot) { border-color: transparent; }

/* ================= 27 · Strumienie zysku ================= */
.streams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.streams.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stream { background: var(--dark-2); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.stream .k { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.stream h3 { font-size: 24px; line-height: 1.25; color: #fff; }
.stream p:not(.k) { color: var(--on-dark-soft); font-size: 16px; line-height: 1.55; }
.stream ul { margin-top: 8px; }
.stream li { border-top: 1px solid var(--dark-line); padding: 10px 0; font-size: 16px; }
.stream ul.plain li { color: var(--on-dark-soft); }

/* ================= 28 · Dla kogo ================= */
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.who .card { gap: 14px; }
.who dl { margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 12px; font-size: 16px; line-height: 1.5; }
.who dt { font-weight: 700; color: var(--ink); }
.who dd { margin: 0; color: var(--ink-soft); }
.who dt:last-of-type, .who dd.res { border-top: 1px solid var(--line); padding-top: 10px; }
.who dt:last-of-type { color: var(--brand); }
.who dd.res { color: var(--brand); font-weight: 600; }

/* ================= 29 · Ścieżka współpracy ================= */
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: p; }
.path li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.bg-mint .path li, .bg-grey .path li { border-color: transparent; }
.path li::before { counter-increment: p; content: "0" counter(p); font-size: 48px; line-height: 1; font-weight: 600; color: var(--brand); }
.path h3 { color: var(--heading); }
.path p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }

/* ================= 30 · Kafelki ================= */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.tiles div { background: var(--grey); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.bg-grey .tiles div, .bg-mint .tiles div { background: #fff; }
.tiles strong { color: var(--heading); font-size: 18px; font-weight: 700; line-height: 1.3; }
.tiles span { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.tiles:not(:has(span)) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tiles:not(:has(span)) div { padding: 16px 18px; }
.tiles:not(:has(span)) strong { font-size: 16px; }

/* ================= 31 · Dopasowanie ================= */
.fit { margin-top: 56px; display: flex; flex-direction: column; gap: 20px; }
.fit h3 { color: var(--heading); }
.fit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fit-grid div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.fit-grid strong { color: var(--heading); font-size: 18px; line-height: 1.3; }
.fit-grid span { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }

/* ================= 32 · Certyfikaty ================= */
.cert-row { margin-top: 48px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; align-items: center; gap: 14px; }
.bg-mint .cert, .bg-grey .cert { border-color: transparent; }
.cert svg { width: 30px; height: 30px; flex: none; color: var(--brand); }
.cert strong { color: var(--heading); font-size: 16px; line-height: 1.35; }

/* ================= 33 · FAQ (rozwijane pytania), 10 · Akordeon ================= */
.faq { max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; min-height: 64px; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: linear-gradient(var(--brand), var(--brand)) center / 14px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; color: var(--ink-soft); }

/* ================= 35 · Karty produktów (bez cen) ================= */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.product { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product .media { border-radius: 0; aspect-ratio: 16 / 9; }
.product .media img { aspect-ratio: 16 / 9; }
.product .media img.img-top { object-position: top; }   /* schemat 3:2 w karcie 16:9 – przycina dół (legendę), nie górę */
.product .media.svg { display: grid; place-items: center; background: var(--dark); }
.product .media.svg svg { width: 62%; height: auto; }
.product .body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product .k { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.product h3 { font-size: 24px; line-height: 1.25; color: var(--heading); }
.product h3 a { text-decoration: none; }
.product h3 a:hover { color: var(--brand); }
.product .desc { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.figs div { background: var(--grey); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.figs strong { font-size: 18px; font-weight: 700; color: var(--heading); line-height: 1.15; }
.figs span { font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
.product details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product summary { cursor: pointer; list-style: none; min-height: 52px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16px; color: var(--heading); }
.product summary::-webkit-details-marker { display: none; }
.product summary::after { content: ""; width: 20px; height: 20px; flex: none; background: linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat; transition: transform .2s; }
.product details[open] summary::after { transform: rotate(45deg); }
.product details > :not(summary) { margin-bottom: 12px; }
.product .actions { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; gap: 10px; }
.product .actions .btn { flex: 1 1 auto; min-height: 48px; padding: 0 20px; font-size: 15px; }
.flag-tag { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: var(--pill); background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }

/* 36 · Tabela parametrów */
table.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
table.spec th, table.spec td { text-align: left; padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
table.spec th { width: 50%; padding-right: 16px; font-weight: 600; color: var(--ink); }
table.spec td { color: var(--ink); }
.product table.spec { font-size: 15px; }
.product table.spec th, .product table.spec td { padding: 8px 0; border-top-color: #f0f2f0; }
.product table.spec th { font-weight: 400; color: var(--ink-soft); }
.product table.spec td { text-align: right; color: var(--ink); font-weight: 600; }

/* 37 · Tabela modeli – przewijana w poziomie na telefonie */
.table-scroll { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: #fff; }
table.models { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
table.models th, table.models td { padding: 12px 18px; text-align: left; border-top: 1px solid var(--line); }
table.models thead th { background: var(--dark); color: #fff; font-weight: 600; border-top: 0; }
table.models tbody th, table.models td:first-child { background: var(--grey); color: var(--heading); font-weight: 600; }
table.models td { color: var(--ink-soft); }

/* 38 · Karta specyfikacji */
.spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.spec-card h3 { color: var(--heading); margin-bottom: 12px; }

/* 39 · Tryby pracy */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; margin: 4px 0; }
.modes div { background: var(--grey); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.bg-grey .modes div { background: #fff; }
.modes strong { color: var(--heading); font-size: 18px; }

/* 40 · Karta z listą i wariant „efekty” */
.list-card ul { margin-top: 8px; }
.list-card li { border-top: 1px solid var(--line); padding: 12px 0; font-size: 17px; }
.list-card.res { border: 2px solid var(--brand); background: var(--mint); }
.list-card.res h3 { color: var(--brand); }
.list-card.res li { border-top-color: #bfe6d0; color: var(--brand-dark); font-weight: 600; }

/* ================= 41–44 · Handel biowęglem ================= */
.trade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trade-col { background: var(--dark-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; color: #fff; }
.trade-col h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; color: #fff; }
.trade-col > p { color: var(--on-dark-soft); }
.trade-col ul { margin: 0 0 8px; }
.trade-col li { border-top: 1px solid var(--dark-line); padding: 10px 0; font-size: 16px; }
.trade-col li strong { display: block; }
.trade-col li span { color: var(--on-dark-soft); }
.trade-col .btn { margin-top: auto; align-self: flex-start; }
/* 42 · Parametry */
.params { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.params div { padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.params span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.params strong { font-size: 20px; font-weight: 600; color: var(--heading); }
.dark .params { border-color: var(--dark-line); }
.dark .params div { border-color: var(--dark-line); }
.dark .params span { color: var(--accent); }
.dark .params strong { color: #fff; }
/* 43 · Stopka handlu */
.trade-foot { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trade-foot .box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.trade-foot h4 { font-size: 22px; color: var(--heading); }
.trade-foot p { color: var(--ink-soft); font-size: 16px; }
.trade-foot .chip { background: var(--dark); border-color: var(--dark); min-height: 34px; padding: 0 14px; font-size: 14px; }
.dark .trade-foot .box { border-color: var(--dark-line); }
.dark .trade-foot h4 { color: #fff; }
.dark .trade-foot p { color: var(--on-dark-soft); }
.dark .trade-foot .chip { background: var(--dark-2); border-color: var(--dark-line); }
/* 44 · Zastosowania */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.use { padding: 24px 28px 24px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.use:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.bg-mint .uses, .bg-mint .use, .bg-grey .uses, .bg-grey .use { border-color: var(--line-mint); }
.use h3 { color: var(--heading); font-size: 20px; }
.use p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }

/* ================= 45–48 · Biowęgiel ogrodniczy ================= */
.garden-hero .media { aspect-ratio: 16 / 10; }
.benefits { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.benefit { border-top: 3px solid var(--brand); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.benefit h3 { color: var(--heading); }
.benefit p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.garden-details { margin-top: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.howto { display: flex; flex-direction: column; gap: 18px; counter-reset: h; }
.howto li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.howto li::before { counter-increment: h; content: counter(h); width: 40px; height: 40px; border-radius: var(--pill); background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.howto strong { display: block; padding-top: 6px; color: var(--heading); font-size: 18px; }
.howto span { color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.pack { background: #fff; border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.pack img { width: 120px; height: auto; border-radius: var(--radius-sm); }
.pack h3 { color: var(--heading); font-size: 20px; margin-bottom: 4px; }
.pack p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.b2b { margin-top: 48px; background: var(--dark); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.b2b > div:first-child { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.b2b h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; color: #fff; }
.b2b > div > p { color: var(--on-dark-soft); }
.b2b ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.b2b li { border-top: 1px solid var(--dark-line); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.b2b li strong { font-size: 17px; }
.b2b li span { color: var(--on-dark-soft); font-size: 15px; line-height: 1.5; }

/* ================= 49–52 · Wyszukiwarka dotacji (dotacje.html) ================= */
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--petal); padding: clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 28px) clamp(28px, 4vw, 48px); }
.filter-k { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.filters .topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.filters .topics label { flex: 1 1 auto; justify-content: center; min-height: 50px; padding: 0 12px; border-color: var(--line-field); border-radius: var(--radius-sm); }
.filters .topics label:has(input:checked) { padding: 0 11px; }
.filter-check { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 600; cursor: pointer; }
.filter-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.results-count { margin: 24px 0 16px; font-size: 17px; color: var(--ink-soft); }
.results-count b, .results-count strong { color: var(--heading); }
.grants { display: flex; flex-direction: column; gap: 16px; }
.grant { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 28px); }
.grant.st-otwarty { border-left-color: var(--brand); }
.grant.st-nadchodzacy { border-left-color: var(--accent); }
.grant.st-zakonczony { opacity: .7; }
.grant-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.grant .tag.st { border: 0; background: var(--line); color: var(--ink-soft); }
.st-otwarty .tag.st { background: var(--brand); color: #fff; }
.st-nadchodzacy .tag.st { background: var(--warn-soft); color: var(--warn-dark); }
.grant h3 { color: var(--heading); }
.grant-op { margin-top: -10px; font-size: 15px; color: var(--ink-soft); }
.grant dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; font-size: 16px; }
.grant dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.grant dd { margin: 0; color: var(--ink); }
.grant-note { padding: 10px 14px; background: var(--warn-soft); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.5; color: var(--warn-dark); }
.grant-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.grant-actions .btn { min-height: 48px; padding: 0 22px; font-size: 15px; }
.grants-note { margin-top: 24px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); max-width: 860px; }

/* ================= 53–54 · Artykuły ================= */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.date { font-size: 14px; font-weight: 700; color: var(--brand); }
.news .card h3 { font-size: 21px; }
.card > .date:first-child { margin-top: 0; }
.art-list { border-top: 1px solid var(--line); }
.art-list li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.art-list time { padding-top: 3px; font-size: 15px; font-weight: 700; color: var(--brand); }
.art-list h3 { font-size: 20px; line-height: 1.35; color: var(--heading); }
.art-list p { margin-top: 4px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.art-list .tag { margin-bottom: 8px; }

/* ================= 55–59 · O nas, zespół, partnerzy, kontakt ================= */
.about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.about-text p { color: var(--ink-soft); }
.about-text p + p { margin-top: 14px; }
.about h3 { color: var(--heading); margin-top: 28px; margin-bottom: 10px; }
.about h3:first-child { margin-top: 0; }
.about-stats { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-stats > div { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.about-stats strong { font-size: clamp(44px, 4.4vw, 60px); font-weight: 600; color: var(--brand); line-height: 1; }
.about-stats span { color: var(--ink-soft); font-size: 16px; }
.values { margin-top: 56px; }
.team-title { margin-top: 72px; }
.team { margin-top: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.person { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.avatar { width: 72px; height: 72px; border-radius: var(--pill); background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 24px; }
.person h4 { font-family: var(--serif); margin-top: 6px; color: var(--heading); font-size: 20px; }
.person .role { color: var(--brand); font-weight: 700; font-size: 15px; }
.person p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.partners { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.contact-tiles .card { gap: 8px; }
.contact-tiles svg { width: 28px; height: 28px; color: var(--brand); }
.contact-tiles h3 { font-family: var(--font); font-weight: 700; margin-top: 6px; font-size: 18px; color: var(--heading); }
.contact-tiles a, .contact-tiles .val { color: var(--ink); font-size: 16px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-tiles .val { text-decoration: none; }
.contact-tiles a:hover { color: var(--brand); }
.contact-tiles p { font-size: 16px; }

/* ================= 16 · Formularz „Umów spotkanie” ================= */
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.book-grid > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.book-lead { color: var(--on-dark-soft); }
.direct { margin-top: 18px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 4px; }
.direct span { color: var(--on-dark-soft); font-size: 15px; }
.direct a { display: flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 600; font-size: 20px; }
.direct a:hover { color: var(--accent); }
.direct .addr { margin-top: 10px; color: var(--on-dark-soft); font-size: 16px; line-height: 1.5; }
form.card-form { background: #fff; color: var(--ink); border-radius: var(--petal); padding: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: end; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 15px; font-weight: 600; }
label .opt { font-weight: 400; color: var(--ink-soft); }
input, select, textarea { width: 100%; min-height: 50px; font: 400 17px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line-field); border-radius: var(--radius-sm); padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 110px; line-height: 1.5; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,167,100,.35); }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.topics label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; cursor: pointer; user-select: none; }
.topics input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--brand); }
.topics label:has(input:checked) { border: 2px solid var(--brand); padding: 7px 13px; background: var(--mint); }
form .btn[type="submit"] { width: 100%; min-height: 58px; font-size: 18px; }
.form-next { grid-column: 1 / -1; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--ink); counter-reset: n; }
.form-next li { display: flex; gap: 12px; }
.form-next li::before { counter-increment: n; content: counter(n); width: 26px; height: 26px; flex: none; border-radius: var(--pill); background: var(--dark); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.form-foot { grid-column: 1 / -1; font-size: 14px; color: var(--ink-soft); }
/* komunikaty: „Gotowe” i „Coś poszło nie tak” */
.form-msg { grid-column: 1 / -1; display: none; padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.form-msg.ok { display: block; background: var(--mint); border-left: 4px solid var(--brand); }
.form-msg.err { display: block; background: var(--warn-soft); border-left: 4px solid var(--warn); color: var(--warn-dark); font-weight: 600; }
.form-msg p + p { margin-top: 6px; }
.form-msg .btn-copy { width: auto; min-height: 44px; margin-top: 12px; padding: 0 18px; font-size: 15px; }
/* ukryte pole-pułapka na automaty wysyłające spam (dodaje je skrypt) */
.pole-pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* przycisk w trakcie wysyłania */
.card-form button[type="submit"]:disabled { opacity: .7; cursor: wait; }

/* ================= 18 · Stopka ================= */
footer { position: relative; background: var(--dark-3); color: var(--on-dark-soft); padding: clamp(56px, 5.5vw, 80px) 0 0; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px 32px; }
.foot-brand strong { display: block; margin-bottom: 12px; color: #fff; font-size: 22px; font-weight: 700; }
.foot-brand p { font-size: 15px; line-height: 1.6; }
.foot-grid h4 { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.foot-grid li { padding: 8px 0; line-height: 1.5; }
.foot-grid a { display: inline-block; color: #fff; text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-bottom { margin-top: 56px; padding: 22px 0 30px; border-top: 1px solid var(--dark-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.foot-bottom a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-bottom a:hover { color: var(--accent); }

/* ================= Responsywność: 1100 · 960 · 680 px ================= */
/* Menu z 8 pozycjami na węższych ekranach komputerów: ciaśniej, bez łamania napisów */
@media (min-width: 1101px) and (max-width: 1239px) {
  .nav { gap: 14px; }
  .nav a.l, .dd-btn { font-size: 15px; }
  .nav .btn { padding: 0 16px; font-size: 15px; }
  .logo { height: 44px; }
}

/* 15 · Menu na telefonie i tablecie (hamburger) */
@media (max-width: 1100px) {
  :root { --header: 64px; }
  /* bez rozmycia: inaczej panel menu (position: fixed) zamyka się w wysokości paska */
  header.top { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  header.top .wrap { padding-right: 8px; }
  .logo { height: 42px; }
  .burger { display: inline-flex; }
  .nav { display: none; }
  .nav.open { display: flex; position: fixed; top: calc(var(--header) + 6px); left: 0; right: 0; bottom: 0; z-index: 59; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 32px; background: #fff; overflow-y: auto; border-top: 1px solid var(--line); }
  .nav.open .btn { order: -1; display: flex; width: 100%; min-height: 52px; margin-bottom: 8px; font-size: 17px; }
  .nav.open a.l { display: flex; align-items: center; min-height: 56px; padding: 0; border-bottom: 1px solid var(--line); font-size: 19px; box-shadow: none; }
  .nav.open a.l:last-of-type { border-bottom: 0; }
  .nav.open .dd { border-bottom: 1px solid var(--line); }
  .nav.open .dd-btn { width: 100%; justify-content: space-between; min-height: 56px; padding: 0; font-size: 19px; box-shadow: none; }
  .nav.open .dd-btn svg { width: 20px; height: 20px; }
  .nav.open .dd:hover .dd-btn svg { transform: none; }
  .nav.open .dd.open .dd-btn svg { transform: rotate(180deg); }
  .nav.open .dd-menu, .nav.open .dd:hover .dd-menu, .nav.open .dd:focus-within .dd-menu { display: none; position: static; width: auto; margin: 0 0 12px; padding: 0 0 12px 14px; border: 0; border-left: 2px solid var(--accent); border-radius: 0; box-shadow: none; }
  .nav.open .dd.open .dd-menu { display: block; }
  .nav.open .lang-dd { display: none; }
  .nav.open .lang-switch { display: flex; order: 10; gap: 8px; margin-top: 20px; }
  .nav.open .dd-menu::before { display: none; }
  .nav.open .dd-menu a { min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 16px; font-weight: 400; }
  .nav.open .dd-menu a::before { display: none; }
  .nav.open .dd-menu a.all { justify-content: flex-start; gap: 6px; margin: 0; font-weight: 700; color: var(--heading); }
  .nav.open .dd-menu a.active { color: var(--brand); font-weight: 600; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cert-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team, .contact-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .split, .about, .book-grid, .garden-details, .b2b, .trade, .trade-foot, .partners { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
  .media.tall { aspect-ratio: 4 / 3; }
  .products, .who, .news { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .streams, .benefits, .path, .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use, .use:not(:nth-child(3n+1)) { padding: 24px 28px 24px 0; border-left: 0; }
  .use:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .bg-mint .use:nth-child(even), .bg-grey .use:nth-child(even) { border-left-color: var(--line-mint); }
  .stats-grid, .stats-grid.three, .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(-n+2), .about-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .params { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters .filter:first-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news .card-link { min-height: 0; }
}

@media (max-width: 680px) {
  :root { --petal: 4px 4px 56px 4px; }
  .grid-3, .grid-4, .streams, .streams.two, .benefits, .path, .uses, .flow, .flow.five, .fit-grid, .team, .contact-tiles, .b2b ul, .params, .filters, .topics, .foot-grid, form.card-form { grid-template-columns: 1fr; }  .use, .use:not(:nth-child(3n+1)), .use:nth-child(even) { padding: 22px 0; border-left: 0; }
  .who dl { grid-template-columns: 1fr; gap: 2px; }
  .who dd + dt { margin-top: 8px; }
  .who dt:last-of-type { border-top: 1px solid var(--line); padding-top: 10px; }
  .who dd.res { border-top: 0; padding-top: 0; }
  .hero-cta .btn { width: 100%; }
  .closing .btn, .closing-btns { width: 100%; }
  .product .actions .btn { flex: 1 1 100%; }
  .figs strong { font-size: 16px; }
  .figs div { padding: 10px; }
  .mini-stats { gap: 12px; }
  .cert-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cert { padding: 16px; gap: 10px; }
  .cert:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tiles:not(:has(span)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-list li { grid-template-columns: 1fr; gap: 6px; }
  .pack { grid-template-columns: 1fr; }
  .grant dl { grid-template-columns: 1fr; gap: 2px; }
  .grant dd + dt { margin-top: 8px; }
  .grant-actions .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .faq summary { font-size: 18px; }
  .table-scroll { background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) left / 40px 100% no-repeat local, linear-gradient(270deg, #fff 30%, rgba(255,255,255,0)) right / 40px 100% no-repeat local, radial-gradient(farthest-side at 100% 50%, rgba(28,33,31,.18), transparent) right / 14px 100% no-repeat scroll, #fff; }
  .foot-grid { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
