/* Jadłospisy Polska — szata „Gramatura”.
   Editorial jak magazyn kulinarny, precyzja jak waga kuchenna: krem jak papier, głęboka zieleń jak atrament,
   podziałki i cienkie linie, liczby w Fraunces. Najpierw telefon (od 360 px). Bez zasobów z zewnątrz. */

/* --- kroje (lokalne, ścieżki względem tego pliku) ------------------------------------------------ */
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(fonts/fraunces-pl.woff2) format('woff2');
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-pl.woff2) format('woff2');
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}

/* --- tokeny ---------------------------------------------------------------------------------------- */
:root {
  --sage: #2F6B4F;        /* szałwia: przyciski, znak */
  --sage-2: #3F8F68;      /* jaśniejsza szałwia: podziałki na ciemnym */
  --ink: #17322A;         /* głęboka zieleń: nagłówki, sekcje ciemne */
  --ink-2: #1E3F35;
  --cream: #F7F3EA;       /* tło strony */
  --paper: #FCFAF5;       /* karty */
  --apricot: #E9965A;     /* akcent, najwyżej 10% powierzchni */
  --apricot-2: #F3B88C;
  --mint: #DCEBE2;        /* tła pól, wyróżnienia */
  --graphite: #2B2F2C;    /* tekst */
  --muted: #56605A;
  --line: rgba(23, 50, 42, .14);
  --line-2: rgba(23, 50, 42, .28);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 5vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --shadow: 0 1px 2px rgba(23, 50, 42, .06), 0 12px 32px -12px rgba(23, 50, 42, .22);
  --shadow-lg: 0 2px 4px rgba(23, 50, 42, .06), 0 30px 60px -24px rgba(23, 50, 42, .38);

  /* ziarno papieru (SVG jako data:, dozwolone przez CSP img-src) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.2 0 0 0 0 0.16 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* podziałka linijki: drobne co 8 px, duże co 80 px */
  --ruler: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 80px),
           repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px);
}

/* --- podstawy -------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--cream); color: var(--graphite);
  font: 400 1.0625rem/1.62 var(--sans); font-feature-settings: 'ss01', 'cv11';
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: -.018em; margin: 0; }
h1 { font-size: clamp(2.75rem, 10.5vw, 6.4rem); line-height: .96; letter-spacing: -.03em; }
h2 { font-size: clamp(2.05rem, 6.6vw, 3.7rem); line-height: 1.02; max-width: 18ch; }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }
b, strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--apricot); color: var(--ink); }
.no-js .js-only { display: none !important; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow-wrap { max-width: 860px; }
.narrow { max-width: 60ch; }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.55; color: var(--graphite); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: var(--cream); font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; color: var(--cream); }

/* eyebrow: mała podziałka przed nazwą sekcji */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.1rem;
  font: 650 .72rem/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--sage);
}
.eyebrow::before {
  content: ""; width: 34px; height: 9px; color: var(--sage);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat,
              repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 8px) 0 100% / 100% 6px no-repeat,
              linear-gradient(currentColor, currentColor) 0 0 / 1.5px 100% no-repeat;
}

/* --- przyciski ------------------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.15 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn small { font-size: .78em; font-weight: 500; opacity: .78; white-space: nowrap; }
.btn-primary { background: var(--sage); color: var(--cream); box-shadow: 0 10px 24px -12px rgba(47, 107, 79, .9); }
.btn-primary:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(23, 50, 42, .04); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-big { min-height: 62px; padding: 0 30px; font-size: 1.1rem; }

/* --- nagłówek -------------------------------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, .84); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(23, 50, 42, .5); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo img { width: 38px; height: 38px; transition: transform .5s var(--ease); }
.logo:hover img { transform: rotate(-8deg) scale(1.05); }
.logo span { font: 600 1.2rem/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.logo b { font-weight: 600; color: var(--sage); margin-left: .26em; }
/* telefon: menu w drugim rzędzie, przewijane w bok */
.top-in { flex-wrap: wrap; row-gap: 0; }
.top nav { order: 3; width: 100%; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto;
  scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.top nav::-webkit-scrollbar { display: none; }
.top nav ul { flex-wrap: nowrap; white-space: nowrap; }
.top nav a { padding: 6px 12px 12px; font-size: .9rem; }
.top nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.top nav a {
  position: relative; display: block; padding: 10px 12px; color: var(--ink); text-decoration: none;
  font-size: .95rem; font-weight: 500;
}
.top nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1.5px; background: var(--apricot);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.top nav a:hover::after, .top nav a:focus-visible::after, .top nav a[aria-current="page"]::after { transform: scaleX(1); }
.top nav a[aria-current="page"] { color: var(--sage); }
.top .btn-small { font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.top .btn-small::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--apricot);
  box-shadow: 0 0 0 0 rgba(233, 150, 90, .6); animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(233, 150, 90, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(233, 150, 90, 0); } }

/* --- hero ------------------------------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; padding: 28px 0 0;
  background:
    radial-gradient(60% 50% at 88% 18%, rgba(220, 235, 226, .95), transparent 70%),
    radial-gradient(40% 40% at 6% 92%, rgba(233, 150, 90, .14), transparent 70%),
    var(--cream);
}
.hero::before {
  content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .22; pointer-events: none;
}
.hero-in { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-text > * { animation: rise .7s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(4) { animation-delay: .18s; }
.hero-text > :nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: .01; transform: translateY(26px); } }
.hero h1 { margin-bottom: .32em; text-wrap: balance; }
.hero .lead { max-width: 34ch; margin-bottom: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.signed {
  display: flex; align-items: center; gap: 12px; margin: 1.8rem 0 0; color: var(--muted);
  font: 500 .98rem/1.35 var(--serif); letter-spacing: 0;
}
.signed::before { content: ""; width: 28px; height: 1.5px; background: var(--apricot); flex: none; }

/* zdjęcie w łuku („klosz”) z tarczą wagi */
.hero-figure {
  position: relative; margin: 40px auto 0; width: min(72vw, 440px);
  animation: rise .8s .05s var(--ease) both;
}
.arch {
  position: relative; z-index: 2; display: block; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 28px 28px; background: var(--mint); box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.arch::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; animation: settle 1.2s var(--ease) both; }
@keyframes settle { from { transform: scale(1.09); } }

.dial {
  position: absolute; z-index: 1; left: -12%; top: 0; width: 124%; aspect-ratio: 1;
  transform: translateY(-9.7%); pointer-events: none; color: var(--ink);
}
.dial::before, .dial::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: weigh 1.7s .15s cubic-bezier(.3, .7, .3, 1) both; will-change: transform;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* drobna podziałka co 3° */
.dial::before {
  background: repeating-conic-gradient(from -.4deg, currentColor 0 .8deg, transparent .8deg 3deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 12px)),
                conic-gradient(from -96deg, #000 0 192deg, transparent 192deg);
  mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 12px)),
        conic-gradient(from -96deg, #000 0 192deg, transparent 192deg);
  opacity: .38;
}
/* duża podziałka co 15° */
.dial::after {
  background: repeating-conic-gradient(from -.7deg, var(--sage) 0 1.4deg, transparent 1.4deg 15deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 24px), #000 calc(100% - 24px)),
                conic-gradient(from -96deg, #000 0 192deg, transparent 192deg);
  mask: radial-gradient(closest-side, transparent calc(100% - 24px), #000 calc(100% - 24px)),
        conic-gradient(from -96deg, #000 0 192deg, transparent 192deg);
}
/* waga „ustawia się”: wychylenie, kilka tłumionych drgań, spokój */
@keyframes weigh {
  0% { transform: rotate(-58deg); opacity: 0; }
  12% { opacity: 1; }
  48% { transform: rotate(7deg); }
  66% { transform: rotate(-3.2deg); }
  80% { transform: rotate(1.3deg); }
  91% { transform: rotate(-.45deg); }
  100% { transform: rotate(0); opacity: 1; }
}
.dial-needle {
  position: absolute; z-index: 3; left: 50%; top: -14px; width: 18px; height: 40px; margin-left: -9px;
  background: var(--apricot); clip-path: polygon(50% 100%, 0 0, 100% 0); border-radius: 2px;
  filter: drop-shadow(0 4px 6px rgba(23, 50, 42, .25));
}
.dial-needle::after {
  content: ""; position: absolute; left: 50%; top: -6px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--ink);
}
.hero-figure figcaption {
  position: absolute; z-index: 3; left: -6%; bottom: 9%; display: grid; place-content: center; text-align: center;
  width: 128px; height: 128px; border-radius: 50%; background: var(--paper); color: var(--muted);
  box-shadow: var(--shadow-lg), inset 0 0 0 6px var(--paper), inset 0 0 0 7.5px var(--line-2);
  font: 500 .86rem/1.15 var(--sans); transform: rotate(-9deg);
  animation: stamp .6s 1.05s cubic-bezier(.3, 1.5, .5, 1) both;
}
.hero-figure figcaption b {
  display: block; font: 650 2.25rem/1 var(--serif); color: var(--ink); letter-spacing: -.03em; margin-bottom: 2px;
}
@keyframes stamp { from { opacity: 0; transform: rotate(-30deg) scale(.4); } }

/* pasek liczników jak linijka */
.stats {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  list-style: none; margin: 56px 0 0; padding: 0; border-top: 1.5px solid var(--ink);
}
.stats::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; color: rgba(23, 50, 42, .45);
  background: var(--ruler); background-size: 100% 12px, 100% 6px; background-repeat: no-repeat;
}
.stats li { padding: 30px 14px 30px 0; border-bottom: 1px solid var(--line); }
.stats li:nth-child(odd) { padding-right: 18px; }
.stats li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.stats strong {
  display: block; font: 600 clamp(2.4rem, 9vw, 4.3rem)/1 var(--serif); color: var(--ink);
  letter-spacing: -.035em; font-variant-numeric: tabular-nums lining-nums;
}
.stats span { display: block; margin-top: 8px; font-size: .9rem; line-height: 1.35; color: var(--muted); max-width: 18ch; }

/* --- sekcje ---------------------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(72px, 12vw, 136px) 0; content-visibility: auto; contain-intrinsic-size: auto 1200px; }
.section h2 { margin-bottom: clamp(20px, 3vw, 28px); text-wrap: balance; }
.section-tint { background: var(--mint); }
.section-tint::before {
  content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .12; pointer-events: none;
}
.section-tint > .wrap { position: relative; }
.section-deep {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(63, 143, 104, .35), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(233, 150, 90, .1), transparent 70%),
    var(--ink);
  color: rgba(247, 243, 234, .86);
}
.section-deep::before {
  content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .28; pointer-events: none;
}
.section-deep h2, .section-deep h3 { color: var(--cream); }
.section-deep .eyebrow { color: var(--mint); }
.section-deep .eyebrow::before { color: var(--mint); }
.section-deep .btn-ghost { color: var(--cream); border-color: rgba(247, 243, 234, .35); }

/* --- jak to działa: oś czasu ---------------------------------------------------------------------- */
.steps { position: relative; list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 14px; }
.steps::before {
  /* pionowa oś na telefonie */
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1.5px;
  background: repeating-linear-gradient(var(--line-2) 0 6px, transparent 6px 12px);
}
.step { position: relative; padding: 0 0 26px 82px; min-height: 56px; }
.step-n {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream); border: 1.5px solid var(--ink); color: var(--ink);
  font: 600 1.45rem/1 var(--serif); font-variant-numeric: lining-nums;
  transition: background-color .6s var(--ease) .3s, color .6s var(--ease) .3s, transform .6s var(--ease) .3s;
}
.step.is-in .step-n, .no-js .step-n { background: var(--ink); color: var(--cream); }
.step:hover .step-n { transform: rotate(-12deg) scale(1.06); }
.step h3 { font-size: clamp(1.35rem, 3.6vw, 1.7rem); padding-top: 12px; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 40ch; margin: 0; }

/* --- cennik ---------------------------------------------------------------------------------------- */
.plans { display: grid; gap: 18px; margin-top: 44px; }
.plan {
  position: relative; padding: 32px 26px 28px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), outline-color .5s var(--ease);
  outline: 3px solid transparent; outline-offset: 4px;
}
.plan h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 650; letter-spacing: .02em; color: var(--sage); margin-bottom: 14px; }
.plan-price { margin: 0 0 6px; color: var(--muted); font-size: 1rem; }
.plan-price b {
  display: inline-block; margin-right: 6px; font: 600 clamp(3rem, 12vw, 4.2rem)/1 var(--serif);
  letter-spacing: -.04em; color: var(--ink); font-variant-numeric: lining-nums;
}
.plan-alt { color: var(--muted); font-size: .98rem; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed var(--line-2); }
.plan-alt b { color: var(--ink); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--mint);
}
.ticks li::after {
  content: ""; position: absolute; left: 8px; top: calc(.28em + 4px); width: 5px; height: 9px;
  border: solid var(--sage); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.plan-featured { background: var(--ink); color: rgba(247, 243, 234, .82); border-color: var(--ink); }
.plan-featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(80% 60% at 100% 0%, rgba(63, 143, 104, .45), transparent 70%), var(--grain);
  opacity: .9;
}
.plan-featured > * { position: relative; }
.plan-featured h3 { color: var(--mint); }
.plan-featured .plan-price, .plan-featured .plan-alt { color: rgba(247, 243, 234, .74); }
.plan-featured .plan-price b, .plan-featured .plan-alt b { color: var(--cream); }
.plan-featured .plan-alt { border-color: rgba(220, 235, 226, .25); }
.plan-featured .ticks li::before { background: rgba(220, 235, 226, .16); }
.plan-featured .ticks li::after { border-color: var(--mint); }
.badge {
  position: absolute; top: -13px; right: 22px; margin: 0; padding: 6px 14px; border-radius: 999px;
  background: var(--apricot); color: var(--ink); font: 650 .78rem/1.2 var(--sans); letter-spacing: .04em;
  box-shadow: 0 8px 18px -8px rgba(233, 150, 90, .9);
}
/* pakiet się opłaca: karta „unosi się” i dostaje morelową obwódkę */
.plan.is-better { transform: translateY(-6px); outline-color: var(--apricot); box-shadow: 0 34px 60px -28px rgba(23, 50, 42, .7); }
.plan.is-better .badge { animation: nudge 1.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* kalkulator jak waga: suwaki po lewej, wyświetlacz po prawej */
.calc {
  display: grid; gap: 22px; margin-top: 26px; padding: 28px 22px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.calc h3 { font-size: clamp(1.5rem, 4.4vw, 2rem); }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 10px 14px; align-items: center; }
.calc-row label { grid-column: 1 / -1; font-weight: 600; color: var(--ink); font-size: 1rem; }
.calc-row input[type=number] {
  width: 100%; height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--cream);
  font: 600 1.15rem/1 var(--sans); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums;
  transition: border-color .2s, box-shadow .2s;
}
.calc-row input[type=number]:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(47, 107, 79, .18); }
.calc-row input[type=range] {
  --fill: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer;
}
.calc-row input[type=range]::-webkit-slider-runnable-track {
  height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--sage) var(--fill), transparent var(--fill)),
              repeating-linear-gradient(90deg, rgba(23, 50, 42, .22) 0 1px, transparent 1px 10%) ,
              var(--mint);
}
.calc-row input[type=range]::-moz-range-track { height: 10px; border-radius: 999px; background: var(--mint); }
.calc-row input[type=range]::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--sage); }
.calc-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 6px 14px -4px rgba(23, 50, 42, .5);
  transition: transform .2s var(--ease);
}
.calc-row input[type=range]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink);
}
.calc-row input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-row input[type=range]:focus { outline: none; }
.calc-row input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(233, 150, 90, .55); }

.calc-out {
  position: relative; display: block; overflow: hidden; padding: 26px 24px 24px; border-radius: 18px;
  background: var(--ink); color: rgba(247, 243, 234, .8);
  box-shadow: inset 0 0 0 1px rgba(220, 235, 226, .1), inset 0 -30px 60px -30px rgba(63, 143, 104, .5);
}
.calc-out::before {
  /* podziałka wyświetlacza */
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 10px; color: rgba(220, 235, 226, .35);
  background: var(--ruler); background-size: 100% 10px, 100% 5px; background-repeat: no-repeat;
}
.calc-label { display: block; margin-top: 8px; font: 650 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
#calc-single {
  display: block; margin: 10px 0 12px; font: 600 clamp(3.1rem, 14vw, 5.2rem)/1 var(--serif); color: var(--cream);
  letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}
#calc-single.is-tick { animation: tick .35s var(--ease); }
@keyframes tick { 0% { transform: translateY(0); } 40% { transform: translateY(-4px); } 100% { transform: translateY(0); } }
.calc-hint { display: block; min-height: 1.5em; font-size: .98rem; line-height: 1.45; color: rgba(247, 243, 234, .78); }
.calc-hint b { color: var(--cream); }
.calc.is-better .calc-hint {
  display: inline-block; padding: 8px 14px; border-radius: 12px; background: var(--apricot); color: var(--ink); font-weight: 500;
}
.calc.is-better .calc-hint b { color: var(--ink); }

.examples { width: 100%; margin-top: 26px; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.examples caption { text-align: left; padding: 0 0 10px; font: 600 1.15rem/1.3 var(--serif); color: var(--ink); }
.examples td { padding: 14px 18px; border-top: 1px solid var(--line); }
.examples td:last-child { text-align: right; font-weight: 650; color: var(--ink); white-space: nowrap; }

.consult {
  display: grid; gap: 10px; margin-top: 26px; padding: 26px 22px; border-radius: var(--radius);
  border: 1.5px dashed var(--line-2); background: rgba(252, 250, 245, .55);
}
.consult h3 { font-size: 1.35rem; }
.consult p { margin: 0 0 8px; color: var(--muted); }
.consult p b { color: var(--ink); font-size: 1.12em; }
.consult .btn { justify-self: start; }

/* --- portfolio ------------------------------------------------------------------------------------- */
.filters {
  display: flex; gap: 8px; margin: 34px calc(var(--gutter) * -1) 26px; padding: 4px var(--gutter);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line-2); background: transparent; color: var(--ink);
  font: 600 .95rem/1 var(--sans); transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip:active { transform: scale(.96); }

.cards { display: grid; gap: 18px; margin-top: 8px; }
.no-js .cards { margin-top: 34px; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card.is-entering { animation: pop .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.card-media {
  position: relative; aspect-ratio: 5 / 4; perspective: 1000px; overflow: hidden;
  background:
    radial-gradient(60% 18% at 50% 92%, rgba(23, 50, 42, .16), transparent 70%),
    radial-gradient(90% 80% at 50% 30%, #EAF3EE, var(--mint));
}
.card-media::after {
  /* „blat”: linia podziałki pod okładką */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; color: rgba(23, 50, 42, .2);
  background: var(--ruler); background-size: 100% 8px, 100% 4px; background-repeat: no-repeat; background-position: 0 100%;
}
.card-media:empty { display: none; }
.card-img {
  position: absolute; left: 9%; top: 9%; width: 82%; height: 78%; object-fit: contain;
  transform-style: preserve-3d; transition: transform .8s var(--ease), filter .8s var(--ease);
  will-change: transform;
}
/* płaska okładka udaje książkę: lekko obrócona, cień jak od grzbietu */
.card-img.is-flat {
  transform: rotateY(-18deg) rotateX(4deg) translateZ(0);
  filter: drop-shadow(14px 18px 16px rgba(23, 50, 42, .32)) drop-shadow(2px 2px 2px rgba(23, 50, 42, .2));
}
.card-img.is-mockup { filter: drop-shadow(0 16px 18px rgba(23, 50, 42, .22)); }
.card:hover .card-img.is-flat { transform: rotateY(-4deg) rotateX(2deg) translateY(-6px) scale(1.04); }
.card:hover .card-img.is-mockup { transform: rotateY(9deg) rotateX(4deg) translateY(-8px) scale(1.05); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-meta {
  margin: 0 0 8px; font: 650 .75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sage);
  font-variant-numeric: tabular-nums;
}
.card h3 { font-size: 1.32rem; margin-bottom: 10px; text-wrap: balance; }
.card h3 a { color: inherit; text-decoration: none; background: linear-gradient(var(--apricot), var(--apricot)) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.card h3 a:hover, .card h3 a:focus-visible { background-size: 100% 1.5px; }
a.card-media { display: block; }
.card-body > p:not(.card-meta) { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.card-actions .btn { min-height: 46px; padding: 0 18px; font-size: .95rem; }

/* potrawy: zdjęcia jak talerze */
.dishes-head { margin-top: clamp(64px, 10vw, 110px); display: grid; gap: 6px; }
.dishes-head h3 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); max-width: 22ch; }
.dishes-head p { color: var(--muted); margin: 0; }
.dishes {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 18px;
  margin: 28px calc(var(--gutter) * -1) 0; padding: 10px var(--gutter) 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
}
.dishes::-webkit-scrollbar { display: none; }
.dish { margin: 0; scroll-snap-align: start; text-align: center; }
.dish img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 7px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 18px 30px -16px rgba(23, 50, 42, .5);
  transition: transform .9s var(--ease);
}
.dish:hover img { transform: rotate(14deg) scale(1.03); }
.dish figcaption { margin-top: 12px; font: 500 .95rem/1.3 var(--serif); color: var(--ink); }

/* galeria stron: na telefonie cały ekran */
.gallery {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--cream);
}
.gallery[open] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; animation: fade .3s var(--ease); }
.gallery::backdrop { background: rgba(10, 22, 18, .82); backdrop-filter: blur(6px); }
@keyframes fade { from { opacity: 0; transform: scale(.985); } }
.gallery-top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px 20px; border-bottom: 1px solid rgba(220, 235, 226, .12); }
.gallery-top h3 { flex: 1; min-width: 0; font-size: 1.05rem; color: var(--cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-count { margin: 0; font: 600 .9rem/1 var(--sans); color: var(--mint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-close {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(247, 243, 234, .3); background: transparent;
  color: var(--cream); font: 400 1.8rem/1 var(--sans); cursor: pointer; transition: background-color .2s, transform .3s var(--ease);
}
.gallery-close:hover { background: rgba(247, 243, 234, .1); transform: rotate(90deg); }
.gallery-stage { display: flex; align-items: center; justify-content: center; min-height: 0; min-width: 0; padding: 16px; overflow: hidden; touch-action: pan-y; }
.gallery-stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px;
  background: #fff; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6);
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.gallery-stage img.is-loading { opacity: 0; transform: translateX(calc(var(--dir, 1) * 18px)); }
.gallery-nav { display: flex; justify-content: center; gap: 12px; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); }
.gallery-nav .btn { min-width: 76px; font-size: 1.3rem; color: var(--cream); border-color: rgba(247, 243, 234, .3); }
.gallery-nav .btn:hover { background: rgba(247, 243, 234, .1); color: var(--cream); border-color: var(--cream); }
.gallery-nav .btn:disabled { opacity: .3; cursor: default; transform: none; }
body.has-dialog { overflow: hidden; }

/* --- o mnie (sekcja ciemna) ----------------------------------------------------------------------- */
.about { position: relative; display: grid; gap: 44px; align-items: center; }
.about-figure { position: relative; margin: 0 auto; width: min(78vw, 420px); }
.about-figure::before {
  /* linia „kloszu” odsunięta od zdjęcia */
  content: ""; position: absolute; inset: -14px -14px 24px 14px; border-radius: 999px 999px 26px 26px;
  border: 1.5px solid rgba(220, 235, 226, .35);
}
.about-photo {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 999px 999px 26px 26px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7);
}
.about-text h2 { font-size: clamp(2.3rem, 7vw, 4rem); max-width: none; }
.about-title { margin: 10px 0 24px; font: 500 1.15rem/1.4 var(--serif); color: var(--apricot-2); }
.about-text > p:not(.eyebrow):not(.about-title):not(.brands) { max-width: 56ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 26px 0; padding: 0; }
.tags li {
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(220, 235, 226, .3); color: var(--mint);
  font-size: .9rem; line-height: 1.2; background: rgba(220, 235, 226, .05);
  transition: background-color .25s, border-color .25s;
}
.tags li:hover { background: rgba(220, 235, 226, .14); border-color: var(--mint); }
.brands { padding-top: 22px; border-top: 1px solid rgba(220, 235, 226, .16); color: rgba(247, 243, 234, .74); }
.brands b { color: var(--cream); }

/* --- pytania --------------------------------------------------------------------------------------- */
.qa { border-top: 1px solid var(--line-2); }
.qa:last-of-type { border-bottom: 1px solid var(--line-2); }
.qa summary {
  position: relative; display: block; padding: 22px 56px 22px 0; cursor: pointer; list-style: none;
  font: 600 clamp(1.15rem, 3.4vw, 1.4rem)/1.3 var(--serif); color: var(--ink); transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--sage); }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 18px; height: 2px; margin-top: -1px;
  background: currentColor; border-radius: 2px; transition: transform .35s var(--ease);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa[open] summary::before { transform: rotate(180deg); }
.qa p { margin: 0; padding: 0 56px 24px 0; color: var(--muted); max-width: 64ch; animation: fade .35s var(--ease); }
#pytania h2 { margin-bottom: 36px; }

/* --- kontakt --------------------------------------------------------------------------------------- */
.contact { display: grid; gap: 44px; align-items: center; }
.contact h2 { max-width: 15ch; }
.contact .lead { max-width: 44ch; margin-bottom: 28px; }
.contact .actions .btn { flex: 1 1 260px; }
.contact-mail { margin: 20px 0 0; font-weight: 500; }
.contact-figure { margin: 0 auto; width: min(64vw, 340px); position: relative; }
.contact-figure::after {
  content: ""; position: absolute; right: 6%; top: 6%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--apricot);
  box-shadow: 0 10px 20px -8px rgba(233, 150, 90, .9);
}
.contact-photo {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 22%; border-radius: 50%;
  border: 10px solid var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
}

/* --- stopka ---------------------------------------------------------------------------------------- */
.foot { background: var(--ink); color: rgba(247, 243, 234, .72); padding: 40px 0 120px; font-size: .92rem; }
.foot-in { display: grid; gap: 6px; }
.foot p { margin: 0; }
.foot b { color: var(--cream); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.foot a { color: var(--mint); }
.foot a:hover { color: var(--cream); }

/* --- pasek kontaktu (tylko telefon) --------------------------------------------------------------- */
.dock {
  position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 22px;
  background: rgba(23, 50, 42, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 18px 40px -14px rgba(10, 22, 18, .6); transition: transform .5s var(--ease), opacity .4s;
}
.dock .btn { min-height: 52px; }
.dock .btn-primary { background: var(--apricot); color: var(--ink); box-shadow: none; }
.dock .btn-primary:hover { background: var(--apricot-2); color: var(--ink); }
.dock .btn-ghost { color: var(--cream); border-color: rgba(247, 243, 234, .32); }
body:not(.no-js) .dock:not(.is-on) { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* --- polityka prywatności -------------------------------------------------------------------------- */
.prose h1 { font-size: clamp(2.4rem, 8vw, 4rem); margin-bottom: 32px; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.prose p { color: var(--graphite); max-width: 64ch; }

/* --- wejścia (IntersectionObserver); bez JS wszystko widoczne ------------------------------------- */
body:not(.no-js) .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal:nth-child(2) { --i: 1; } .reveal:nth-child(3) { --i: 2; } .reveal:nth-child(4) { --i: 3; }
.reveal:nth-child(5) { --i: 4; } .reveal:nth-child(6) { --i: 5; } .reveal:nth-child(n+7) { --i: 6; }
body:not(.no-js) .reveal.is-in { opacity: 1; transform: none; }
/* karta pakietu po wejściu nadal reaguje na kalkulator */
body:not(.no-js) .plan.reveal.is-in { transition: opacity .9s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), outline-color .5s var(--ease); }
body:not(.no-js) .plan.reveal.is-in.is-better { transform: translateY(-6px); }

/* --- karty na telefonie: karuzela z przyciąganiem ----------------------------------------------- */
@media (max-width: 639.98px) {
  .cards {
    grid-auto-flow: column; grid-auto-columns: 84%; align-items: stretch; gap: 14px;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; box-shadow: 0 1px 2px rgba(23, 50, 42, .06), 0 10px 22px -14px rgba(23, 50, 42, .3); }
  .card:hover { transform: none; }
  .card-body { padding: 18px 18px 20px; }
  .card h3 { font-size: 1.2rem; }
  .card-body > p:not(.card-meta) { font-size: .94rem; line-height: 1.5; }
  .card-actions .btn { flex: 1 1 auto; }
}

/* --- tablet ---------------------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dishes { grid-auto-columns: 30%; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .calc { padding: 34px; }
  .consult { grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; padding: 30px 34px; }
  .consult h3 { grid-column: 1; }
  .consult p { grid-column: 1; }
  .consult .btn { grid-column: 2; grid-row: 1 / span 2; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats li, .stats li:nth-child(odd), .stats li:nth-child(even) { padding: 34px 20px 34px 22px; border-left: 1px solid var(--line); border-bottom: 0; }
  .stats li:first-child { border-left: 0; padding-left: 0; }
  .foot-in { grid-template-columns: 1fr auto; align-items: center; }
}

/* --- desktop --------------------------------------------------------------------------------------- */
@media (min-width: 960px) {
  .top-in { flex-wrap: nowrap; }
  .top nav { order: 0; width: auto; margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .top nav a { padding: 10px 12px; font-size: .95rem; }
  .logo { margin-right: 0; }
  .top nav { margin-left: auto; }
  .top .btn-small { order: 2; }
  .hero { padding-top: 40px; }
  .hero-in { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 72px; min-height: min(calc(100svh - 200px), 760px); }
  .hero-figure { margin: 80px 0 30px auto; width: min(100%, 460px); }
  .hero-figure figcaption { width: 148px; height: 148px; left: -15%; }
  .hero-figure figcaption b { font-size: 2.7rem; }
  .stats { margin-top: 30px; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 64px; }
  .steps::before { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 1.5px;
    background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .step { padding: 88px 0 0; }
  .step h3 { padding-top: 0; }

  .calc {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "h out" "a out" "b out";
    column-gap: 44px; row-gap: 18px; padding: 40px;
  }
  .calc h3 { grid-area: h; align-self: end; }
  .calc-row:nth-of-type(1) { grid-area: a; }
  .calc-row:nth-of-type(2) { grid-area: b; align-self: start; }
  .calc-out { grid-area: out; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 36px; }

  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .filters { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .dishes { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 26px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .dishes-head { grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }

  .about { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 90px; }
  .about-figure { width: 100%; max-width: 440px; }
  .contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 80px; }
  .contact-figure { width: 100%; max-width: 360px; }
  .contact .actions .btn { flex: 0 1 auto; }

  .dock { display: none; }
  .foot { padding-bottom: 40px; }

  .gallery {
    width: min(1120px, 94vw); height: min(92vh, 980px); margin: auto; border-radius: 26px;
    box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .7);
  }
  .gallery-stage { padding: 24px 40px; }
}

@media (min-width: 1280px) {
  .hero-figure { width: 480px; margin-right: 20px; }
}

/* --- bez ruchu ------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  body:not(.no-js) .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover, .plan.is-better { transform: none; }
  .card:hover .card-img.is-flat { transform: rotateY(-18deg) rotateX(4deg); }
  .card:hover .card-img.is-mockup, .dish:hover img { transform: none; }
}

/* --- podstrony ------------------------------------------------------------------------------------- */
.page-head {
  position: relative; overflow: hidden; padding: clamp(40px, 8vw, 88px) 0 clamp(36px, 6vw, 64px);
  background:
    radial-gradient(55% 60% at 92% 10%, rgba(220, 235, 226, .95), transparent 70%),
    radial-gradient(35% 45% at 4% 100%, rgba(233, 150, 90, .12), transparent 70%),
    var(--cream);
}
.page-head-in { display: grid; gap: 36px; align-items: center; }
.page-head h1 { font-size: clamp(2.3rem, 6.4vw, 4rem); line-height: 1.04; letter-spacing: -.03em; max-width: 17ch; text-wrap: balance; margin: 0 0 18px; }
.page-head .lead { max-width: 58ch; }
.page-head .actions { margin-top: 26px; }
.page-head-aside { justify-self: center; width: min(100%, 380px); }
.item-cover { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.more-row { margin: 34px 0 0; }
.more {
  display: inline-flex; align-items: center; gap: .45em; color: var(--ink); font-weight: 600; text-decoration: none;
  padding-bottom: 3px; border-bottom: 1.5px solid var(--apricot); transition: gap .3s var(--ease), color .3s;
}
.more:hover, .more:focus-visible { gap: .8em; color: var(--sage); }
.section-deep .more { color: var(--cream); }
.section-deep .more:hover { color: var(--mint); }
.facts { display: grid; gap: 18px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.fact { background: var(--paper); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--shadow); border-top: 3px solid var(--apricot); }
.fact h3 { font-size: 1.2rem; margin-bottom: 8px; }
.fact p { margin: 0; color: var(--muted); }
.item-pages { display: grid; gap: 22px; margin-top: 34px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.item-page { margin: 0; }
.item-page img { width: 100%; height: auto; border-radius: 10px; background: var(--paper); box-shadow: var(--shadow); }
.foot-nav { margin-top: 10px; }
.foot-nav a, .foot a { color: inherit; }
@media (min-width: 960px) {
  .page-head-in.has-aside { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; }
}
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--sage); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 479px) {
  .logo span { font-size: 1.05rem; }
  .logo img { width: 32px; height: 32px; }
  .top-in { gap: 10px; min-height: 60px; }
  .top .btn-small { padding: 0 12px; font-size: .84rem; min-height: 36px; }
}
.foot-company { margin-top: 10px; font-size: .82rem; color: rgba(247, 243, 234, .55); }
.legal-date { margin-top: 36px; font-size: .9rem; color: var(--muted); }
