/* ==========================================================================
   SEW-POL — arkusz główny
   Zasada projektu: ostre kąty wszędzie (border-radius: 0). Okręgi występują
   wyłącznie jako elementy grafiki SVG (logo, pinezka, pieczęcie).
   ========================================================================== */

/* ---------- 1. Tokeny ---------- */
:root {
  /* kolory */
  --green-900: #13261C;   /* ciemna zieleń: tekst nagłówków, ikony */
  --bg-dark: #102018;     /* JEDYNE tło ciemnozielonych sekcji: nagłówek, menu mobilne, Dla biznesu, FAQ, okno */
  --green-950: #0E1C14;   /* stopka */
  --cream: #F4EFE4;       /* jasne tło */
  --cream-light: #FBF8F1; /* karty, sekcje naprzemienne */
  --paper: #FBFAF5;       /* tło sekcji Oferta */
  --gold: #C9A66B;
  --gold-dark: #7A5C2C;   /* tekst akcentu na jasnym */
  --gold-light: #E2C892;  /* hover */
  --green-accent: #4C7536;
  --green-btn: #1F3B2A;
  --leaf: #8DB86B;
  --text: #3B4038;
  --muted: #6B6F64;
  --line: #DCD3BF;
  --text-on-dark: #B9C2B5;
  --line-on-dark: rgba(201, 166, 107, .22);

  /* typografia */
  --f-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* układ */
  --header-h: 84px;
  --utility-h: 36px;  /* pasek nad nagłówkiem (przyklejony razem z menu); 0 poniżej 1024 px */
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --section-y: clamp(60px, 7vw, 96px);

  /* stan */
  --focus: var(--gold-dark);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Baza ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0; /* ostre kąty w całym projekcie */
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--utility-h));
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--green-900);
}

p { margin: 0; }

a { color: inherit; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.on-dark { --focus: var(--gold-light); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0; left: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--green-900);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-120%);
}
.skip-link:focus { transform: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* ---------- 3. Typografia pomocnicza ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow { align-items: flex-start; }
.eyebrow::before {
  content: "";
  flex: none;
  margin-top: .7em;
  width: 32px;
  height: 1px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--gold); }

.mono {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- 4. Placeholder zdjęcia .ph ----------
   Jasne pole, cienka ramka, przekreślenie X (dwie przekątne na całą
   wielkość pola) i etykieta. Proporcje przez --ar, np. style="--ar: 4/5".
   Po podmianie na <img> zachowaj tę samą proporcję (brak CLS). */
.ph {
  --ph-bg: #EFE9DC;
  --ph-line: #CFC4AC;
  --ph-label-bg: var(--cream-light);
  --ph-label: var(--muted);
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--ar, 4 / 3);
  margin: 0;
  overflow: hidden;
  background: var(--ph-bg);
  border: 1px solid var(--ph-line);
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top right,
      transparent calc(50% - .75px), var(--ph-line) calc(50% - .75px),
      var(--ph-line) calc(50% + .75px), transparent calc(50% + .75px)),
    linear-gradient(to bottom right,
      transparent calc(50% - .75px), var(--ph-line) calc(50% - .75px),
      var(--ph-line) calc(50% + .75px), transparent calc(50% + .75px));
  transition: transform 2.4s var(--ease);
}
.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.4s var(--ease);
}
.ph__label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  max-width: calc(100% - 32px);
  padding: 7px 12px;
  transform: translate(-50%, -50%);
  background: var(--ph-label-bg);
  border: 1px solid var(--ph-line);
  color: var(--ph-label);
  font-family: var(--f-mono);
  font-size: .6875rem;
  line-height: 1.4;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.ph--dark {
  --ph-bg: var(--bg-dark);
  --ph-line: rgba(201, 166, 107, .32);
  --ph-label-bg: var(--bg-dark);
  --ph-label: var(--text-on-dark);
}
/* wolny zoom zdjęcia przy najechaniu na nadrzędny element */
.zoom-host:hover .ph::before,
.zoom-host:hover .ph > img { transform: scale(1.045); }

/* ---------- 5. Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  font-family: var(--f-sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn__arrow {
  display: inline-block;
  transition: transform .35s var(--ease);
}
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translateX(6px); }

/* główny: zielony z kremowym tekstem */
.btn--primary { background: var(--green-btn); color: var(--cream); }
.btn--primary:hover { background: var(--green-900); }

/* na ciemnym tle: złoty */
.btn--gold { background: var(--gold); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-light); }

/* drugi: sam kontur */
.btn--outline { border-color: currentColor; color: var(--green-btn); }
.btn--outline:hover { background: var(--green-btn); border-color: var(--green-btn); color: var(--cream); }
.on-dark .btn--outline { color: var(--cream); border-color: rgba(244, 239, 228, .45); }
.on-dark .btn--outline:hover { background: var(--cream); border-color: var(--cream); color: var(--green-900); }

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .8125rem; }

/* ---------- 6. Przełącznik języka ---------- */
.lang {
  display: inline-flex;
  border: 1px solid rgba(244, 239, 228, .3);
}
.lang__btn {
  min-width: 40px;
  min-height: 36px;
  padding: 0 10px;
  font-family: var(--f-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--cream);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lang__btn + .lang__btn { border-left: 1px solid rgba(244, 239, 228, .3); }
.lang__btn:hover { color: var(--gold-light); }
.lang__btn[aria-pressed="true"] { background: var(--cream); color: var(--green-900); }

/* ---------- 7. Nagłówek ---------- */
/* pas pod „notchem” telefonu (env = 0 na zwykłych ekranach) */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 51;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg-dark);
}

.site-header {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + var(--utility-h));
  z-index: 50;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--line-on-dark);
  color: var(--cream);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  text-decoration: none;
}
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.brand__tag {
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: .5625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav { justify-self: center; }
.nav__list {
  display: flex;
  gap: clamp(20px, 2.6vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: rgba(244, 239, 228, .88);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease);
}
.nav__link:hover,
.nav__link[aria-current] { color: var(--cream); }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current]::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  color: var(--cream);
}
.menu-toggle__bar {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle__bar:nth-child(1) { top: 16px; }
.menu-toggle__bar:nth-child(2) { top: 21.5px; }
.menu-toggle__bar:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* pasek „wkrótce” dla EN/DE */
.lang-notice {
  border-top: 1px solid var(--line-on-dark);
  background: var(--green-950);
  color: var(--gold-light);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lang-notice p { padding: 10px 0; text-align: center; }

/* menu mobilne — pełny ekran */
.mnav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 40px var(--gutter) 32px;
  background: var(--bg-dark);
  color: var(--cream);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mnav[hidden] { display: none; }
.mnav.is-open { opacity: 1; transform: none; }
.mnav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mnav;
}
.mnav__list li { border-bottom: 1px solid var(--line-on-dark); counter-increment: mnav; }
.mnav__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  color: var(--cream);
  font-family: var(--f-serif);
  font-size: clamp(1.875rem, 7vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}
.mnav__link::before {
  content: counter(mnav, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--gold);
}
.mnav__link:hover { color: var(--gold-light); }
.mnav__foot {
  display: grid;
  gap: 24px;
  margin-top: auto;
  padding-top: 40px;
}
.mnav__contact {
  display: grid;
  gap: 6px;
  color: var(--text-on-dark);
  font-size: .9375rem;
}
.mnav__contact a { text-decoration: none; }
.mnav__contact a:hover { color: var(--gold-light); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  /* kolumna tekstu ma stałą szerokość (margines + 620 px), zdjęcie zajmuje całą resztę szerokości
     — zaczyna się tuż za tekstem, bez pustego pasa; min. 40% szerokości ekranu */
  grid-template-columns: minmax(0, calc(max(var(--gutter), (100vw - var(--maxw)) / 2) + 620px)) minmax(min(40vw, 460px), 1fr);
}
@media (min-width: 1024px) {
  /* całe hero na pierwszym ekranie: wysokość zdjęcia = okno minus pasek i menu */
  .hero .hero__photo {
    height: clamp(560px, calc(100svh - var(--header-h) - var(--utility-h) - 2px), 960px);
    aspect-ratio: auto;
  }
}
.hero__text {
  align-self: end; /* przyciski kończą się tuż nad dolną krawędzią zdjęcia */
  max-width: 620px;
  padding: clamp(28px, 3.5vw, 48px) 48px clamp(28px, 3.5vw, 44px) 0;
  margin-left: max(var(--gutter), (100vw - var(--maxw)) / 2);
}
.hero__title {
  font-size: clamp(2.75rem, min(5.2vw, 8.2svh), 4.5rem); /* ~72 px na desktopie, mniej na niskich ekranach */
  line-height: 1.02;
  text-wrap: balance;
}
.hero__title em {
  display: block;
  font-style: italic;
  color: var(--green-accent);
}
.hero__lead {
  max-width: 520px;
  margin-top: 28px;
  font-size: 1.0625rem;
  color: var(--text);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.hero__facts li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero__media { position: relative; align-self: start; }
.hero__photo {
  --ar: 4 / 5;
  border: 0;
  /* ostry ścięty róg zamiast zaokrągleń */
  clip-path: polygon(88px 0, 100% 0, 100% 100%, 0 100%, 0 88px);
}
.hero__photo::before { animation: hero-settle 2.6s var(--ease) both; }

@keyframes hero-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero .hero__map {
  position: absolute;
  /* mapa nachodzi na lewą krawędź zdjęcia, ale nie na blok tekstu */
  left: -24px;
  bottom: 40px;
  z-index: 2;
  width: clamp(300px, 25vw, 380px);
}

/* ---------- 9. Mapa Polski ---------- */
.map {
  position: relative;
  width: 100%;
}
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__land {
  fill: var(--green-accent);
  fill-opacity: .86;
  stroke: var(--green-btn);
  stroke-width: 2;
  stroke-linejoin: round;
}
.map__city-dot {
  fill: var(--green-900);
  stroke: var(--cream);
  stroke-width: 2.5;
}
.map__pulse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.map__pin-body { fill: var(--gold); stroke: var(--green-900); stroke-width: 2; }
.map__pin-dot { fill: var(--green-900); }

.map__city,
.map__bubble {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
}
.map__city {
  transform: translate(10px, -50%);
  font-family: var(--f-mono);
  font-size: .625rem;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 0 6px rgba(19, 38, 28, .55);
  white-space: nowrap;
}
.map__city--below { transform: translate(-50%, 9px); }
.map__bubble {
  /* nad pinezką: wysokość pinezki ≈ 9% wysokości mapy */
  top: calc((var(--y) - 9.5) * 1%);
  transform: translate(-50%, -100%);
  display: grid;
  gap: 3px;
  padding: 10px 14px;
  background: var(--green-900);
  color: var(--cream);
  white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(14, 28, 20, .55);
}
.map__bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: var(--green-900);
  transform: translate(-50%, -50%) rotate(45deg);
}
.map__bubble-title {
  font-family: var(--f-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.map__bubble-text { font-size: .75rem; color: var(--text-on-dark); }

/* animacja mapy: tylko gdy działa JS (bez JS mapa jest od razu widoczna) */
.js .map .map__land {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill-opacity: 0;
}
.js .map .map__city-dot,
.js .map .map__city,
.js .map .map__pin-drop,
.js .map .map__bubble { opacity: 0; }

.js .map.is-inview .map__land {
  animation:
    map-draw 1.8s var(--ease) forwards,
    map-fill 1s var(--ease) 1.2s forwards;
}
.js .map.is-inview .map__city-dot,
.js .map.is-inview .map__city { animation: fade-in .6s var(--ease) 1.5s forwards; }
.js .map.is-inview .map__pin-drop { animation: pin-drop .8s cubic-bezier(.3, 1.4, .5, 1) 1.8s forwards; }
.js .map.is-inview .map__pulse { animation: pin-pulse 2.8s ease-out 2.5s infinite; }
.js .map.is-inview .map__pulse--2 { animation-delay: 3.9s; }
.js .map.is-inview .map__bubble { animation: bubble-in .6s var(--ease) 2.4s forwards; }

@keyframes map-draw { to { stroke-dashoffset: 0; } }
@keyframes map-fill { to { fill-opacity: .86; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes pin-drop {
  0% { opacity: 0; transform: translateY(-70px); }
  40% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes pin-pulse {
  0% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(4.2); }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translate(-50%, calc(-100% + 8px)); }
  to { opacity: 1; transform: translate(-50%, -100%); }
}

/* ---------- 10. Wejścia sekcji przy scrollu ----------
   Tylko gdy przeglądarka wspiera animation-timeline: view().
   Fallback: treść jest po prostu widoczna (nic nie jest ukryte). */
@supports (animation-timeline: view()) {
  .js-inview:not(.map):not(.js-inview--custom) {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 5% entry 55%;
  }
  .numbers.js-inview { animation-name: reveal-rise; animation-range: entry 0% entry 100%; }
}
/* fallback bez view(): klasa .is-inview z IntersectionObserver (js/main.js) */
@supports not (animation-timeline: view()) {
  .js .js-inview:not(.map):not(.js-inview--custom) {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
  }
  .js .js-inview.is-inview:not(.map):not(.js-inview--custom) { opacity: 1; transform: none; }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}
@keyframes reveal-rise {
  from { opacity: .4; transform: translateY(140px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 10b. Responsywność nagłówka i hero ---------- */
@media (max-width: 1180px) {
  .nav__list { gap: 22px; }
  .hero .hero__map { width: 320px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .nav,
  .site-header__actions .btn { display: none; }
  .menu-toggle { display: block; }
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .site-header__actions { grid-column: 3; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.375rem; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__text {
    max-width: 680px;
    margin-inline: var(--gutter);
    padding: 64px 0 40px;
  }
  .hero__media { display: contents; }
  .hero .hero__map {
    position: relative;
    left: auto;
    bottom: auto;
    order: 1;
    width: min(100% - 2 * var(--gutter), 380px);
    margin: 72px var(--gutter) 56px; /* miejsce na dymek nad pinezką */
  }
  .hero__photo {
    order: 2;
    --ar: 4 / 3;
    clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%, 0 64px);
  }
}

@media (max-width: 600px) {
  .site-header__actions .lang { display: none; }
  .hero__photo { --ar: 4 / 5; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
}

/* ---------- 11. Sekcje wspólne ---------- */
.section { padding-block: var(--section-y); }
.section-head {
  max-width: 780px;
  margin-bottom: clamp(30px, 3.4vw, 48px);
}
.section-title {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  text-wrap: balance;
}
.on-dark .section-title { color: var(--cream); }
.section-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 3.4vw, 44px);
}
.eyebrow--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--green-btn);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
}
.link-arrow > span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}
.link-arrow:hover .btn__arrow,
.link-arrow:focus-visible .btn__arrow { transform: translateX(6px); }

/* ---------- 12. Oferta — zdjęcie | indeks | zdjęcie (35 / 30 / 35) ---------- */
.offer {
  padding-block: clamp(56px, 6vw, 80px);
  background: var(--paper);
}
.offer__grid {
  display: grid;
  grid-template-columns: minmax(0, 35fr) minmax(0, 30fr) minmax(0, 35fr);
  grid-template-areas: "p1 idx p2";
  gap: 48px;
  align-items: center;
}
.offer__photo { height: 620px; aspect-ratio: auto; }
.offer__photo--1 { grid-area: p1; }
.offer__photo--2 { grid-area: p2; }
.offer__index { grid-area: idx; }

.offer__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--green-accent);
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.offer__label::before { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; }

.offer__list { margin: 0 0 40px; padding: 0; list-style: none; }
.offer__item { padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
.offer__link {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--green-btn);
  font-family: var(--f-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem); /* ~44 px */
  font-weight: 500;
  line-height: 1.05;
  text-decoration: none;
  transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.offer__sup {
  position: relative;
  top: .45em;
  color: var(--green-accent);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  line-height: 1;
}
.offer__items {
  margin-top: 6px;
  color: var(--muted);
  font-size: .90625rem; /* 14,5 px */
  line-height: 2;
}

/* strzałki: pod Kiszonkami w lewo (do lewego zdjęcia), pod Świeżymi warzywami w prawo */
.offer__arrow { display: flex; margin-top: 10px; color: var(--green-accent); }
.offer__arrow--right { justify-content: flex-end; }
.offer__arrow svg {
  width: 72px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform .4s var(--ease);
}

/* obie kategorie w tym samym kolorze; hover/focus: kolor + lekkie przesunięcie */
.offer__link:hover,
.offer__link:focus-visible { padding-left: 14px; color: var(--green-accent); }
@media (min-width: 1024px) {
  .offer__item--1:has(.offer__link:is(:hover, :focus-visible)) .offer__arrow svg { transform: translateX(-8px); }
  .offer__item--2:has(.offer__link:is(:hover, :focus-visible)) .offer__arrow svg { transform: translateX(8px); }
}
/* wskazane zdjęcie powoli się przybliża */
.offer__grid:has(.offer__item--1 .offer__link:is(:hover, :focus-visible)) .offer__photo--1::before,
.offer__grid:has(.offer__item--2 .offer__link:is(:hover, :focus-visible)) .offer__photo--2::before { transform: scale(1.045); }

/* ---------- 13. Pasy „okno” (zdjęcie stoi w miejscu) ----------
   Warstwa .window__ph jest przypięta do okna przeglądarki (position: fixed),
   a sekcja z clip-path: inset(0) odsłania ją jak okno — strona przesuwa się nad
   zdjęciem. Ten sam efekt da background-attachment: fixed po podmianie na zdjęcie.
   Na urządzeniach dotykowych i wąskich ekranach: zwykłe tło. */
.window {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  clip-path: inset(0);
  isolation: isolate;
  background: var(--bg-dark);
}
.window__ph {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: auto;
  aspect-ratio: auto;
  border: 0;
}
.window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.window--green::after { background: rgba(16, 32, 24, .58); } /* = --bg-dark */
.window__label {
  top: auto;
  left: var(--gutter);
  bottom: 24px;
  transform: none;
}
.window__label--right { left: auto; right: var(--gutter); }
.window--gold .window__label {
  background: #3E3220;
  border-color: rgba(251, 248, 241, .3);
  color: var(--cream);
}
.window--green .window__label {
  background: var(--bg-dark);
  border-color: rgba(201, 166, 107, .32);
  color: var(--text-on-dark);
}

.window__content {
  align-self: center;
  padding-block: 88px;
  text-align: center;
}
.window__title {
  color: var(--cream);
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* ~72 px */
  line-height: 1.05;
  text-wrap: balance;
}
.window__title span:first-child { display: block; }
.window__title em { font-style: italic; color: var(--gold); }

.ph--gold {
  --ph-bg: linear-gradient(160deg, #D9CBA6 0%, #8A7046 55%, #3E3220 100%);
  --ph-line: rgba(251, 248, 241, .34);
  --ph-label-bg: #3E3220;
  --ph-label: var(--cream);
}
.window--gold { min-height: 560px; }
.window--gold::after {
  /* nakładka w złoto-brązowej tonacji — zadziała też na przyszłym zdjęciu */
  background: linear-gradient(160deg, #D9CBA6 0%, #8A7046 55%, #3E3220 100%);
  mix-blend-mode: multiply;
  opacity: .5;
}
.window__inner {
  display: flex;
  align-items: flex-end;
  min-height: 560px;
}

.numbers {
  width: 100%;
  max-width: 560px;
  padding: clamp(32px, 4vw, 48px);
  background: var(--cream);
}
.numbers .eyebrow { margin-bottom: 28px; font-family: var(--f-mono); }
.numbers__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
.numbers__item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.numbers__value {
  color: var(--green-900);
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 4vw, 3.25rem); /* ~52 px */
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.numbers__item dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- 14. O nas ---------- */
.about { background: var(--cream); overflow: hidden; }
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}
.about__photo { --ar: 1 / 1; grid-column: 1 / span 7; grid-row: 1; }
.about__photo::before { transition-duration: 3s; }
.about__card {
  position: relative;
  z-index: 1;
  grid-column: 8 / span 5;
  grid-row: 1;
  margin-top: clamp(56px, 6vw, 84px); /* karta opuszczona, a jej dół wyraźnie nad dolną krawędzią zdjęcia */
  margin-left: -120px; /* karta nachodzi na zdjęcie */
  padding: 44px 40px;
  background: var(--cream-light); /* jaśniejsza od sekcji (--cream) */
  border-top: 2px solid var(--gold);
  box-shadow: 0 32px 70px -36px rgba(18, 28, 46, .38);
}
.about__card .section-title { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.about__text { margin-top: 20px; }
.about__line:last-child { margin-top: 36px; }

/* ruch: karta wjeżdża szybciej niż przewijanie (lekki parallax),
   zdjęcie powoli się oddala, wiersze tekstu wchodzą po kolei */
@supports (animation-timeline: view()) {
  .about__photo { view-timeline-name: --about-photo; }
  .about__photo::before {
    animation: ph-zoom linear both;
    animation-timeline: --about-photo;
    animation-range: entry 0% cover 70%;
  }
  .about__card {
    view-timeline-name: --about-card;
    animation: about-card linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
  }
  .about__line {
    animation: reveal-up linear both;
    animation-timeline: --about-card;
    animation-range: entry calc(15% + var(--i) * 9%) entry calc(70% + var(--i) * 9%);
  }
}
@supports not (animation-timeline: view()) {
  .js .about__card { transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
  .js .about__card:not(.is-inview) { opacity: 0; transform: translateY(80px); }
  .js .about__line {
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(250ms + var(--i) * 110ms);
  }
  .js .about__card:not(.is-inview) .about__line { opacity: 0; transform: translateY(20px); }
  .js .about__photo:not(.is-inview)::before { transform: scale(1.06); }
}
@keyframes ph-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
@keyframes about-card {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 15. Dla biznesu (układ wersji 3) ---------- */
.biz {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 7vw, 96px);
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.biz__jar {
  position: absolute;
  top: 48px;
  right: max(24px, 5vw);
  width: clamp(140px, 16vw, 220px);
  height: auto;
  color: var(--gold);
  opacity: .08;
  pointer-events: none;
}
.biz__grid {
  position: relative;
  display: flex;
  gap: 96px;
  align-items: flex-start;
}
.biz__grid > * { flex: 1; min-width: 0; }
.chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 32px;
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.chapter__line { width: 56px; height: 1px; background: currentColor; }
.biz__title {
  color: var(--cream);
  font-size: clamp(2.75rem, 5.2vw, 4.5rem); /* ~72 px */
  line-height: 1;
}
.biz__title > * { display: block; }
.biz__title em { font-style: italic; color: var(--gold); }
.biz__lead {
  max-width: 440px;
  margin-top: 32px;
  color: #CBD2C6;
  font-size: 1.0625rem;
}
.biz__intro-col .btn { margin-top: 40px; }
.biz__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(201, 166, 107, .35);
}
.biz__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 30px 0;
  border-bottom: 1px solid rgba(201, 166, 107, .35);
}
.biz__roman {
  color: var(--gold);
  font-family: var(--f-serif);
  font-size: 1.875rem; /* jak .biz__name */
  font-weight: 500;
  line-height: 1.15;
}
.biz__name {
  margin: 0 0 8px;
  color: var(--cream);
  font-size: 1.875rem; /* 30 px */
  line-height: 1.15;
}
.biz__row p { color: var(--text-on-dark); font-size: .9375rem; }

/* ---------- 16. Certyfikaty i referencje (układ wersji 4) ---------- */
.refs {
  padding-block: clamp(64px, 7vw, 96px) clamp(56px, 6vw, 80px);
  background: var(--cream);
}
.refs__grid { display: flex; gap: 80px; align-items: flex-start; }
.refs__intro { flex: .8; min-width: 0; }
.refs__right { flex: 1; min-width: 0; }
.refs__label {
  margin: 0 0 28px;
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.refs__title {
  color: var(--green-900);
  font-size: clamp(2.75rem, 4.6vw, 4rem); /* ~64 px */
  line-height: 1;
}
.refs__title em { display: block; font-style: italic; color: #24452F; }
.refs__quote {
  margin: 48px 0 0;
  padding-left: 28px;
  border-left: 1px solid var(--gold);
}
.refs__quote blockquote { margin: 0; }
.refs__quote p {
  color: var(--green-900);
  font-family: var(--f-serif);
  font-size: 1.75rem; /* 28 px */
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}
.refs__quote figcaption {
  margin-top: 18px;
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.certs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cert {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 28px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color .3s var(--ease);
}
.cert:hover { border-color: var(--gold); }
.cert__body { display: grid; gap: 6px; min-width: 0; }
.cert__name {
  color: var(--green-900);
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
}
.cert__meta {
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
}
.trusted {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
}
.refs .section-foot { margin-top: 40px; }

/* ---------- 17. Galeria (układ schodkowy) ---------- */
.gallery { background: var(--cream-light); }
.gallery__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 40px);
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery__item:nth-child(2) { margin-top: 44px; }
.gallery__item:nth-child(3) { margin-top: 16px; }
.gallery__item:nth-child(4) { margin-top: 60px; }
.gallery figure { position: relative; margin: 0; }
.gallery .ph__label { text-wrap: balance; }
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--green-900);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.gallery__cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  color: var(--gold-light);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gallery figure:hover::after { opacity: .5; }
.gallery figure:hover .gallery__cap { opacity: 1; transform: none; }
@media (hover: none) {
  .gallery__cap {
    position: static;
    margin-top: 10px;
    color: var(--gold-dark);
    opacity: 1;
    transform: none;
  }
}

/* ---------- 18. FAQ ---------- */
.faq {
  padding-block: var(--section-y);
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.faq__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq__item { border-top: 1px solid var(--line-on-dark); }
.faq__item:last-child { border-bottom: 1px solid var(--line-on-dark); }
.faq__q {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: baseline;
  padding: 28px 0;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__num {
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .14em;
}
.faq__text {
  font-family: var(--f-serif);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  transition: color .3s var(--ease);
}
.faq__q:hover .faq__text { color: var(--gold-light); }
.faq__icon {
  position: relative;
  align-self: center;
  width: 16px;
  height: 16px;
  transition: transform .45s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7.5px;
  width: 16px;
  height: 1px;
  background: var(--gold);
  transition: transform .45s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 36px 28px 56px; }
.faq__a p { max-width: 56ch; }

/* płynne rozwijanie (nowe przeglądarki; w starszych otwiera się od razu) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .45s var(--ease), content-visibility .45s allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}

/* ---------- 19. Kontakt — jedno duże hasło i dwa przyciski ---------- */
.contact {
  padding-block: clamp(64px, 7vw, 96px);
  background: var(--cream);
}
.contact__slogan {
  margin-top: 8px;
  color: var(--green-900);
  font-size: clamp(3rem, 7.6vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.contact__slogan em { font-style: italic; color: var(--green-accent); }
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: clamp(26px, 3vw, 38px);
}
@supports (animation-timeline: view()) {
  .contact__slogan {
    animation: slogan-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}
@supports not (animation-timeline: view()) {
  .js .contact__slogan { transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
  .js .contact__slogan:not(.is-inview) { opacity: 0; transform: translateY(48px); }
}
@keyframes slogan-in {
  from { opacity: 0; transform: translateY(64px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 20. Stopka ---------- */
.site-footer {
  padding-top: clamp(48px, 6vw, 80px);
  overflow: hidden;
  background: var(--green-950);
  color: var(--text-on-dark);
  font-size: .9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 64px;
}
.footer__col--brand .brand { margin-bottom: 20px; }
.footer__tagline { max-width: 30ch; margin-bottom: 24px; }
.footer__title {
  margin-bottom: 20px;
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer__address { font-style: normal; line-height: 1.9; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--gold-light); }
.footer__links,
.footer__sublinks,
.footer__legal { margin: 0; padding: 0; list-style: none; }
.footer__links { display: grid; gap: 10px; }
.footer__sublinks {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--line-on-dark);
  font-size: .875rem;
}
.footer__bar { border-top: 1px solid var(--line-on-dark); font-size: .8125rem; }
.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 24px;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .footer__credit a { color: var(--gold); }
.site-footer .footer__credit a:hover { color: var(--gold-light); }

/* ---------- 21. Podstrony (szkielety) ---------- */
.page-head {
  padding-block: clamp(48px, 6vw, 80px) clamp(64px, 8vw, 96px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-head__title { font-size: clamp(3rem, 7vw, 5.5rem); text-wrap: balance; }
.page-wip {
  margin-top: 20px;
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.page-sub {
  padding-block: clamp(64px, 8vw, 96px);
  background: var(--cream-light);
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   21b. PODSTRONY — elementy wspólne i komponenty stron wewnętrznych
   (korzystają z tych samych tokenów, .btn, .eyebrow, .section-title, .ph,
   akordeonu FAQ, mapy, pasa „okno” i galerii co strona główna)
   ========================================================================== */

/* tła sekcji: rytm jasne / jaśniejsze / ciemne */
.bg-cream { background: var(--cream); }
.bg-light { background: var(--cream-light); }
.bg-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.bg-dark h2,
.bg-dark h3 { color: var(--cream); }
.section-lead { max-width: 56ch; margin-top: 20px; font-size: 1.0625rem; }
.bg-dark .section-lead { color: #CBD2C6; }
.line-on-dark { --line: rgba(201, 166, 107, .35); }

/* ---------- hero podstrony ---------- */
.page-hero {
  padding-block: clamp(34px, 3.8vw, 48px) clamp(44px, 5vw, 66px);
  background: var(--cream);
  border-bottom: 1px solid var(--gold);
}
.page-hero__title {
  font-size: clamp(3.25rem, 7.4vw, 6rem); /* 80–96 px na desktopie */
  line-height: .98;
  letter-spacing: -.015em;
  text-wrap: balance;
}
/* cały tytuł w jednym kolorze: na kremie ciemna zieleń (jak tło menu), na ciemnym tle złoto */
.page-hero__title,
.page-hero__title em { color: var(--bg-dark); }
.page-hero__title em { font-style: italic; }
.page-hero__lead { max-width: 56ch; margin-top: 28px; font-size: 1.125rem; }
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 40px;
}
.page-hero__media { margin-top: clamp(32px, 3.6vw, 48px); }
.page-hero--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-bottom-color: rgba(201, 166, 107, .35);
}
.page-hero--dark .page-hero__title,
.page-hero--dark .page-hero__title em { color: var(--gold); }
.page-hero--dark .page-hero__lead { color: #CBD2C6; }
.on-dark .link-arrow { color: var(--cream); }

/* powolne, subtelne wejście treści hero po załadowaniu */
.page-hero .container > * { animation: page-in 1.2s var(--ease) both; }
.page-hero .container > :nth-child(2) { animation-delay: .08s; }
.page-hero .container > :nth-child(3) { animation-delay: .16s; }
.page-hero .container > :nth-child(4) { animation-delay: .24s; }
.page-hero .container > :nth-child(5) { animation-delay: .32s; }
.page-hero .container > :nth-child(6) { animation-delay: .4s; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* okruszki */
.crumbs { margin-bottom: 36px; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { color: var(--gold-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.on-dark .crumbs ol { color: var(--text-on-dark); }
.on-dark .crumbs a { color: var(--gold); }

/* pasek faktów (jak w hero strony głównej) */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* przełącznik kategorii (zakładki) */
.tabs { display: inline-flex; margin-top: 36px; border: 1px solid var(--line); }
.tabs a {
  padding: 13px 22px;
  color: var(--green-btn);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.tabs a + a { border-left: 1px solid var(--line); }
.tabs a:not([aria-current]):hover { background: var(--cream-light); }
.tabs a[aria-current="page"] { background: var(--green-btn); color: var(--cream); }

/* ---------- pasek zamykający (CTA) ---------- */
.cta-band {
  padding-block: clamp(60px, 6.5vw, 92px);
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.bg-dark + .cta-band { border-top: 1px solid var(--line-on-dark); }
.cta-band__title {
  color: var(--cream);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .95;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.cta-band__title,
.cta-band__title em { color: var(--gold); }
.cta-band__title em { font-style: italic; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 56px);
}

/* ---------- kolumny z cienkimi liniami (kroki, korzyści, opakowania) ---------- */
.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bg-dark .cols,
.bg-dark .cols__item { border-color: rgba(201, 166, 107, .35); }
.cols__item {
  padding: 28px clamp(20px, 2.4vw, 36px) 8px;
  border-left: 1px solid var(--line);
}
.cols__item:first-child { padding-left: 0; border-left: 0; }
.cols__mark {
  display: block;
  color: var(--gold-dark);
  font-family: var(--f-serif);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1;
}
.cols__mark--mono {
  font-family: var(--f-mono);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -.03em;
}
.bg-dark .cols__mark { color: var(--gold); }
.cols__title { margin: 24px 0 10px; font-size: 1.75rem; }
.cols__item p { font-size: .9375rem; }
.cols-foot { margin-top: 48px; }

/* ---------- karty produktów ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px 14px 24px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  transition: border-color .4s var(--ease);
}
.pcard:hover,
.pcard:focus-within { border-color: var(--gold); }
.pcard__body { display: flex; flex: 1; flex-direction: column; padding: 22px 8px 0; }
.pcard__num,
.doc__tag {
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
}
.pcard__name { margin-top: 10px; font-size: 1.75rem; }
.pcard__desc { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.pcard .link-arrow,
.doc .link-arrow { align-self: flex-start; margin-top: auto; padding-top: 18px; }

/* lista parametrów (karty produktów, certyfikaty, case studies) */
.spec {
  margin: 20px 0 0;
  color: var(--text);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .04em;
}
.spec > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.spec > div:last-child { border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; text-align: right; }

/* ---------- kalendarz dostępności ---------- */
.season-wrap { overflow-x: auto; }
.season {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-family: var(--f-mono);
  font-size: .6875rem;
}
.season caption {
  caption-side: bottom;
  padding-top: 16px;
  color: var(--muted);
  text-align: left;
}
.season th {
  padding: 10px 4px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
.season th[scope="row"] {
  padding-right: 20px;
  color: var(--text);
  letter-spacing: .04em;
  text-align: left;
  text-transform: none;
  white-space: nowrap;
}
.season td { height: 40px; background: var(--cream-light); border: 1px solid var(--line); }
.season td.is-on { background: var(--green-accent); }
.season thead td { background: none; border: 0; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.legend li { display: flex; align-items: center; gap: 10px; }
.legend li::before { content: ""; width: 14px; height: 14px; border: 1px solid var(--line); background: var(--cream-light); }
.legend .legend__on::before { background: var(--green-accent); border-color: var(--green-accent); }
.legend .legend__note::before { content: none; }

/* ---------- galeria pełna + lightbox ---------- */
.gallery--full .gallery__row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: clamp(22px, 2.4vw, 34px);
}
.gallery--full .gallery__item:nth-child(n) { margin-top: 0; }
.gallery--full .gallery__item:nth-child(3n + 2) { margin-top: 56px; }
.gallery--full .gallery__item:nth-child(3n) { margin-top: 20px; }
.lb-trigger {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
  text-align: inherit;
}
.lb-trigger:focus-visible { outline-offset: 4px; }

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
  background: rgba(10, 20, 15, .95);
  border: 0;
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(10, 20, 15, .6); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
}
.lightbox__count {
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .14em;
}
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(244, 239, 228, .35);
  color: var(--cream);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold-light); }
.lightbox__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lightbox__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 0;
  padding: 0 var(--gutter) 32px;
}
.lightbox__figure { display: grid; justify-items: center; gap: 16px; margin: 0; min-width: 0; }
.lightbox__figure .ph { max-width: 100%; }
.lightbox__caption {
  color: var(--gold-light);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- /dla-biznesu/: przebieg współpracy ---------- */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 1px;
  background: var(--gold);
}
.flow__item { position: relative; padding-right: 24px; }
.flow__num {
  position: relative;
  display: inline-block;
  padding-right: 16px;
  background: var(--cream);
  color: var(--green-900);
  font-family: var(--f-mono);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: -.03em;
  line-height: 1;
}
.flow__title { margin-top: 28px; font-size: 1.625rem; }
.flow__item p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }

/* ---------- wiersze z liniami (logistyka, dokumenty) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rows > li { border-bottom: 1px solid var(--line); }
.bg-dark .rows,
.bg-dark .rows > li { border-color: rgba(201, 166, 107, .35); }
.rows__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: inherit;
  text-decoration: none;
}
.rows__label { color: var(--green-900); font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.2; }
.bg-dark .rows__label { color: var(--cream); }
.rows__value {
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-align: right;
}
.bg-dark .rows__value { color: var(--gold); }
a.rows__item { transition: padding-left .35s var(--ease); }
a.rows__item:hover { padding-left: 12px; }
a.rows__item:hover .rows__label { color: var(--green-accent); }

/* akordeon FAQ na jasnym tle (ten sam komponent co na stronie głównej) */
.acc-light .faq__item { border-color: var(--line); }
.acc-light .faq__q { color: var(--green-900); }
.acc-light .faq__q:hover .faq__text { color: var(--green-accent); }
.acc-light .faq__num { color: var(--gold-dark); }
.acc-light .faq__icon::before,
.acc-light .faq__icon::after { background: var(--gold-dark); }
.acc-light .faq__a p { color: var(--text); }

/* ---------- /referencje/ ---------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px 14px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: border-color .4s var(--ease);
}
.doc:hover,
.doc:focus-within { border-color: var(--gold); }
.doc__body { display: flex; flex: 1; flex-direction: column; padding: 22px 8px 0; }
.doc__name { margin-top: 10px; font-size: 1.625rem; }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-grid .ph { --ph-bg: transparent; --ph-label-bg: var(--cream); border: 0; filter: grayscale(1); }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.qcard { margin: 0; }
.qcard__mark {
  display: block;
  height: 64px;
  margin-bottom: 20px;
  overflow: hidden;
  color: var(--gold);
  font-family: var(--f-serif);
  font-size: 6rem;
  line-height: .7;
}
.qcard blockquote { margin: 0; }
.qcard blockquote p {
  color: var(--cream);
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-style: italic;
  line-height: 1.3;
}
.qcard figcaption {
  margin-top: 24px;
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- /faq/ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-nav { position: sticky; top: calc(var(--header-h) + var(--utility-h) + 32px); }
.faq-nav ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.faq-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .9375rem;
  text-decoration: none;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.faq-nav a span {
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
}
.faq-nav a:hover { color: var(--green-accent); }
.faq-nav a.is-active { padding-left: 12px; color: var(--green-900); font-weight: 600; box-shadow: inset 2px 0 0 var(--gold); }
.faq-group + .faq-group { margin-top: clamp(34px, 3.8vw, 52px); }
.faq-group h2 { margin-bottom: 24px; font-size: clamp(2rem, 3.4vw, 2.75rem); }

.help-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: clamp(44px, 5vw, 68px);
  padding: clamp(36px, 5vw, 64px);
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.help-card h2 { color: var(--cream); font-size: clamp(2.25rem, 4vw, 3.25rem); }
.help-card__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 20px;
  font-size: 1.0625rem;
}
.help-card__contact a { color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
.help-card__contact a:hover { color: var(--gold-light); }

/* ---------- /kontakt/: formularz ---------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  margin-top: 28px;
}
.field { display: grid; align-content: start; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field__label {
  padding: 0;
  color: var(--text);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.field__label abbr { color: var(--gold-dark); text-decoration: none; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.input:hover { border-color: #C9BEA5; }
.input:focus { outline: none; border-color: var(--green-btn); box-shadow: inset 0 -2px 0 var(--green-btn); }
textarea.input { min-height: 168px; resize: vertical; }
.input[aria-invalid="true"] { border-color: #A23B2A; box-shadow: inset 0 -2px 0 #A23B2A; }
.field__error { min-height: 0; color: #A23B2A; font-size: .8125rem; }
.field__error:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .9375rem; }
.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  background: var(--cream-light) center / 12px 9px no-repeat;
  border: 1px solid var(--green-btn);
  cursor: pointer;
}
.check input:checked {
  background-color: var(--green-btn);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5l3.5 3.5L11 1' fill='none' stroke='%23F4EFE4' stroke-width='1.6'/%3E%3C/svg%3E");
}
.check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: #A23B2A; }
.check a { color: var(--green-btn); text-underline-offset: .25em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__context {
  padding: 12px 16px;
  background: var(--cream-light);
  border-left: 2px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .06em;
}
.form__summary { padding: 14px 16px; border: 1px solid #A23B2A; color: #A23B2A; font-size: .9375rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.form__note { color: var(--muted); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; }
.form-success {
  margin-top: 40px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.form-success:focus { outline: 2px solid var(--gold); outline-offset: 4px; }
.form-success h3 { color: var(--cream); font-size: clamp(2rem, 3.4vw, 2.75rem); }
.form-success p { margin-top: 14px; }
.form-success__demo { color: var(--gold); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; }

/* dojazd */
.route__address {
  color: var(--green-900);
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-style: normal;
  line-height: 1.05;
}
.route__coords {
  margin-top: 20px;
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .12em;
}

/* ---------- responsywność podstron ---------- */
@media (max-width: 1023px) {
  .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols--4 .cols__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .cols--4 .cols__item:nth-child(n + 3) { margin-top: 32px; border-top: 1px solid var(--line); }
  .bg-dark .cols--4 .cols__item:nth-child(n + 3) { border-top-color: rgba(201, 166, 107, .35); }
  .products,
  .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--full .gallery__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--full .gallery__item:nth-child(n) { margin-top: 0; }
  .gallery--full .gallery__item:nth-child(even) { margin-top: 44px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-nav { position: sticky; top: var(--header-h); z-index: 5; margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter); background: var(--cream); border-bottom: 1px solid var(--line); }
  .faq-nav ol { display: flex; gap: 8px; overflow-x: auto; border: 0; scrollbar-width: none; }
  .faq-nav a { padding: 10px 14px; border: 1px solid var(--line); white-space: nowrap; }
  .faq-nav a.is-active { padding-left: 14px; background: var(--green-btn); border-color: var(--green-btn); color: var(--cream); box-shadow: none; }
  .faq-nav a.is-active span { color: var(--gold-light); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-left: 36px; }
  .flow::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .flow__item { padding-right: 0; }
  .flow__item::before { content: ""; position: absolute; left: -36px; top: 18px; width: 13px; height: 13px; background: var(--gold); }
  .flow__num { padding-right: 0; font-size: 2.25rem; }
  .flow__title { margin-top: 12px; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .help-card { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 760px) {
  .cols,
  .cols--2,
  .cols--4 { grid-template-columns: minmax(0, 1fr); }
  .cols__item,
  .cols--4 .cols__item:nth-child(n) { padding: 28px 0 8px; border-left: 0; margin-top: 0; }
  .cols__item + .cols__item { border-top: 1px solid var(--line); }
  .bg-dark .cols__item + .cols__item { border-top-color: rgba(201, 166, 107, .35); }
  .products,
  .docs-grid { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .lightbox__figure { grid-column: 1; grid-row: 1; }
  .lightbox__nav { grid-row: 2; }
  .lightbox__stage .lightbox__nav--prev { justify-self: start; }
  .lightbox__stage .lightbox__nav--next { grid-column: 1; justify-self: end; }
}

@media (max-width: 600px) {
  .gallery--full .gallery__item:nth-child(even) { margin-top: 28px; }
  .cta-band__actions .btn,
  .page-hero__actions .btn { width: 100%; justify-content: space-between; }
  .tabs { display: flex; }
  .tabs a { flex: 1; padding-inline: 12px; text-align: center; }
}

@media (max-width: 420px) {
  .gallery--full .gallery__row { grid-template-columns: minmax(0, 1fr); }
  .gallery--full .gallery__item:nth-child(even) { margin-top: 0; }
}


/* ---------- /produkty/: wyszukiwarka, ramki kategorii ---------- */
.section--tight { padding-block: clamp(56px, 6vw, 88px); }

.catframes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.catframe {
  display: block;
  padding: 12px;
  background: var(--bg-dark); /* ciemnozielona rama */
  color: var(--cream);
  text-decoration: none;
}
.catframe .ph { border-color: rgba(201, 166, 107, .25); }
.catframe__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 8px 8px;
}
.catframe__name {
  color: var(--gold);
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
}
.catframe__meta {
  color: var(--text-on-dark);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.catframe:hover .catframe__meta,
.catframe:focus-visible .catframe__meta { color: var(--gold-light); }
.catframe:hover .btn__arrow,
.catframe:focus-visible .btn__arrow { transform: translateX(6px); }
.catframe:focus-visible { outline-offset: 4px; }
@media (max-width: 760px) {
  .catframes { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   21c. PODSTRONY v2 — klienci indywidualni i firmy
   ========================================================================== */

.icon,
.how__icon,
.who-card__icon,
.route__icon,
.pack-tile__icon { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 28px; height: 28px; }

/* ---------- hero podstrony: zdjęcie po prawej, wygaszane w lewo ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__inner > * { max-width: 620px; }
.page-hero__inner > .crumbs { max-width: none; }
.page-hero__photo.ph {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  mask-image: linear-gradient(to right, transparent 0%, #000 55%);
}
.page-hero__photo .ph__label { left: 64%; }
.page-hero--dark .page-hero__photo.ph { --ph-bg: #162C21; }

/* ---------- karty produktów: brązowa ramka, bez wypełnienia ---------- */
.pcard {
  position: relative;
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--green-900);
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pcard .ph { --ph-bg: transparent; }
.pcard__body { position: relative; z-index: 2; }
.pcard__name { transition: color .35s var(--ease); }
/* najechanie / fokus z klawiatury: karta się ROZJAŚNIA (tło, złota ramka, lekkie uniesienie, cień w dół);
   kolor zmienia tylko nazwa produktu. Przybliżanie zdjęcia daje .zoom-host — bez zmian. */
@media (hover: hover) {
  .pcard:hover,
  .pcard:focus-within {
    background: var(--cream-light);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 18px 34px -20px rgba(18, 28, 46, .38);
  }
  .pcard:is(:hover, :focus-within) .pcard__name { color: var(--green-accent); }
  .pcard:is(:hover, :focus-within) .btn__arrow { transform: translateX(6px); }
  .pcard:focus-within .link-arrow:focus-visible { outline-color: var(--gold-dark); }
}
@media (prefers-reduced-motion: reduce) {
  .pcard:hover,
  .pcard:focus-within { transform: none; }
}
.pcard__num,
.pcard__desc,
.pcard .spec,
.pcard .spec dt { color: var(--green-900); }
.pcard .link-arrow { color: var(--green-btn); }
.pcard__sale {
  margin-top: 20px;
  color: var(--green-900);
  font-family: var(--f-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.spec--sale { margin-top: 10px; }
.spec--sale > div { align-items: baseline; }
.spec--sale dd { font-family: var(--f-sans); font-size: .875rem; letter-spacing: 0; text-align: right; }

/* ramki kategorii na /produkty/ — ten sam styl co karty */
.catframe {
  padding: 12px;
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--green-900);
  transition: border-color .4s ease;
}
.catframe:hover,
.catframe:focus-visible { box-shadow: inset 0 0 0 1px var(--gold-dark); }
.catframe .ph { --ph-bg: transparent; border-color: var(--line); }
.catframe__name { color: var(--green-900); }
.catframe__meta { color: var(--green-900); }
.catframe:hover .catframe__meta,
.catframe:focus-visible .catframe__meta { color: var(--green-accent); }

/* ---------- „Dla domu” ---------- */
.home-band { background: var(--cream-light); }
.home-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.home-band .section-title em { font-style: italic; color: var(--green-accent); }
.home-band__lead { max-width: 52ch; margin-top: 20px; font-size: 1.0625rem; }
.home-band__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.home-band__items li { display: flex; align-items: center; gap: 10px; color: var(--green-900); font-size: .9375rem; }
.home-band__items .icon { color: var(--gold-dark); }
.home-band__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.home-band--compact { padding-block: clamp(64px, 7vw, 96px); }
.home-band--compact .home-band__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }

/* ---------- „Jak zamówić” (/produkty/) ---------- */
.how { padding-block: clamp(44px, 5vw, 64px) clamp(48px, 5.5vw, 72px); }
.section:has(+ .how) { padding-bottom: clamp(56px, 6.5vw, 88px); }
.how .section-head { margin-bottom: 0; }
.how__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.how__list::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 80px;
  border-top: 1px dashed var(--gold);
}
.how__item { position: relative; }
.how__num {
  position: absolute;
  top: 10px;
  right: 18px;
  z-index: 0;
  color: var(--green-900);
  font-family: var(--f-serif);
  font-size: clamp(4.25rem, 5.6vw, 5.25rem);
  font-weight: 600;
  line-height: .9;
  opacity: .15; /* wyraźnie widoczna cyfra w tle, nie przeszkadza w czytaniu */
  pointer-events: none;
}
.how__card > :not(.how__num) { position: relative; z-index: 1; }
.how__card {
  position: relative;
  height: 100%;
  padding: clamp(28px, 3vw, 40px);
  background: var(--cream-light);
  color: var(--text);
}
.how__icon { width: 36px; height: 36px; color: var(--gold-dark); }
.bg-dark .how__title,
.how__title { margin-top: 20px; color: var(--green-900); font-size: 1.75rem; }
.how__card p { margin-top: 10px; font-size: .9375rem; }
.how__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
@supports (animation-timeline: view()) {
  .how__list .how__item.js-inview:nth-child(2) { animation-range: entry 15% entry 70%; }
  .how__list .how__item.js-inview:nth-child(3) { animation-range: entry 25% entry 85%; }
}

/* ---------- „Dalej” ---------- */
.next-page { background: var(--cream); border-top: 1px solid var(--line); }
.next-page__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(36px, 5vw, 64px);
  color: var(--green-900);
  text-decoration: none;
}
.next-page__label {
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.next-page__name {
  font-family: var(--f-serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
}
.next-page__arrow { display: inline-block; color: var(--gold-dark); transition: transform .4s var(--ease); }
.next-page__link:hover .next-page__arrow,
.next-page__link:focus-visible .next-page__arrow { transform: translateX(10px); }
.next-page__link:hover .next-page__name span:first-child { color: var(--green-accent); }

/* ---------- pasek kontaktu na telefonie ---------- */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bg-dark);
    border-top: 1px solid var(--gold);
  }
  .mbar--solo { grid-template-columns: minmax(0, 1fr); }
  .mbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 18px;
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
  }
  .mbar__ask { background: var(--gold); color: var(--bg-dark); }
  .mbar__call { color: var(--cream); }
  .mbar__icon { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
  .mbar a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -4px; }
  body.subpage { padding-bottom: calc(57px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- /dla-biznesu/: karty odbiorców ---------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.who-grid > li { grid-column: span 2; }
.who-grid > li:nth-child(n + 4) { grid-column: span 3; }
.who-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(28px, 3vw, 40px);
  background: var(--cream-light);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.who-card::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.who-card:hover,
.who-card:focus-visible { border-color: var(--gold); transform: translateY(-4px); }
.who-card:hover::after,
.who-card:focus-visible::after { transform: scaleX(1); }
.who-card__top { display: flex; align-items: center; justify-content: space-between; }
.who-card__icon { width: 36px; height: 36px; color: var(--gold-dark); }
.who-card__num { color: var(--gold-dark); font-family: var(--f-serif); font-size: 1.5rem; }
.who-card__title { margin-top: 24px; font-size: 1.75rem; }
.who-card p { margin-top: 10px; font-size: .9375rem; }
.who-card__more { margin-top: auto; padding-top: 20px; color: var(--green-btn); font-size: 1.25rem; transition: transform .35s var(--ease); }
.who-card:hover .who-card__more { transform: translateX(6px); }

/* dłuższe teksty w przebiegu współpracy */
.flow--long { gap: 0 8px; }
.flow--long .flow__item p { max-width: 30ch; line-height: 1.6; }
.bg-light .flow__num { background: var(--cream-light); }

/* ---------- /dla-biznesu/: logistyka ---------- */
.route { position: relative; margin: 16px 0 clamp(56px, 7vw, 88px); }
.route__track {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 31px;
  height: 0;
  border-top: 1px dashed var(--gold);
}
.route__stops {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}
.route__stop { display: grid; justify-items: center; gap: 14px; width: 120px; text-align: center; }
.route__icon {
  width: 64px;
  height: 64px;
  padding: 16px;
  background: var(--bg-dark);
  border: 1px solid var(--gold);
  color: var(--gold);
}
.route__label { color: var(--cream); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.logistics__photo { margin-bottom: clamp(40px, 5vw, 64px); }
.logistics__sub { margin: clamp(40px, 4.4vw, 60px) 0 22px; font-size: clamp(2rem, 3.4vw, 2.75rem); }
.pack-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pack-tile { padding: 28px 24px; border: 1px solid rgba(201, 166, 107, .35); }
.pack-tile__icon { width: 56px; height: 56px; color: var(--gold); stroke-width: 1.1; }
.pack-tile__title { margin: 20px 0 6px; color: var(--cream); font-family: var(--f-serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; }
.pack-tile p { font-size: .9375rem; }
.pack-tile__cap { margin-top: 14px; color: var(--gold); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; }

/* ---------- /o-nas/ ---------- */
.statement__title {
  max-width: 18ch;
  font-size: clamp(2.75rem, 6.4vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.statement__title em { font-style: italic; color: var(--green-accent); }
.statement__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(30px, 3.4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.statement__sub { margin-bottom: 12px; font-size: 1.75rem; }

.process {
  position: relative;
  display: grid;
  gap: clamp(44px, 4.8vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.process::before,
.process::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--gutter) * -.5);
  width: 1px;
  background: var(--line);
}
.process::after { background: var(--gold); transform-origin: top; }
@supports (animation-timeline: view()) {
  .process { view-timeline-name: --process; }
  .process::after {
    animation: process-fill linear both;
    animation-timeline: --process;
    animation-range: entry 40% exit 60%;
  }
}
@keyframes process-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.process__row {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 3.4vw, 56px);
  align-items: center;
}
.process__row--rev .process__media { order: 2; }
.process__num { display: block; color: var(--gold-dark); font-family: var(--f-serif); font-size: clamp(3.5rem, 6vw, 5rem); line-height: 1; }
.process__title { margin-top: 12px; font-size: clamp(2rem, 3.6vw, 3rem); }
.process__text p { max-width: 46ch; margin-top: 16px; font-size: 1.0625rem; }

.eco__inner { max-width: 760px; }
.eco .section-title { color: var(--gold); font-size: clamp(2.75rem, 5.4vw, 4.5rem); }

.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { display: flex; flex-direction: column; padding: clamp(32px, 4vw, 56px); border: 1px solid var(--gold-dark); }
.panel__title { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.panel p { max-width: 48ch; margin-top: 14px; }
.panel .link-arrow { align-self: flex-start; margin-top: auto; padding-top: 24px; }

.values4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.value__word {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gold);
  color: var(--green-900);
  font-size: clamp(2.5rem, 3.8vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  overflow-wrap: anywhere;
}
.value p { margin-top: 18px; font-size: .9375rem; }

/* ---------- kontakt: dojazd ---------- */
.route-place {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

/* ---------- strona główna: znaczniki w „Dla biznesu” ---------- */
.on-dark .facts li { border-color: rgba(201, 166, 107, .35); color: var(--text-on-dark); }

/* ---------- responsywność v2 ---------- */
@media (max-width: 1023px) {
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-grid > li,
  .who-grid > li:nth-child(n + 4) { grid-column: span 1; }
  .who-grid > li:last-child { grid-column: 1 / -1; }
  .pack-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .how__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .how__list::before { left: 24px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dashed var(--gold); }
  .flow--long { padding-left: 36px; }
}

@media (max-width: 860px) {
  .page-hero { padding-bottom: 0; }
  .page-hero__photo.ph {
    position: relative;
    top: auto;
    bottom: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 32px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
  }
  .page-hero__photo .ph__label { left: 50%; top: 62%; }
  .home-band__grid,
  .home-band--compact .home-band__grid,
  .process__row,
  .route-place { grid-template-columns: minmax(0, 1fr); }
  .process__row--rev .process__media { order: 0; }
  .statement__cols,
  .panels { grid-template-columns: minmax(0, 1fr); }
  .route__track { left: 31px; right: auto; top: 32px; bottom: 32px; height: auto; border-top: 0; border-left: 1px dashed var(--gold); }
  .route__stops { flex-direction: column; gap: 36px; }
  .route__stop { grid-template-columns: 64px auto; align-items: center; justify-items: start; width: auto; text-align: left; }
  .route { padding-left: 0; }
}

@media (max-width: 600px) {
  .who-grid,
  .pack-tiles,
  .values4 { grid-template-columns: minmax(0, 1fr); }
  .who-grid > li:last-child { grid-column: auto; }
  .next-page__link { flex-direction: column; gap: 10px; }
  .home-band__actions .btn { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .process::after { transform: none; }
}


/* ---------- pasek nad nagłówkiem (telefon, e-mail) ---------- */
.utility {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 51;
  background: #0B1610;
  color: var(--text-on-dark);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
}
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--utility-h); }
.utility__place { color: rgba(185, 194, 181, .7); text-transform: uppercase; letter-spacing: .14em; }
.utility__contact { display: flex; align-items: center; gap: 18px; }
.utility a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-on-dark); text-decoration: none; transition: color .25s var(--ease); }
.utility a:hover { color: var(--gold-light); }
.utility__icon { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; }
.utility__sep { width: 1px; height: 14px; background: rgba(201, 166, 107, .35); }
@media (max-width: 1023px) { :root { --utility-h: 0px; } .utility { display: none; } }

/* ---------- /kontakt/: górna sekcja ---------- */
.contact-top { padding-top: 0; }
.contact-top__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-top__info { padding-top: clamp(56px, 7vw, 96px); }
.contact-top__title { font-size: clamp(3.25rem, 7vw, 6rem); line-height: .95; letter-spacing: -.015em; }
.contact-top__title em { font-style: italic; color: var(--green-accent); }
.contact-top__lead { margin-top: 18px; font-size: 1.0625rem; }
.clines { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--gold); }
.clines li { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--gold); }
.clines__label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dark);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.clines__label .icon { width: 18px; height: 18px; color: var(--gold-dark); }
.clines__value {
  color: var(--green-900);
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.15;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.clines__value--email { font-size: clamp(1.375rem, 2.1vw, 1.875rem); }
a.clines__value:hover { color: var(--green-accent); }
.contact-top__route { margin-top: 20px; }
.form-panel {
  position: relative;
  z-index: 2;
  margin-top: clamp(-96px, -6vw, -48px); /* panel lekko nachodzi na dolną krawędź hero */
  padding: clamp(28px, 4vw, 52px);
  background: var(--cream-light);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -48px rgba(18, 28, 46, .3);
}
.form-panel__title { font-size: clamp(2rem, 3.2vw, 2.75rem); }

/* ---------- /kontakt/: mapa OpenStreetMap ---------- */
.osm__frame {
  display: block;
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  filter: saturate(.7) sepia(.08);
}
.osm__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; }
@media (max-width: 860px) {
  .contact-top__grid { grid-template-columns: minmax(0, 1fr); }
  .form-panel { margin-top: 0; }
  .osm__frame { height: 300px; }
}


/* ---------- zdjęcia w polach .ph ----------
   .ph--img     — w polu jest prawdziwe zdjęcie (<img>): bez X, etykieta kategorii w rogu
   .ph--sample  — zdjęcie przykładowe do zastąpienia: X zostaje NA zdjęciu + znacznik .ph__sample */
.ph--img:not(.ph--sample)::before { display: none; }
.ph--sample::before {
  z-index: 1;
  /* X na zdjęciach przykładowych: ciemniejszy i nieco grubszy niż na pustych polach, żeby był dobrze widoczny */
  background:
    linear-gradient(to top right,
      transparent calc(50% - 1px), var(--ph-line) calc(50% - 1px),
      var(--ph-line) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom right,
      transparent calc(50% - 1px), var(--ph-line) calc(50% - 1px),
      var(--ph-line) calc(50% + 1px), transparent calc(50% + 1px));
}
.ph.ph--sample { --ph-line: rgba(16, 32, 24, .8); }                 /* jasne zdjęcia (hero, „W liczbach”): ciemna zieleń */
.ph--sample.ph--dark { --ph-line: #F0DCA8; }       /* ciemny pas „Z jednej wsi”: jasne złoto — ciemne linie byłyby niewidoczne pod ciemną nakładką */
.ph--sample.ph--dark::before {
  background:
    linear-gradient(to top right,
      transparent calc(50% - 1.5px), var(--ph-line) calc(50% - 1.5px),
      var(--ph-line) calc(50% + 1.5px), transparent calc(50% + 1.5px)),
    linear-gradient(to bottom right,
      transparent calc(50% - 1.5px), var(--ph-line) calc(50% - 1.5px),
      var(--ph-line) calc(50% + 1.5px), transparent calc(50% + 1.5px));
}
.ph--img .ph__label {
  top: auto;
  left: auto;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  transform: none;
}
.ph__sample {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 6px 10px;
  background: var(--gold);
  color: var(--bg-dark);
  font-family: var(--f-mono);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.window__sample { top: auto; right: auto; left: var(--gutter); bottom: 64px; }
.window__sample--right { left: auto; right: var(--gutter); }
.hero__photo > img { animation: hero-settle 2.6s var(--ease) both; }
.offer__grid:has(.offer__item--1 .offer__link:is(:hover, :focus-visible)) .offer__photo--1 > img,
.offer__grid:has(.offer__item--2 .offer__link:is(:hover, :focus-visible)) .offer__photo--2 > img { transform: scale(1.045); }
@supports (animation-timeline: view()) {
  .about__photo > img {
    animation: ph-zoom linear both;
    animation-timeline: --about-photo;
    animation-range: entry 0% cover 70%;
  }
}
@supports not (animation-timeline: view()) {
  .about__photo > img { transition-duration: 3s; }
  .js .about__photo:not(.is-inview) > img { transform: scale(1.06); }
}
@media (max-width: 600px) {
  .window--gold .window__sample--right { top: 64px; bottom: auto; }
}


/* ---------- akcenty naturalne (runda 4) ---------- */

/* zdjęcie + treść obok siebie (beczki przy opakowaniach) */
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.cols--stack { grid-template-columns: minmax(0, 1fr); }
.cols--stack .cols__item,
.cols--stack .cols__item:first-child { padding: 28px 0 8px; border-left: 0; }
.cols--stack .cols__item + .cols__item { border-top: 1px solid var(--line); }
.bg-dark .cols--stack .cols__item + .cols__item { border-top-color: rgba(201, 166, 107, .35); }
.pack-tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* „Ekologia” (O nas): rycina pola kapusty jako tekstura dolnej części sekcji
   (img/ryciny/pole-kapusty.svg — generowana skryptem tools/pole_kapusty.py, kolor złoty wpisany na stałe; krycie płaskie) */
.eco {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* bez dodatkowego padding-bottom — wysokość sekcji jak w każdej innej .section */
}
.eco::after {
  content: "";
  position: absolute;
  inset: 0;                 /* całe tło sekcji, nie pas przy dolnej krawędzi */
  z-index: -1;
  background: url("../img/ryciny/pole-kapusty.svg") center bottom / cover no-repeat;
  opacity: .15;
  pointer-events: none;
}

/* ryciny (kapusta, kapusta pekińska, ogórek) — rysunki liniowe wg wzorów klienta, inline SVG (currentColor),
   jeden kolor, krycie PŁASKIE (bez masek i gradientów). Nigdy na, za ani tuż obok nagłówka (min. ok. 120 px). */
.has-rycina, .offer, .faq, .biz { position: relative; isolation: isolate; }
.rycina {
  position: absolute;
  z-index: -1;
  width: clamp(150px, 15vw, 230px);
  height: auto;
  color: var(--green-900);
  opacity: .28;
  pointer-events: none;
  --gx: max(12px, calc((100vw - var(--maxw)) / 2 - 96px)); /* wysunięcie w boczny margines */
}
.on-dark .rycina,
.bg-dark .rycina { color: var(--gold); opacity: .32; }
/* strona główna */
/* ogórek „położony” poziomo w dolnym marginesie sekcji — tam, gdzie róg zajmuje tekst albo zdjęcie */
.rycina--offer, .rycina--how, .rycina--statement, .rycina--logistics { width: 210px; bottom: -84px; transform: rotate(47deg); }
.rycina--offer { left: var(--gx); }
.rycina--biz { right: var(--gx); bottom: 16px; width: clamp(120px, 10vw, 150px); } /* kapusta w prawym dolnym rogu, pod listą I–IV (z lewej przycisk) */
.biz { padding-bottom: calc(clamp(64px, 7vw, 96px) + 20px); }
/* kapusta pekińska — rysunek wysoki i wąski (viewBox 120×200), więc mniejsza szerokość */
.rycina--faqhome, .rycina--pack, .rycina--quotes { width: clamp(84px, 7.4vw, 110px); }
.rycina--faqhome { right: var(--gx); bottom: 20px; }
/* /produkty/ */
.rycina--how { right: var(--gx); }
.rycina--home { right: var(--gx); bottom: 10px; width: clamp(130px, 11vw, 165px); } /* obok przycisków, pod listą */
/* /dla-biznesu/ (sekcja „Logistyka” z opakowaniami) */
.rycina--logistics { left: var(--gx); }
.rycina--pack { right: var(--gx); bottom: 16px; }
/* /o-nas/ */
.rycina--statement { left: var(--gx); }
.rycina--values { right: var(--gx); bottom: 10px; width: clamp(130px, 11vw, 160px); }
.has-rycina:has(> .rycina--values) { padding-bottom: calc(var(--section-y) + 64px); } /* miejsce na rycinę pod kolumnami wartości */
/* /referencje/: kapusta pekińska w prawym górnym rogu sekcji opinii */
.rycina--quotes { top: 28px; right: var(--gx); }
/* /faq/: ogórek w kolumnie nawigacji, pod listą kategorii */
.faq-nav .rycina--faq { position: static; display: block; width: 180px; margin-top: 56px; }
@media (max-width: 1023px) { .faq-nav .rycina--faq { display: none; } } /* tam nawigacja to pasek przycisków */
/* /kontakt/: kapusta pod formularzem, prawy dolny róg sekcji */
.rycina--form { right: var(--gx); bottom: 12px; width: clamp(130px, 12vw, 170px); }
@media (max-width: 860px) {
  .eco::after { opacity: .14; }
  .rycina { width: 120px; }
  /* telefon: przyciski i teksty mają pełną szerokość — ryciny z dołu sekcji dostają własny pas pod treścią */
  .rycina--offer, .rycina--how, .rycina--statement, .rycina--logistics { width: 120px; bottom: -38px; }
  .rycina--home, .rycina--values, .rycina--biz { width: 100px; bottom: 8px; }
  .rycina--pack, .rycina--faqhome { width: 60px; bottom: 8px; }
  :is(.has-rycina, .offer, .biz, .faq):has(> :is(.rycina--offer, .rycina--biz, .rycina--how, .rycina--statement, .rycina--logistics, .rycina--home, .rycina--values, .rycina--pack, .rycina--faqhome)) {
    padding-bottom: calc(var(--section-y) + 64px);
  }
  /* telefon: przy wąskim ekranie górny róg jest tuż obok nagłówka — kapusta pekińska schodzi na dół sekcji */
  .rycina--quotes { top: auto; bottom: 10px; right: 12px; width: 60px; }
  section:has(> .rycina--quotes) { padding-bottom: calc(var(--section-y) + 100px); }
  .contact-top { padding-bottom: calc(var(--section-y) + 110px); }
}

/* pieczęć certyfikatu — własny wzór (gałązka w okręgu), NIE logo rolnictwa ekologicznego UE */
.stamp {
  flex: none;
  width: 64px;
  height: 64px;
  color: var(--gold-dark);
  transition: transform .6s ease;
}
.cert:hover .stamp,
.cert:focus-visible .stamp,
.doc:hover .stamp,
.doc:focus-within .stamp { transform: rotate(-14deg); }
.doc__tag { display: flex; align-items: center; gap: 12px; }
.doc__tag .stamp { width: 48px; height: 48px; }

/* stopka: delikatna rycina liścia w rogu (krycie 8%, tylko dekoracja) */
.site-footer { position: relative; isolation: isolate; }
.site-footer::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  z-index: -1;
  width: 340px;
  height: 450px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 600 790%22%3E%3Cg fill=%22none%22 stroke=%22%23C9A66B%22 stroke-width=%221.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M300.0 55.0 L305.6 45.2 L311.1 46.6 L316.5 51.5 L322.0 51.9 L327.2 55.8 L331.6 67.0 L336.4 72.8 L342.5 66.8 L348.8 61.1 L354.3 62.3 L360.1 61.8 L366.7 58.2 L371.6 63.1 L374.4 76.8 L378.1 85.4 L383.8 85.7 L389.2 87.9 L393.9 92.2 L400.9 89.5 L409.4 83.6 L414.7 87.2 L417.1 98.3 L420.7 105.8 L425.3 110.7 L427.7 120.3 L430.2 129.3 L437.5 128.7 L446.8 125.0 L452.6 128.4 L456.4 135.3 L462.0 139.1 L466.3 145.2 L465.6 158.2 L465.3 170.0 L471.1 173.7 L478.4 175.6 L482.9 181.3 L488.6 185.8 L497.6 187.1 L502.9 192.6 L501.1 204.7 L499.9 215.9 L503.4 222.7 L506.1 230.1 L506.8 239.0 L512.6 244.1 L523.6 246.2 L530.0 251.8 L529.8 261.3 L530.7 269.9 L533.4 277.6 L531.3 287.5 L527.2 297.8 L530.7 304.8 L539.9 310.0 L545.1 317.0 L547.0 325.0 L552.2 332.2 L556.3 340.0 L551.9 349.2 L545.0 358.4 L545.4 366.4 L549.3 374.1 L549.9 382.0 L551.9 390.0 L560.3 398.2 L566.2 406.8 L562.5 414.8 L556.8 422.3 L555.8 430.2 L553.9 437.9 L548.2 444.6 L547.7 452.3 L555.4 462.3 L560.7 472.1 L558.8 479.7 L557.0 487.4 L557.4 496.0 L552.1 502.1 L542.0 505.6 L537.9 511.8 L541.1 521.7 L542.3 530.8 L540.4 538.2 L542.3 548.2 L544.8 559.0 L539.3 564.3 L528.8 565.6 L523.0 570.1 L520.8 577.5 L515.8 582.4 L511.5 587.9 L513.8 599.8 L516.6 612.8 L512.1 618.6 L504.4 620.8 L499.6 626.1 L493.9 630.4 L484.3 629.3 L477.0 630.8 L476.4 641.6 L476.2 653.5 L471.7 659.4 L466.9 665.1 L464.0 674.1 L457.6 677.3 L446.9 671.9 L438.2 669.8 L434.0 676.5 L429.4 682.7 L423.3 685.7 L419.3 694.2 L416.7 707.2 L410.7 711.4 L401.5 706.2 L393.6 704.1 L387.2 706.5 L379.6 704.5 L372.1 701.6 L366.9 709.2 L362.5 722.4 L356.2 727.3 L348.8 725.7 L342.0 727.7 L335.0 728.7 L327.3 720.3 L319.9 711.8 L313.4 715.1 L306.9 723.0 L300.0 725.0 L293.1 726.8 L285.8 734.1 L278.6 736.5 L272.2 726.6 L266.2 716.5 L259.6 715.2 L252.8 714.7 L246.7 710.2 L239.5 711.8 L230.6 721.3 L222.6 724.9 L217.0 717.6 L211.6 710.8 L205.2 708.0 L200.4 700.2 L197.0 689.1 L190.6 687.1 L181.0 693.4 L172.9 694.9 L167.2 690.5 L160.1 689.1 L152.9 687.7 L150.3 677.2 L150.1 663.2 L145.7 657.3 L138.1 656.9 L132.5 652.9 L127.0 648.8 L117.3 650.5 L108.4 650.7 L106.4 641.4 L107.1 629.1 L104.0 621.9 L100.4 615.4 L100.0 605.7 L96.6 599.2 L86.3 599.7 L76.8 598.9 L74.1 591.4 L72.5 583.1 L68.4 577.1 L68.1 567.9 L73.0 555.4 L73.1 546.6 L65.5 543.2 L58.9 538.7 L56.4 531.6 L51.2 525.9 L44.2 520.9 L44.8 511.9 L51.9 500.3 L54.4 491.1 L51.6 484.2 L51.2 476.3 L51.3 468.3 L44.5 462.3 L35.7 456.5 L35.4 448.2 L40.5 438.9 L42.2 430.5 L43.3 422.3 L49.5 413.7 L53.9 405.5 L49.0 397.9 L41.9 390.0 L41.5 381.8 L42.9 373.6 L41.1 365.1 L43.2 356.9 L52.9 350.0 L60.4 343.2 L59.6 335.0 L58.0 326.3 L60.0 318.5 L58.9 309.6 L54.1 299.2 L55.3 290.7 L64.3 285.5 L71.5 280.0 L74.1 272.5 L78.8 266.1 L84.8 260.7 L84.5 251.4 L79.8 238.9 L80.4 229.7 L86.4 224.3 L90.5 217.7 L94.1 210.6 L102.6 208.1 L111.8 206.8 L114.1 199.1 L112.9 187.4 L115.1 179.1 L118.8 172.3 L119.7 162.0 L122.4 153.7 L131.2 153.8 L140.6 155.4 L145.2 150.3 L148.5 143.2 L153.9 139.5 L157.3 132.6 L157.3 118.9 L159.5 108.7 L166.6 108.3 L173.9 108.9 L179.0 105.1 L185.3 104.1 L192.9 107.3 L197.6 103.1 L199.2 89.9 L202.3 80.2 L207.9 77.9 L212.9 73.8 L217.5 68.1 L224.3 71.2 L232.0 79.7 L237.6 79.8 L241.7 71.7 L246.5 67.2 L251.7 64.7 L256.0 55.7 L260.7 46.8 L266.7 50.0 L273.1 59.1 L278.6 61.3 L284.0 60.3 L289.4 64.2 L294.7 65.0 L300.0 55.0 Z%22/%3E%3Cpath d=%22M300 775 C 297 610, 303 390, 300 70%22 stroke-width=%222.4%22/%3E%3Cpath d=%22M300 660 C 241 654 162 604 103 582 M222 636 q -17 -16 -44 -46 M169 611 q -13 -16 -32 -46 M300 660 C 359 654 438 604 497 582 M378 636 q 17 -16 44 -46 M431 611 q 13 -16 32 -46 M300 604 C 235 598 149 548 85 526 M215 580 q -19 -16 -49 -46 M157 555 q -14 -16 -35 -46 M300 604 C 365 598 451 548 515 526 M385 580 q 19 -16 49 -46 M443 555 q 14 -16 35 -46 M300 548 C 233 542 143 492 76 470 M211 524 q -20 -16 -50 -46 M150 499 q -15 -16 -37 -46 M300 548 C 367 542 457 492 524 470 M389 524 q 20 -16 50 -46 M450 499 q 15 -16 37 -46 M300 492 C 232 486 142 436 74 414 M211 468 q -20 -16 -51 -46 M149 443 q -15 -16 -38 -46 M300 492 C 368 486 458 436 526 414 M389 468 q 20 -16 51 -46 M451 443 q 15 -16 38 -46 M300 436 C 234 430 145 380 79 358 M213 412 q -20 -16 -50 -46 M153 387 q -14 -16 -37 -46 M300 436 C 366 430 455 380 521 358 M387 412 q 20 -16 50 -46 M447 387 q 14 -16 37 -46 M300 380 C 237 374 153 324 90 302 M217 356 q -19 -16 -47 -46 M160 331 q -14 -16 -34 -46 M300 380 C 363 374 447 324 510 302 M383 356 q 19 -16 47 -46 M440 331 q 14 -16 34 -46 M300 324 C 242 318 165 268 108 246 M224 300 q -17 -16 -44 -46 M172 275 q -13 -16 -32 -46 M300 324 C 358 318 435 268 492 246 M376 300 q 17 -16 44 -46 M428 275 q 13 -16 32 -46 M300 268 C 250 262 183 212 133 190 M234 244 q -15 -16 -38 -46 M188 219 q -11 -16 -28 -46 M300 268 C 350 262 417 212 467 190 M366 244 q 15 -16 38 -46 M412 219 q 11 -16 28 -46 M300 212 C 261 206 208 156 169 134 M248 188 q -12 -16 -29 -46 M212 163 q -8 -16 -22 -46 M300 212 C 339 206 392 156 431 134 M352 188 q 12 -16 29 -46 M388 163 q 8 -16 22 -46 M300 156 C 278 150 249 100 227 78 M271 132 q -7 -16 -16 -46 M252 107 q -5 -16 -12 -46 M300 156 C 322 150 351 100 373 78 M329 132 q 7 -16 16 -46 M348 107 q 5 -16 12 -46%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .08;
  transform: rotate(18deg);
  pointer-events: none;
}


@media (max-width: 860px) {
  .media-split { grid-template-columns: minmax(0, 1fr); }
  .media-split__photo { max-width: 520px; }
}
@media (max-width: 600px) {
  .pack-tiles--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cert:hover .stamp, .cert:focus-visible .stamp, .doc:hover .stamp, .doc:focus-within .stamp { transform: none; }
}

/* ---------- 22. Responsywność sekcji ---------- */
@media (hover: none), (max-width: 1023px) {
  .window__ph { position: absolute; } /* na mobile zwykłe tło */
}

@media (max-width: 1023px) {
  /* tablet: dwa zdjęcia obok siebie, pod nimi indeks w dwóch kolumnach, strzałki w górę */
  .offer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "p1 p2" "idx idx";
    gap: 40px 32px;
  }
  .offer__photo { height: 460px; }
  .offer__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .offer__arrow { order: -1; margin: 0 0 18px; }
  .offer__item { display: flex; flex-direction: column; }
  .offer__arrow--right { justify-content: flex-start; }
  .offer__arrow { height: 72px; align-items: flex-start; }
  .offer__arrow--left svg { transform: rotate(90deg); transform-origin: 8px 8px; }    /* ← obrócona: w górę */
  .offer__arrow--right svg { transform: rotate(-90deg); transform-origin: 36px 36px; } /* → obrócona: w górę */
}

@media (max-width: 1023px) {
  .gallery__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .gallery__item:nth-child(n) { margin-top: 0; }
  .gallery__item:nth-child(even) { margin-top: 44px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__card { grid-column: 7 / span 6; margin-top: 48px; margin-left: -80px; padding: 38px 32px; }
  .biz__grid { gap: 56px; }
  .refs__grid { gap: 48px; }
  .cert { padding: 22px; gap: 14px; }
}

@media (max-width: 860px) {
  .biz__grid,
  .refs__grid { flex-direction: column; gap: 56px; }
  .faq__cols { grid-template-columns: minmax(0, 1fr); }
  .faq__col + .faq__col .faq__item:first-child { border-top: 0; }
  .faq__col:first-child .faq__item:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  /* mobile: zdjęcie Kiszonki, indeks, zdjęcie Świeże warzywa */
  .offer__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "p1" "idx" "p2"; gap: 32px; }
  .offer__photo { height: 420px; }
  .offer__list { display: block; }
  .offer__item--2 .offer__arrow { order: 1; margin: 18px 0 0; }
  .offer__arrow--right svg { transform: rotate(90deg); transform-origin: 8px 8px; }   /* w dół, do zdjęcia pod listą */

  .about__photo { --ar: 4 / 3; grid-column: 1 / -1; }
  .about__card {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: -64px 0 0;
    padding: 40px 28px;
  }
}

@media (max-width: 600px) {
  .window { min-height: 520px; }
  .window__content { padding-block: 72px; }
  .window__inner { min-height: 560px; }
  .numbers__list { gap: 14px; }
  .certs { grid-template-columns: minmax(0, 1fr); }
  .gallery__row { column-gap: 14px; }
  .gallery__item:nth-child(even) { margin-top: 28px; }
  .window--gold .window__label { top: 24px; bottom: auto; }
  .faq__q { grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 12px; }
  .faq__a { padding: 0 0 24px 40px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer__bar-inner { flex-direction: column; align-items: flex-start; }
  .section-foot .btn { width: 100%; justify-content: space-between; }
  .contact__actions .btn { width: 100%; justify-content: space-between; }
}

@media (max-width: 420px) {
  .gallery__row { grid-template-columns: minmax(0, 1fr); }
  .gallery__item:nth-child(even) { margin-top: 0; }
}

/* ---------- 23. Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .map .map__land { stroke-dashoffset: 0; fill-opacity: .86; }
  .js .map .map__city-dot,
  .js .map .map__city,
  .js .map .map__pin-drop,
  .js .map .map__bubble { opacity: 1; }
  .js .js-inview,
  .js .about__line,
  .js .about__photo::before,
  .js .about__photo > img { opacity: 1 !important; transform: none !important; }
}

/* Kontakt (strona główna): krótki opis pod hasłem „Porozmawiajmy!” */
.contact__lead { max-width: 560px; margin-top: clamp(32px, 4vw, 52px); color: var(--text); font-size: 1.125rem; line-height: 1.6; }
