/* Mięsny Zakątek, makieta F "Odświeżony Zakątek": jasna wersja obecnej marki */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-pl.woff2") format("woff2"); font-weight: 380 720; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --bg-2: #F7F3ED;
  --card: #FFFFFF;
  --photo: #F1EBE2;
  --line: #E9E1D6;
  --line-2: #D9CDBE;
  --text: #2B241F;
  --text-2: #5F544B;
  --text-3: #776C61;
  --brown: #493F36;
  --brown-2: #362E27;
  --brown-3: #2A231E;
  --gold: #C9A35B;
  --gold-soft: #E9D9B4;
  --gold-ink: #85652B; /* złoto do tekstu na jasnym tle (kontrast AA) */
  --olive: #6D8000;

  --f-head: "Yeseva One", Georgia, serif;
  --f-body: "Archivo", system-ui, sans-serif;

  --fs-body: clamp(1rem, .97rem + .15vw, 1.0938rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-h1: clamp(2.375rem, 1.7rem + 2.6vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem);
  --fs-h3: clamp(1.0625rem, 1rem + .25vw, 1.25rem);
  --fs-sm: .875rem;

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(72px, 8.5vw, 128px);
  --hdr: 84px;
  --r: 8px;
  --shadow: 0 1px 2px rgba(43, 36, 31, .04), 0 8px 24px -12px rgba(43, 36, 31, .14);
  --shadow-up: 0 2px 4px rgba(43, 36, 31, .05), 0 22px 44px -18px rgba(43, 36, 31, .26);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
html:not(.lenis) { scroll-behavior: smooth; }
.no-motion { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.7;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg, canvas, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--gold-soft); color: var(--brown-3); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--brown); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* typografia */
.h2 { font-family: var(--f-head); font-weight: 400; font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -.005em; color: var(--brown-3); text-wrap: balance; }
.kicker { font-family: var(--f-head); font-size: 1.0625rem; color: var(--gold-ink); margin-bottom: 10px; }
p { text-wrap: pretty; }
.cap { margin-top: 12px; font-size: .8125rem; color: var(--text-3); }
.sec__head { display: grid; gap: 14px; max-width: 640px; }
.sec__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec__lead { color: var(--text-2); font-size: var(--fs-lead); line-height: 1.6; }
/* złota kreska pod każdym nagłówkiem sekcji */
.h2::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 18px; background: var(--gold); }
.sec__head--center .h2::after { margin-inline: auto; }

/* link ze strzałką */
.lnk { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--brown); position: relative; padding-block: 10px 4px; }
.lnk::after { content: ""; position: absolute; left: 0; right: 30px; bottom: 0; height: 1.5px; background: var(--gold); transform-origin: left; transform: scaleX(.4); transition: transform .45s var(--ease-out); }
.lnk .i { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.lnk:hover::after { transform: scaleX(1); }
.lnk:hover .i { transform: translateX(4px); }
.lnk:active { opacity: .7; transition: opacity .1s; }

/* przyciski */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 6px;
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .3s, transform .15s;
}
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--brown { background: var(--brown); color: #fff; box-shadow: 0 6px 16px -8px rgba(54, 46, 39, .6); }
.btn--brown::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(233, 217, 180, .28) 50%, transparent 70%); transform: translateX(-110%); transition: transform .8s var(--ease-out); }
.btn--brown:hover { background: var(--brown-2); box-shadow: 0 10px 22px -10px rgba(54, 46, 39, .7); }
.btn--brown:hover::before { transform: translateX(110%); }
.btn--gold { background: var(--gold); color: var(--brown-3); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--line { border: 1.5px solid var(--line-2); color: var(--brown); background: #fff; }
.btn--line:hover { border-color: var(--brown); }

/* nagłówek */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: linear-gradient(rgba(30, 21, 15, .5) 0 0), #2a1f17 url("../img/deski-baner.webp") 0 0 / 1800px auto repeat-x; border-bottom: 1px solid rgba(0, 0, 0, .4); box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .55); transition: height .35s var(--ease), margin-bottom .35s var(--ease); }
/* po przewinięciu: niższy pasek (60 px); margines trzyma układ strony w miejscu, żeby treść nie skakała */
.hdr.is-small { height: 60px; margin-bottom: calc(var(--hdr) - 60px); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.hdr__logo { flex: none; align-self: flex-start; margin-top: 10px; transition: transform .35s var(--ease), margin-top .35s var(--ease); }
.hdr__logo img { width: 128px; height: auto; filter: drop-shadow(0 6px 10px rgba(43, 36, 31, .18)); }
.hdr.is-solid .hdr__logo { transform: scale(.86); transform-origin: left top; }
.hdr.is-small .hdr__logo { transform: scale(.68); margin-top: 7px; }
.hdr.is-small .hdr__cta { --h: 40px; }
.hdr__nav { margin-left: auto; }
.hdr__nav ul { display: flex; gap: 4px; }
.hdr__nav a { display: block; padding: 10px 11px; font-size: .9375rem; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); position: relative; transition: color .25s; }
@media (min-width: 1280px) { .hdr__nav a { font-size: 1rem; } }
.hdr__nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.hdr__nav a:hover, .hdr__nav a.is-on { color: #fff; }
.hdr__nav a:hover::after, .hdr__nav a.is-on::after { transform: scaleX(1); }
.hdr__act { display: flex; align-items: center; gap: 16px; }
.hdr__fb { display: inline-flex; width: 34px; height: 34px; flex: none; align-items: center; justify-content: center; border: 1.5px solid rgba(244, 235, 221, .5); border-radius: 50%; color: #F4EBDD; transition: border-color .25s, color .25s; }
.hdr__fb:hover { border-color: var(--gold-soft); color: #fff; }
.hdr__fb .i { width: 16px; height: 16px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); font-variant-numeric: tabular-nums; }
.hdr__tel .i { width: 18px; height: 18px; color: var(--gold-soft); }
.hdr__tel:hover { color: #fff; }
.hdr__menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1.5px solid rgba(244, 235, 221, .45); border-radius: 6px; color: #F4EBDD; }
.hdr__burger { display: grid; gap: 6px; width: 18px; }
.hdr__burger i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; }

/* menu mobilne */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; color: var(--text); display: flex; flex-direction: column;
  opacity: 0; transition: opacity .22s var(--ease), display .22s allow-discrete, overlay .22s allow-discrete; }
.menu[open] { opacity: 1; }
@starting-style { .menu[open] { opacity: 0; } }
.menu:not([open]) { display: none; }
.menu::backdrop { background: transparent; }
.menu__top { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu__logo { position: relative; z-index: 1; }
.menu__close { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line-2); border-radius: 6px; color: var(--brown); }
.menu__nav { flex: 1; padding-top: 20px; }
.menu__nav a { display: block; padding: 14px 0; font-family: var(--f-head); font-size: 1.75rem; color: var(--brown-3); border-bottom: 1px solid var(--line); transition: color .15s, opacity .15s; }
.menu__nav a:active { opacity: .55; }
.menu__nav a[aria-current] { color: var(--gold-ink); }
.menu__foot { display: grid; gap: 12px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.menu[open] .menu__nav li { animation: menuIn .6s var(--ease-out) both; animation-delay: calc(var(--i) * 50ms + 60ms); }
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }

/* 1. hero */
.hero { position: relative; isolation: isolate; padding-top: clamp(40px, 6vw, 88px); background:
  radial-gradient(60% 46% at 50% 58%, rgba(201, 163, 91, .16), transparent 72%),
  radial-gradient(40% 30% at 12% 20%, rgba(201, 163, 91, .07), transparent 70%),
  linear-gradient(180deg, #FCFAF6 0%, #F7F1E8 56%, var(--bg-2) 56%); }
/* delikatne ziarno, żeby jasne tło nie było płaskie */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .47 0 0 0 0 .38 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__fume { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__fume canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 2.5s ease .4s; }
.hero__fume canvas.is-on { opacity: 1; }
.hero__txt { position: relative; z-index: 2; text-align: left; display: grid; justify-items: start; gap: 22px; }
.hero__txt > * { max-width: 600px; }
.hero__txt > .hero__facts { max-width: 560px; }
.hero__h { font-family: var(--f-head); font-weight: 400; font-size: var(--fs-h1); line-height: 1.08; color: var(--brown-3); letter-spacing: -.01em; }
.hero__h .ln { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__h .ln > span { display: block; }
.js:not(.no-motion) .hero__h .ln > span { animation: lineUp 1.2s var(--ease-out) both; animation-delay: .15s; }
.js:not(.no-motion) .hero__h .ln:nth-child(2) > span { animation-delay: .27s; }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero__lead { max-width: 540px; font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.js:not(.no-motion) .hero__lead, .js:not(.no-motion) .hero__btns { animation: fadeUp 1s var(--ease-out) both; animation-delay: .5s; }
.js:not(.no-motion) .hero__btns { animation-delay: .62s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

.hero__smoke { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 2.4s ease .8s; }
.hero__smoke.is-on { opacity: .9; }

/* desktop: tekst po lewej, szkic wyrobów po prawej, wyśrodkowany na bloku tekstu (bez kolorowego zdjęcia, prośba klientki);
   telefon: kolorowe zdjęcie pod tekstem. Niewidoczna linia .hero__media to źródło dymu (nad wyrobami w szkicu albo nad zdjęciem) */
.hero { --pic-top: clamp(40px, 6vw, 88px); --pic-r: max(var(--gut), (100vw - var(--wrap)) / 2); --art-w: calc(min(50vw, 660px) + 60px); padding-bottom: var(--pic-top); }
.hero__txt { align-content: start; }
@media (min-width: 960px) {
  .hero__txt > *, .hero__txt > .hero__facts, .hero__lead { max-width: calc(100% - min(50vw, 660px) - 36px); }
  .hero__pic { display: none; }
  .hero__media { position: absolute; right: calc(var(--pic-r) + var(--art-w) * .1); width: calc(var(--art-w) * .75); top: calc(50% - var(--art-w) * .27); height: 0; pointer-events: none; }
  .hero__decor { z-index: 1; } /* szkic nad dymem: dym wychodzi zza wędlin */
  .hero__fume canvas.is-on { opacity: .7; } /* lżejszy dym przy jasnym szkicu */
}
.hero__pic picture, .hero__pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959.98px) {
  .hero { padding-bottom: 36px; }
  .hero__txt > * { max-width: 520px; }
  .hero__pic { position: relative; z-index: 1; width: calc(100% - 2 * var(--gut)); aspect-ratio: 3 / 2; margin: 30px var(--gut) 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(43, 36, 31, .55); }
  .hero__media { position: absolute; left: var(--gut); right: var(--gut); bottom: calc((100vw - 2 * var(--gut)) * 2 / 3 + 36px - 30px); height: 0; pointer-events: none; }
}
.js:not(.no-motion) .hero__pic { animation: fadeUp 1.2s var(--ease-out) both; animation-delay: .35s; }

/* szkic wyrobów: na telefonie blade tło za tytułem, na desktopie główna grafika hero */
.hero__decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: clip; }
.hero__decor img { position: absolute; height: auto; will-change: translate; }
.hero__art { width: 420px; right: -120px; top: -20px; opacity: .16; }
@media (min-width: 960px) { .hero__art { width: var(--art-w); right: calc(var(--pic-r) - 30px); top: 50%; translate: 0 -50%; opacity: 1; } }
@media (min-width: 960px) and (max-width: 1099.98px) { .hero__h { font-size: 3rem; } } /* tytuł w dwóch wierszach obok szkicu */


/* krótkie fakty pod przyciskami */
/* kolumna jak na telefonie: bez osieroconej pozycji i bez kolizji z odręczną strzałką */
.hero__facts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: .875rem; color: var(--text-2); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .i { width: 22px; height: 22px; stroke: var(--gold); stroke-width: 1.5; }
.js:not(.no-motion) .hero__facts { animation: fadeUp 1s var(--ease-out) both; animation-delay: .74s; }

/* odręczny podpis do dymu */
@keyframes draw { to { stroke-dashoffset: 0; } }

/* pieczęć "100% z mięsa" */
@keyframes spin { to { transform: rotate(360deg); } }

/* sekcje */
.sec { padding-block: var(--sec); position: relative; }
.sec--alt { background: var(--bg-2); }

/* odsłanianie */
.js:not(.no-motion) [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js:not(.no-motion) [data-rv].is-in { opacity: 1; transform: none; }

.frame { position: relative; overflow: clip; border-radius: var(--r); background: var(--photo); }
.frame picture, .card__img picture { width: 100%; height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
@supports (animation-timeline: view()) {
  .js:not(.no-motion) [data-parallax] img { scale: 1.1; animation: plx linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes plx { from { translate: 0 -4%; } to { translate: 0 4%; } }
}

/* dym wychodzi zza górnej krawędzi pierwszego zdjęcia: szynki (desktop), zdjęcie w hero (telefon).
   Dół płótna chowa się 30 px pod zdjęciem; góra i boki wygaszone maską, żeby nie było twardej krawędzi */
.fume { position: absolute; left: -6%; right: -6%; bottom: 0; width: 112%; height: 190px; pointer-events: none; opacity: 0; transition: opacity 2s ease;
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent), linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, #000 40%, transparent), linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); mask-composite: intersect; }
.fume.is-on { opacity: 1; }
/* dym dopiero po odsłonięciu zdjęcia (data-rv), nigdy przed nim */
.js:not(.no-motion) .welcome__pics:has(.welcome__p1:not(.is-in)) .fume { opacity: 0; transition-duration: .2s; }
.welcome__pics .fume { left: -8%; right: auto; width: 106%; bottom: calc(100% - 30px); height: 260px; }
@media (min-width: 960px) { .hero__media .fume { display: none; } }
@media (max-width: 959.98px) { .welcome__pics .fume { display: none; } }

/* 2. witamy */
.welcome { padding-top: calc(var(--sec) - 36px); }
@media (min-width: 960px) { .welcome { padding-top: calc(var(--sec) - clamp(40px, 6vw, 88px)); } }
.welcome__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; align-items: center; }
.welcome__pics { grid-column: 1 / span 6; position: relative; padding-bottom: 18%; padding-right: 10%; }
.welcome__p1 { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.welcome__p2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--bg-2); border-radius: 12px; box-shadow: var(--shadow-up); }
.welcome__txt { grid-column: 8 / -1; display: grid; gap: 18px; }
.welcome__txt > p:not(.kicker) { color: var(--text-2); }
.welcome__txt .h2 { margin-bottom: 4px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-top: 14px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.feats li { display: flex; gap: 14px; align-items: flex-start; }
.feats__ic { width: 36px; height: 36px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feats span { display: grid; gap: 2px; font-size: .875rem; color: var(--text-3); line-height: 1.45; }
.feats b { font-size: .9375rem; font-weight: 600; color: var(--brown-3); }

/* 3. wędliny */
.tabs { position: relative; display: flex; gap: 4px; margin: 40px auto 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; width: fit-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; padding: 14px 18px; font-size: .9375rem; font-weight: 560; color: var(--text-3); white-space: nowrap; transition: color .25s; }
.tabs [role="tab"]:hover, .tabs [aria-selected="true"] { color: var(--brown-3); }
.tabs [role="tab"]:active { color: var(--brown); opacity: .7; }
.tabs__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--w, 0); background: var(--gold); transform: translateX(var(--x, 0)); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.car { margin-top: 40px; }
.car__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.car__item { min-width: 0; }
.car__panel.is-entering .car__item { animation: cardIn .7s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 55ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.card { display: block; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: clip; transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out), border-color .3s, scale .3s var(--ease-out); }
.card:active { scale: .985; transition-duration: .4s, .4s, .3s, .1s; }
.card:hover { box-shadow: var(--shadow-up); transform: translateY(-4px); border-color: transparent; }
.card__img { display: block; aspect-ratio: 1; overflow: clip; background: var(--photo); position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.05); }
.card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: .8125rem; color: var(--text-3); text-align: center; padding: 16px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(201, 163, 91, .07) 14px 15px); }
.card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 18px; }
.card__name { font-family: var(--f-head); font-size: 1.0625rem; line-height: 1.3; color: var(--brown-3); }
.card__arr { width: 18px; height: 18px; color: var(--gold); transition: transform .4s var(--ease-out); }
.card:hover .card__arr { transform: translateX(4px); }
.products__foot { margin-top: 48px; display: flex; justify-content: center; }

/* 4. przed i po dymie */
.smoke__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 36px; align-items: center; }
.smoke__txt { grid-column: 1 / span 4; display: grid; gap: 18px; }
.smoke__txt > p { color: var(--text-2); }
.ba { grid-column: 6 / -1; }
.ba__frame { position: relative; aspect-ratio: 1280 / 747; border-radius: var(--r); overflow: clip; background: var(--photo); box-shadow: var(--shadow-up); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.ba__frame picture { position: absolute; inset: 0; }
.ba__img { width: 100%; height: 100%; object-fit: cover; }
/* surowa po lewej, uwędzona po prawej (kolejność jak w tytule) */
.ba__img--smoked { -webkit-mask-image: linear-gradient(270deg, #000 calc(var(--p) * 116% - 16%), transparent calc(var(--p) * 116%)); mask-image: linear-gradient(270deg, #000 calc(var(--p) * 116% - 16%), transparent calc(var(--p) * 116%)); }
.ba__smoke { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.ba__line { position: absolute; top: 0; bottom: 0; left: calc(108% - var(--p) * 116%); width: 1.5px; background: rgba(255, 255, 255, .7); pointer-events: none; }
.ba__line b { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px -6px rgba(43, 36, 31, .5); }
.ba__line b::before, .ba__line b::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--brown); border-width: 0 0 1.75px 1.75px; }
.ba__line b::before { left: 13px; transform: translateY(-50%) rotate(45deg); }
.ba__line b::after { right: 13px; transform: translateY(-50%) rotate(-135deg); }
.ba__tag { position: absolute; bottom: 14px; padding: 6px 12px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: var(--brown-3); font-size: .8125rem; font-weight: 600; }
.ba__tag--a { right: 14px; }
.ba__tag--b { left: 14px; }
/* suwak tylko dla klawiatury i czytników; palec i mysz obsługuje app.js (pointer events) */
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.ba__frame:has(.ba__range:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 5. bracia */
.bros__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; align-items: center; }
.bros__fig { grid-column: 1 / span 7; }
.bros__fig .frame { aspect-ratio: 1350 / 788; box-shadow: var(--shadow); }
.bros__txt { grid-column: 9 / -1; display: grid; gap: 20px; justify-items: start; }
.bros__txt > p { color: var(--text-2); }
.quote { position: relative; padding: 4px 0 0 22px; border-left: 2px solid var(--gold); }
.quote p { font-family: var(--f-head); font-size: clamp(1.125rem, 1.05rem + .35vw, 1.375rem); line-height: 1.5; color: var(--brown-3); }
.quote footer { margin-top: 10px; font-size: var(--fs-sm); color: var(--text-3); }

/* 6. sklepy */
.shops__head { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 28px; }
.shops__head > div:first-child { max-width: 620px; display: grid; gap: 14px; }
.shops__loc { display: grid; gap: 8px; justify-items: end; }
.shops__status { font-size: .875rem; color: var(--text-2); max-width: 36ch; text-align: right; }
.shops__status:empty { display: none; }
.shops__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; margin-top: 44px; align-items: stretch; }
.shops__list { display: grid; gap: 8px; align-content: start; }
.shop { display: grid; grid-template-columns: 1fr 1.25fr auto; gap: 4px 18px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-out); cursor: default; }
.shop:hover, .shop.is-hot { border-color: var(--gold); box-shadow: var(--shadow); }
.shop.is-near { border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive), var(--shadow); }
.shop__name { font-family: var(--f-head); font-size: 1.0625rem; font-weight: 400; color: var(--brown-3); line-height: 1.3; }
.shop__km { font-size: .8125rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.shop.is-near .shop__km { color: var(--olive); font-weight: 600; }
.shop__b { font-size: .875rem; color: var(--text-2); line-height: 1.45; }
/* większe pole dotyku bez zmiany układu */
.shop__tel { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--brown); font-weight: 600; font-variant-numeric: tabular-nums; }
.shop__tel:hover { color: var(--brown-3); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.shop__go { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--brown); transition: background-color .25s, color .25s, border-color .25s; }
.shop__go .i { width: 17px; height: 17px; }
.shop__go:hover { background: var(--brown); border-color: var(--brown); color: #fff; }
.shop__go:active { scale: .92; }
.shop__go { transition: background-color .25s, color .25s, border-color .25s, scale .12s; }
.map { position: sticky; top: calc(var(--hdr) + 20px); min-height: 560px; height: 100%; max-height: 760px; border-radius: 12px; overflow: clip; border: 1px solid var(--line); background: var(--photo); box-shadow: var(--shadow); z-index: 0; }
.map .leaflet-container { font-family: var(--f-body); background: #F3F0EB; }
/* kolorowe kafelki OSM wyciszone do ciepłej szarości marki */
.map .leaflet-tile-pane { filter: grayscale(1) sepia(.2) brightness(1.15) contrast(.72); }
.mz-pin { width: 18px !important; height: 18px !important; margin: -9px 0 0 -9px !important; border-radius: 50%; background: var(--brown); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(43, 36, 31, .4); transition: transform .3s var(--ease-out), background-color .25s; }
.mz-pin.is-hot { transform: scale(1.35); background: var(--gold); }
.mz-pin--core { width: 26px !important; height: 26px !important; margin: -13px 0 0 -13px !important; background: var(--gold); border-width: 4px; }
.mz-pin--you { background: var(--olive); }
.leaflet-tooltip.mz-tip { background: #fff; border: 0; border-radius: 6px; box-shadow: 0 6px 16px -6px rgba(43, 36, 31, .35); color: var(--brown-3); font: 600 .8125rem var(--f-body); padding: 5px 10px; }
.leaflet-tooltip.mz-tip::before { display: none; }
.leaflet-tooltip.mz-tip { font-weight: 560; font-size: .75rem; padding: 3px 8px; transition: background-color .25s, color .25s; }
.leaflet-tooltip.mz-tip--core { font-weight: 700; font-size: .8125rem; padding: 5px 10px; }
.leaflet-tooltip.mz-tip.is-hot { background: var(--brown); color: #fff; }
.leaflet-control-attribution { font-size: 10px !important; }

/* 7. kontakt */
.contact { background: var(--brown); color: #EFE7DC; padding-block: var(--sec); position: relative; }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 85% 0%, rgba(201, 163, 91, .14), transparent 60%); }
.contact .h2 { color: #fff; }
.contact__grid { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; align-items: start; }
.contact__main { grid-column: 1 / span 5; display: grid; gap: 16px; }
.contact__lead { color: #CDBFAE; }
.contact__list { display: grid; gap: 20px; margin-top: 14px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__ic { width: 44px; height: 44px; flex: none; padding: 11px; border-radius: 50%; background: rgba(201, 163, 91, .14); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact__list div { display: grid; gap: 2px; }
.contact__list span { font-size: .8125rem; color: #BFB19F; }
.contact__list a, .contact__list p { color: #fff; font-weight: 520; font-variant-numeric: tabular-nums; }
/* pole dotyku ok. 44 px bez zmiany odstępów */
.contact__list a { transition: color .25s; width: fit-content; padding-block: 8px; margin-block: -8px; }
.contact__list a:hover { color: var(--gold-soft); }
.faq { grid-column: 7 / -1; }
.faq__h { font-family: var(--f-head); font-weight: 400; font-size: 1.375rem; color: #fff; margin-bottom: 14px; }
.faq__list { border-top: 1px solid rgba(239, 231, 220, .18); }
.faq__i { border-bottom: 1px solid rgba(239, 231, 220, .18); interpolate-size: allow-keywords; }
.faq__i summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 560; color: #fff; transition: color .25s; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary:hover { color: var(--gold-soft); }
.faq__ic { position: relative; width: 14px; height: 14px; flex: none; color: var(--gold); }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .4s var(--ease-out); }
.faq__ic::after { transform: rotate(90deg); }
.faq__i[open] .faq__ic::after { transform: rotate(0); }
.faq__i::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq__i[open]::details-content { height: auto; }
.faq__a { padding: 0 40px 22px 0; color: #CDBFAE; }
.faq__a a { color: #fff; text-decoration: underline; text-decoration-color: rgba(201, 163, 91, .6); text-underline-offset: 3px; }

/* stopka */
.ftr { background: var(--brown-3); color: #CDBFAE; padding-top: clamp(56px, 6vw, 80px); padding-bottom: 28px; font-size: .9375rem; }
.ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr; gap: 40px; }
.ftr__brand { display: grid; gap: 18px; align-content: start; max-width: 30ch; }
.ftr__logo img { width: 128px; }
.ftr__h { font-family: var(--f-head); font-weight: 400; font-size: 1.0625rem; color: #fff; margin-bottom: 14px; }
.ftr__col ul { display: grid; gap: 8px; }
.ftr__col a, .ftr__col address { color: #CDBFAE; font-style: normal; line-height: 1.7; transition: color .25s; }
.ftr__col a:hover { color: var(--gold-soft); }
.ftr__fb { display: inline-block; margin-top: 10px; }
.ftr__towns { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(239, 231, 220, .14); font-size: .8125rem; color: #9C8E7E; }
.ftr__bot ul { display: flex; flex-wrap: wrap; gap: 24px; }
.ftr__bot a, .ftr__bot button { color: #9C8E7E; transition: color .25s; }
.ftr__bot a:hover, .ftr__bot button:hover { color: #fff; }
.ftr__up { display: inline-flex; align-items: center; gap: 6px; }
.ftr__up .i { width: 14px; height: 14px; }

.mbar { display: none; }

/* tablet */
@media (max-width: 1099.98px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__act { margin-left: auto; }
  .hdr__menu { display: inline-flex; }
  .car__track { grid-template-columns: repeat(3, 1fr); }
  .welcome__pics { grid-column: 1 / -1; max-width: 640px; }
  .welcome__txt { grid-column: 1 / -1; }
  .smoke__txt, .ba { grid-column: 1 / -1; }
  .shops__grid { grid-template-columns: 1fr; }
  .map { position: relative; top: 0; order: -1; min-height: 0; height: 420px; }
  .bros__fig, .bros__txt { grid-column: 1 / -1; }
  .contact__main, .faq { grid-column: 1 / -1; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}

/* telefon */
@media (max-width: 767.98px) {
  :root { --hdr: 68px; }
  .hdr__logo { margin-top: 8px; }
  .hdr.is-small { height: 58px; margin-bottom: calc(var(--hdr) - 58px); }
  .hdr.is-small .hdr__logo { transform: scale(.86); margin-top: 6px; }
  .hdr__logo img { width: 100px; }
  .hdr__tel span { display: none; }
  .hdr__tel { width: 44px; height: 44px; justify-content: center; border: 1.5px solid rgba(244, 235, 221, .45); border-radius: 6px; }
  .hdr__act { gap: 8px; }
  .hero { padding-top: 48px; background: radial-gradient(80% 40% at 50% 62%, rgba(201, 163, 91, .16), transparent 72%), linear-gradient(180deg, #FCFAF6 0%, #F7F1E8 70%, var(--bg-2) 70%); }
  .hero__btns { width: 100%; }
  .hero__btns .btn { flex: 1 1 100%; }
  .welcome__pics { padding-right: 8%; }
  .feats { grid-template-columns: 1fr; }
  .car__track { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: .9375rem; }
  .tabs { justify-content: flex-start; width: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .shops__head { grid-template-columns: 1fr; }
  .shops__loc { justify-items: start; }
  .shops__status { text-align: left; }
  .shop { grid-template-columns: 1fr auto; }
  .shop__b { grid-column: 1; grid-row: 2; }
  .shop__go { grid-column: 2; grid-row: 1 / span 2; }
  .map { height: 340px; }
  .ftr__top { grid-template-columns: 1fr; gap: 32px; }
  .ftr__bot { flex-direction: column; }
  /* linki w stopce: pole dotyku ok. 44 px */
  .ftr__col ul { gap: 0; }
  .ftr__col a { display: inline-block; padding-block: 10px; }
  .ftr__bot a, .ftr__bot button { display: inline-block; padding-block: 12px; }
  .ftr__bot ul { gap: 0 24px; }
  .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 10px 30px -12px rgba(43, 36, 31, .35);
    transform: translateY(calc(100% + 24px)); transition: transform .5s var(--ease-out);
  }
  .mbar.is-on { transform: none; }
  .mbar__a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 8px; font-size: .9375rem; font-weight: 600; color: var(--brown); }
  .mbar__a:first-child { background: var(--brown); color: #fff; }
  .mbar__a .i { width: 18px; height: 18px; }
}

/* ograniczony ruch: bez animacji i przesunięć, krótkie zmiany koloru i przezroczystości zostają */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; }
.no-motion .card:hover, .no-motion .tile:hover { transform: none; }
.no-motion .card:hover .card__img img, .no-motion .gal__item:hover img { transform: none; }

/* mniej przezroczystości: pełne tła zamiast rozmycia */
@media (prefers-reduced-transparency: reduce) {
  .mbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* większy kontrast: ciemniejszy tekst pomocniczy i wyraźne linie */
@media (prefers-contrast: more) {
  :root { --text-2: #3F362F; --text-3: #4F463E; --line: #B9AC9C; --line-2: #8E8276; --gold-ink: #6A4F1F; }
  .hdr { background: #2a1f17; } /* jasne napisy w nagłówku wymagają ciemnego tła */
  .mbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--line-2); }
}
