:root {
  /* kolory marki: zieleń z logo i toreb, czerń nadruku, papier kraft */
  --dark: #151515;
  --dark-2: #232323;
  --paper: #F3EDE3;
  --paper-2: #E8DCC8;
  --kraft: #C8A27A;
  --brand: #6DB24F;
  --brand-2: #86C66A;
  --brand-ink: #3F7A28;
  --red: #D2452B;
  --ink: #151515;
  --muted: #6A6358;
  --serif: 'Ubuntu', system-ui, sans-serif;
  --sans: 'Ubuntu', system-ui, sans-serif;
  --hand: 'Kalam', cursive; /* ma polskie znaki (Permanent Marker ich nie ma) */
  --r: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.55; overflow-x: hidden; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; } /* height:auto = atrybuty width/height nie rozciągają zdjęć */
a { color: inherit; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.dark { background: var(--dark); color: var(--paper); }
.light { background: var(--paper); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.02; letter-spacing: -0.025em; }
h1 { font-size: clamp(48px, 7.4vw, 104px); }
h1 em, .brush { font-family: var(--hand); font-style: normal; font-weight: 700; text-transform: uppercase; color: var(--ink); background: var(--brand); padding: .2em .22em .04em; line-height: 1.05; display: inline-block; transform: rotate(-2deg); letter-spacing: .01em;
  clip-path: polygon(1% 8%, 12% 2%, 40% 5%, 70% 1%, 99% 6%, 97% 40%, 100% 72%, 96% 97%, 60% 94%, 30% 99%, 3% 95%, 0% 60%); }
.brush { font-size: .92em; }
h1 em { font-size: .7em; white-space: nowrap; margin-top: .12em; }
h2 { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 28px; }
h3 { font-size: 22px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; opacity: .85; }
.kropla { width: 14px; height: 18px; color: var(--brand); flex: none; }
.note { font-family: var(--hand); font-weight: 700; text-transform: uppercase; font-size: 22px; color: var(--brand); }
.red { color: var(--red); }
.hl { color: var(--brand-ink); }
.todo { outline: 2px dashed var(--red); outline-offset: 3px; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: var(--dark); box-shadow: 0 8px 24px -8px rgba(109,178,79,.6); }
.btn-brand:hover { background: var(--brand-2); }
.btn-ghost { border: 1.5px solid currentColor; background: transparent; }
.btn-dark { background: var(--dark); color: var(--paper); width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 18px; }

/* nawigacja */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(16px, 4vw, 48px); color: var(--paper); transition: background .3s, padding .3s; }
.nav.scrolled { background: rgba(21,21,21,.92); backdrop-filter: blur(10px); padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 26px; font-weight: 600; text-decoration: none; }
.logo img { height: 30px; width: auto; max-width: none; flex-shrink: 0; }
.logo { background: #fff; padding: 8px 14px; border-radius: 10px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--brand); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }

/* hero */
.hero { min-height: min(100vh, 940px); padding-top: 130px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 19px; max-width: 460px; margin: 24px 0 14px; opacity: .9; }
.stars { color: var(--brand); letter-spacing: 2px; margin-bottom: 26px; }
.stars span { color: var(--paper); letter-spacing: 0; font-size: 14px; opacity: .8; margin-left: 6px; }
.postal { position: relative; display: flex; background: #fff; border-radius: 999px; padding: 5px; max-width: 470px; }
.postal input { flex: 1; border: 0; outline: 0; padding: 0 18px; font: inherit; font-size: 15px; background: transparent; color: var(--ink); min-width: 0; }
.city-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; margin: 0; padding: 6px; list-style: none; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 14px 34px rgba(0,0,0,.28); max-height: 280px; overflow: auto; }
.city-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: 12px; cursor: pointer; font-size: 15px; }
.city-list li:hover { background: rgba(109,178,79,.16); }
.city-list small { color: var(--muted); font-size: 12px; text-align: right; }
.city-msg { min-height: 1.4em; margin-top: 10px; font-size: 14px; max-width: 470px; text-align: center; white-space: pre-line; }
.city-msg.ok, .city-msg.err { padding: 12px 16px; border-radius: 16px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.city-msg.ok { background: rgba(109,178,79,.16); border: 1.5px solid var(--brand); animation: msg-in .7s cubic-bezier(.2,1.4,.4,1) both, msg-glow 1.6s ease-out .5s; }
.city-msg.err { background: rgba(210,69,43,.12); border: 1.5px solid var(--red); animation: msg-in .5s cubic-bezier(.2,1.4,.4,1) both, msg-shake .45s ease .45s; }
.city-msg.ok::before { content: '✓'; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--brand); color: var(--dark); font-size: 13px; vertical-align: -3px; }
.city-msg.err::before { content: '!'; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; vertical-align: -3px; }
@keyframes msg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(-10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes msg-glow { 0% { box-shadow: 0 0 0 0 rgba(109,178,79,.55); } 100% { box-shadow: 0 0 0 14px rgba(109,178,79,0); } }
@keyframes msg-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.btn.pulse { animation: btn-pulse 2.2s ease-in-out infinite; }
@keyframes btn-glow { 0%, 100% { background: var(--brand); box-shadow: 0 0 0 0 rgba(109,178,79,.5); } 50% { background: var(--brand-2); box-shadow: 0 0 0 9px rgba(109,178,79,.18); } }
@keyframes btn-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 8px 24px -8px rgba(109,178,79,.6), 0 0 0 0 rgba(109,178,79,.45); } 50% { transform: scale(1.035); box-shadow: 0 8px 24px -8px rgba(109,178,79,.6), 0 0 0 10px rgba(109,178,79,0); } }
.macros { display: grid; gap: 22px; margin-top: 40px; max-width: 470px; }
.mrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; row-gap: 4px; }
.mlabel { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.mrow > div { border-left: 1px solid rgba(243,237,227,.2); padding-left: 16px; }
.mrow > div:nth-child(2) { border: 0; padding: 0; }
.macros b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--paper); white-space: nowrap; }
.macros span { font-size: 13px; opacity: .7; }
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero-main { position: absolute; inset: 6% 0 10% 8%; border-radius: 48% 48% var(--r) var(--r); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hero-main video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.15); transform-origin: 50% 40%; }
.plate { position: absolute; border-radius: 50%; overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* absolute: Safari inaczej liczy wysokość z obrazka + ramki → elipsa */
.plate-a { width: 36%; aspect-ratio: 1; left: -6%; bottom: 2%; }
.plate-a img { object-position: 55% 60%; transform: scale(1.35); transform-origin: 55% 60%; }
.plate-b { width: 28%; aspect-ratio: 1; right: -4%; top: 0; }
.note-hero { position: absolute; right: 2%; bottom: -4%; transform: rotate(-6deg); line-height: 1.1; text-align: right;
  /* cienki czarny obrys (cienie w 8 kierunkach — działa też na iPhone), żeby tekst nie zlewał się ze zdjęciem */
  text-shadow: 1.5px 0 0 #000, -1.5px 0 0 #000, 0 1.5px 0 #000, 0 -1.5px 0 #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; }
.drop-fall { position: absolute; width: 34px; height: 46px; left: 52%; top: -4%; filter: drop-shadow(0 6px 12px rgba(109,178,79,.5)); }

/* tło ciemnych sekcji (hero + pakiety): poświata + ziarno + winieta — wybrane przez Daniela 14.10 */
.hero > .wrap, .diets > .wrap { position: relative; z-index: 1; }
/* poświata — zielone i ciepłe światło za treścią */
.hero { background:
  radial-gradient(900px 720px at 72% 46%, rgba(109,178,79,.30), transparent 68%),
  radial-gradient(700px 500px at 0% 100%, rgba(227,169,43,.10), transparent 70%),
  radial-gradient(1100px 600px at 75% 40%, #262626 0%, var(--dark) 62%); }
.diets { background:
  radial-gradient(1200px 640px at 50% 80%, rgba(109,178,79,.26), transparent 70%),
  radial-gradient(700px 480px at 0% 0%, rgba(227,169,43,.08), transparent 70%),
  radial-gradient(760px 560px at 100% 26%, rgba(109,178,79,.14), transparent 70%),
  var(--dark); }
/* winieta po bokach + ziarno (szum jak na zdjęciu z aparatu) */
.hero::before, .diets::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.6), transparent 26%, transparent 74%, rgba(0,0,0,.6)); }
.hero::after, .diets::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .075;
  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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* czym jest keto */
.keto { background: var(--paper-2); }
.keto-head { max-width: 820px; }
.keto-head .sec-lead { font-size: 18px; color: var(--muted); }
.keto-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.keto-steps li { background: var(--paper); border-radius: var(--r); padding: 28px; }
.keto-steps b { font-family: var(--serif); font-size: 48px; font-weight: 400; color: var(--brand); display: block; line-height: 1; margin-bottom: 12px; }
.keto-steps h3 { font-size: 21px; margin-bottom: 6px; }
.keto-steps p { color: var(--muted); font-size: 15px; }
.keto-steps li:nth-child(2) { --k: 1; } .keto-steps li:nth-child(3) { --k: 2; }
/* po wjechaniu kafelki potrząsają się po kolei, wolno (rotate nie koliduje z translate wjazdu) */
.js .keto-steps li.in { animation: kafel-shake 1.4s ease-in-out both; animation-delay: calc(1.1s + var(--k, 0) * 1s); }
@keyframes kafel-shake { 0%, 100% { rotate: 0deg; } 15% { rotate: -3deg; } 35% { rotate: 3deg; } 55% { rotate: -2deg; } 75% { rotate: 1deg; } }
.keto-hard { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; margin: 40px 0 0; letter-spacing: -.01em; }
.keto-vs { font-size: clamp(26px, 3vw, 40px); margin: clamp(56px, 7vw, 88px) 0 24px; }
.kcards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.kcard { background: var(--dark); color: var(--paper); border-radius: var(--r); padding: 32px; display: grid; gap: 14px; align-content: start; }
.kcard-name { font-size: 26px; font-weight: 700; line-height: 1.1; }
.kcard-kcal { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-top: -8px; }
.kcard > p:not([class]) { font-size: 15px; color: rgba(243,237,227,.8); }
.kcard > p b { color: var(--paper); }
.kbar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 3px; }
.kbar i { flex: 0 1 calc(var(--w) * 1%); }
.kb-f { background: var(--brand); } .kb-p { background: var(--kraft); } .kb-c { background: var(--paper); }
/* paski rosną po wjechaniu karty, po kolei: tłuszcz → białko → węglowodany (liczby liczą razem z nimi, main.js) */
.kb-p { --bd: .9s; } .kb-c { --bd: 1.8s; }
.js .kcard.reveal .kbar i { flex-basis: 0; }
.js .kcard.reveal.in .kbar i { flex-basis: calc(var(--w) * 1%); transition: flex-basis 2s cubic-bezier(.25,.7,.25,1) calc(var(--d, 0s) + .8s + var(--bd, 0s)); }
.kmacro { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: rgba(243,237,227,.7); }
.kmacro b { display: block; font-size: 24px; color: var(--paper); }
.kmacro li:nth-child(1) b { color: var(--brand-2); } .kmacro li:nth-child(2) b { color: var(--kraft); } /* kolor liczby = kolor paska */
.keto-note { margin-top: 24px; font-size: 13.5px; color: #4F483E; max-width: 820px; } /* ciemniej niż --muted: kontrast na --paper-2 */
.keto-note a { color: #2C5A1B; font-weight: 600; white-space: nowrap; }

/* manifest */
.manifest { --h: clamp(120px, 12vw, 172px); padding: clamp(64px, 7vw, 104px) 0 clamp(56px, 6vw, 88px); overflow: hidden; background: radial-gradient(900px 420px at 55% 60%, #FBF6EC 0%, var(--paper) 70%); }
.manifest-grid { position: relative; display: grid; grid-template-columns: minmax(300px, 1fr) auto auto minmax(170px, .7fr); grid-template-areas: "head no yes text"; gap: clamp(20px, 3vw, 48px); align-items: end; }
.m-head { grid-area: head; align-self: center; }
.manifest h2 { margin: 0; font-size: clamp(32px, 3.3vw, 50px); }
.oils { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: clamp(8px, 1.4vw, 20px); }
.oils-no { grid-area: no; }
.oil { position: relative; z-index: 0; mix-blend-mode: multiply; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 13px; line-height: 1.25; color: var(--muted); }
.oil-img { position: relative; height: var(--h); margin-bottom: 10px; display: flex; align-items: flex-end; }
.oil-img::after { content: ''; position: absolute; z-index: -1; left: 4%; right: 4%; bottom: -5px; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, rgba(70,45,15,.28), transparent); }
.oil-ghee .oil-img img { height: 58%; }
.oil-coco .oil-img img { height: 56%; }
.oil-olive .oil-img { height: calc(var(--h) * 1.04); }
.oil-img img { position: relative; height: 100%; width: auto; display: block; }
.oils-yes .oil { color: var(--ink); font-weight: 700; }
.cross { position: absolute; width: 170%; aspect-ratio: 1; left: -35%; top: 42%; overflow: visible; fill: none; stroke: var(--red); stroke-width: 10; stroke-linecap: round; filter: url(#pedzel); }
.cross path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.cross path + path { stroke-width: 9; }
.m-yes { grid-area: yes; position: relative; padding-top: 70px; }
.m-note { position: absolute; top: 0; left: 38%; margin: 0; font-family: var(--hand); font-weight: 700; font-size: 19px; line-height: 1.05; color: var(--ink); transform: rotate(-7deg); white-space: nowrap; }
.m-note svg { position: absolute; left: -46px; top: 16px; width: 40px; height: 50px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-sub { display: none; }
.m-text { grid-area: text; align-self: center; padding-bottom: 40px; }
.m-text p { margin: 0; color: var(--muted); font-size: 15px; max-width: 230px; }
.m-text .m-lead { font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-bottom: 8px; }
.sprig { position: absolute; z-index: 0; pointer-events: none; mix-blend-mode: multiply; width: clamp(200px, 19vw, 290px); }
.sprig-r { right: -70px; bottom: -50px; transform: scaleX(-1) rotate(-18deg); }
.sprig-tr { right: -60px; top: -40px; transform: rotate(168deg); }

/* diety */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { margin: 0; }
.kcal-toggle { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid rgba(243,237,227,.25); flex-wrap: wrap; }
.kcal-toggle button { border: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.kcal-toggle button.on { background: var(--paper); color: var(--dark); font-weight: 600; }
.kcal-toggle span { font-size: 13px; opacity: .7; padding: 0 10px; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 8px; transition: transform .3s; }
.card:hover { transform: translateY(-6px); }
.card img { border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card h3 { margin-top: 6px; }
.card > p { font-size: 13.5px; color: var(--muted); min-height: 42px; }
.card.featured { outline: 2px solid var(--brand); }
.badge { position: absolute; top: 22px; left: 22px; background: var(--brand); color: var(--dark); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.ring { --p: calc(var(--v) * 3.6deg); width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--brand) var(--p), var(--paper-2) 0); display: grid; place-items: center; }
.ring span { width: 68px; height: 68px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; align-content: center; font-family: var(--serif); font-size: 16px; line-height: 1.1; text-align: center; }
.ring small { display: block; font-family: var(--sans); font-size: 10px; color: var(--muted); }
.mac { list-style: none; font-size: 13px; }
.mac li::before { content: '•'; color: var(--brand); margin-right: 6px; }
.price { font-family: var(--serif); font-size: 24px; margin-top: auto; }
.price small { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.sec-lead { margin-top: 14px; max-width: 520px; opacity: .8; }
.config { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: start; gap: 18px 24px; margin-bottom: 32px; padding: 20px 24px; border-radius: 24px; background: rgba(243,237,227,.04); border: 1px solid rgba(243,237,227,.09); }
.cfg { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cfg-label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,237,227,.5); padding-left: 6px; }
.config .kcal-toggle button { padding: 8px 11px; }
.config .meal-toggle button { padding: 8px 12px; }
.diet-toggle { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(243,237,227,.08); }
.diet-toggle button { border: 0; background: transparent; color: inherit; font: inherit; font-size: 15px; font-weight: 600; padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.diet-toggle button.on { background: var(--brand); color: var(--dark); }
.kcal-toggle button:disabled { opacity: .3; cursor: not-allowed; }
.meal-toggle { display: flex; flex-wrap: wrap; gap: 6px; }
.meal-toggle button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(243,237,227,.25); background: transparent; color: rgba(243,237,227,.6); font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.meal-toggle button::before { content: ''; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 11px; line-height: 1; }
.meal-toggle button.on { background: rgba(109,178,79,.16); border-color: var(--brand); color: var(--paper); font-weight: 600; }
.meal-toggle button.on::before { content: '✓'; background: var(--brand); border-color: var(--brand); color: var(--dark); }
.meal-toggle button.nope { animation: msg-shake .4s ease; }
.card.pk .pk-sub small { font-size: 13px; color: rgba(243,237,227,.5); white-space: nowrap; }
.card.pk .pk-sub small::before { content: '· '; }
.diet-note { grid-column: 1 / -1; margin: 0; padding: 14px 6px 0; border-top: 1px solid rgba(243,237,227,.08); font-size: 14px; opacity: .75; }
.cards-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.card.pk { background: var(--dark-2); color: var(--paper); padding: 0; gap: 0; overflow: hidden; border: 1px solid rgba(243,237,227,.1); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.card.pk.featured { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 30px 70px -25px rgba(109,178,79,.35); animation: card-glow 2.2s ease-in-out infinite; }
@keyframes card-glow { 0%, 100% { box-shadow: 0 0 0 1px var(--brand), 0 30px 70px -25px rgba(109,178,79,.3), 0 0 0 0 rgba(109,178,79,0); } 50% { box-shadow: 0 0 0 1px var(--brand-2), 0 30px 80px -20px rgba(109,178,79,.55), 0 0 28px 2px rgba(109,178,79,.28); } }
.pk-img { position: relative; }
.card.pk .pk-img img { border-radius: 0; aspect-ratio: 16/10; }
.pk-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--dark-2) 100%); }
.pk-num { position: absolute; z-index: 1; left: 20px; bottom: -22px; width: 60px; height: 60px; border-radius: 50%; background: var(--brand); color: var(--dark); display: grid; place-items: center; font-family: var(--serif); font-size: 32px; font-weight: 700; box-shadow: 0 0 0 6px var(--dark-2); }
.pk-badge { position: absolute; z-index: 1; top: 18px; right: 22px; font-size: 21px; transform: rotate(2deg); box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); }
.pk-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 34px 22px 22px; }
.card.pk h3 { margin: 0; color: var(--paper); font-size: 24px; }
.card.pk .pk-sub { margin-top: -8px; font-size: 15px; color: rgba(243,237,227,.7); min-height: 0; }
.card.pk .pk-sub b { color: var(--brand-2); }
.pk-choice { display: flex; gap: 8px; }
.card.pk .pk-choice img { width: 46px; height: 46px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 2px solid rgba(243,237,227,.2); }
.pk-price { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(243,237,227,.1); }
.card.pk .price { margin: 0; font-size: 34px; color: var(--paper); line-height: 1.1; }
.card.pk .price small { color: rgba(243,237,227,.55); white-space: nowrap; }
.pk-meals { margin-top: 8px; display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(243,237,227,.08); font-size: 13px; color: var(--paper); }
.pk-meals[hidden] { display: none; }
.pk-form-hint { margin: 0 0 8px; font-size: 12.5px; color: rgba(243,237,227,.65); text-align: center; }
.pk-form-hint[hidden] { display: none; }
.pk-long { margin-top: 6px; font-size: 13.5px; color: rgba(243,237,227,.65); }
.nowrap { white-space: nowrap; }
.pk-long b { color: var(--brand-2); font-weight: 700; }
.btn-line { border: 1.5px solid rgba(243,237,227,.35); color: var(--paper); background: transparent; width: 100%; }
.btn-line:hover { border-color: var(--brand); color: var(--brand-2); }
.card.pk .btn-brand { width: 100%; }
/* Bez wyboru menu (Keto Ekonomiczna / Wysokobiałkowa Keto) — przełącznik nad konfiguratorem */
.menu-mode { display: flex; gap: 6px; width: fit-content; margin: 0 auto 20px; padding: 6px; border-radius: 22px; background: rgba(243,237,227,.08); }
.menu-mode button { display: grid; gap: 2px; border: 0; background: transparent; color: inherit; font: inherit; text-align: center; padding: 10px 26px; border-radius: 16px; cursor: pointer; }
.menu-mode button b { font-size: 16px; }
.menu-mode button small { font-size: 12.5px; opacity: .65; }
.menu-mode button.on { background: var(--brand); color: var(--dark); }
.menu-mode button.on small { opacity: .8; }
.card.pk.eko .pk-badge { background: var(--paper); }
.card.pk.off .pk-price .price, .card.pk.off .pk-long, .card.pk.off .btn { opacity: .35; pointer-events: none; }
.diets:not(.eko-mode) [data-card="eko"], .eko-mode [data-card]:not([data-card="eko"]) { display: none; }
.eko-mode .cards-3 { grid-template-columns: minmax(0, 400px); justify-content: center; }
.tiers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin-top: 32px; font-size: 14px; text-align: center; }
.tiers b { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(243,237,227,.3); font-weight: 600; }
.tiers small { flex-basis: 100%; opacity: .65; font-size: 12.5px; }

/* menu na najbliższe dni (układ jak kuchniavikinga.pl/menu; tło ciemne jak 01) */
.menu { position: relative; overflow: hidden; }
.menu::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.6), transparent 26%, transparent 74%, rgba(0,0,0,.6)), radial-gradient(900px 420px at 50% 100%, rgba(109,178,79,.16), transparent 70%); }
.menu > .wrap { position: relative; z-index: 1; }
.menu .sec-lead { color: rgba(243,237,227,.7); }
.menu .menu-mode { margin: 0 auto 16px; }
.mpkgs { display: flex; gap: 6px; width: fit-content; margin: 0 auto 16px; padding: 5px; border-radius: 18px; border: 1px solid rgba(243,237,227,.18); }
.mpkgs[hidden] { display: none; }
.mpkgs button { display: grid; gap: 1px; border: 0; background: transparent; color: var(--paper); font: inherit; text-align: center; padding: 8px 20px; border-radius: 13px; cursor: pointer; }
.mpkgs button b { font-size: 15px; }
.mpkgs button small { font-size: 12px; color: rgba(243,237,227,.55); }
.mpkgs button.on { background: var(--brand); color: var(--dark); }
.mpkgs button.on small { color: var(--dark); opacity: .8; }
.mdiets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.mdiets button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(243,237,227,.25); background: transparent; color: rgba(243,237,227,.6); font: inherit; font-size: 15px; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mdiets button::before { content: ''; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 11px; line-height: 1; }
.mdiets button.on { background: rgba(109,178,79,.16); border-color: var(--brand); color: var(--paper); font-weight: 600; }
.mdiets button.on::before { content: '✓'; background: var(--brand); border-color: var(--brand); color: var(--dark); }
.mdiets button.nope { animation: msg-shake .4s ease; }
.mdays { display: flex; align-items: center; gap: 10px; margin: 8px 0 36px; }
.mdays-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; padding: 4px 2px; }
.mdays-row::-webkit-scrollbar { display: none; }
.mday { flex: 0 0 calc((100% - 9 * 12px) / 10); scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 0 8px; border: 1.5px solid rgba(243,237,227,.2); border-radius: 16px; background: transparent; color: var(--paper); font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.mday small { font-size: 12.5px; color: rgba(243,237,227,.55); text-transform: uppercase; letter-spacing: .04em; }
.mday small:last-child { text-transform: none; letter-spacing: 0; color: var(--paper); font-weight: 600; }
.mday b { font-size: 30px; line-height: 1; }
.mday:hover { border-color: var(--paper); }
.mday.on { background: var(--brand); border-color: var(--brand); color: var(--dark); }
.mday.on small, .mday.on small:last-child { color: var(--dark); }
.mdays-arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(243,237,227,.25); background: transparent; color: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; }
.mdays-arrow:hover { border-color: var(--paper); }
.mtabs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(243,237,227,.12); border-radius: var(--r); overflow: hidden; background: var(--dark-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.mtab { grid-row: 1; border: 0; border-bottom: 1px solid rgba(243,237,227,.12); background: #1B1B1B; color: rgba(243,237,227,.65); font: inherit; font-family: var(--serif); font-size: 18px; font-weight: 700; padding: 16px 10px; cursor: pointer; transition: background .2s, color .2s; }
.mtab + .mpanel + .mtab { border-left: 1px solid rgba(243,237,227,.12); }
.mtab.on { background: var(--dark-2); color: var(--paper); border-bottom-color: transparent; }
.mpanel { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 28px; padding: 28px 28px 32px; }
.mpanel[hidden] { display: none; }
.mopt { min-width: 0; } /* pozwala wierszowi opcji przewijać się w panelu zamiast go rozpychać */
.mopt-label { margin: 0 0 14px; font-weight: 700; font-size: 15px; color: var(--brand-2); }
.mopt-label::after { content: ''; display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--brand); margin-top: 4px; }
.mopt ul { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px 24px; } /* opcje w jednym wierszu */
.mopt li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid rgba(243,237,227,.12); }
.mopt li { font-size: 15.5px; color: var(--paper); line-height: 1.45; }
.mopt li small { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(243,237,227,.5); }
.mopt li.mopt-empty { color: rgba(243,237,227,.55); font-style: italic; }
.menu-status { margin: 8px auto 0; max-width: 560px; text-align: center; font-size: 17px; color: rgba(243,237,227,.75); }

/* kroki */
.steps { background: var(--paper-2); }
.step-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 1; }
.step-list b { font-family: var(--serif); font-size: 56px; font-weight: 400; color: var(--brand); display: block; line-height: 1; margin-bottom: 12px; }
.step-list h3 { font-size: 21px; margin-bottom: 6px; }
.step-list p { color: var(--muted); font-size: 14.5px; }
.path { display: block; width: 100%; height: 40px; margin: 8px 0 4px; } /* nad cyframi kroków: dłuższe nagłówki nie wchodzą pod linię */
.path path { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }

/* kalkulator */
.calc-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.calc-form { display: grid; gap: 18px; }
.calc-form label { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 16px; font-size: 14px; }
.calc-form input[type=range] { accent-color: var(--brand); width: 100%; }
.calc-form output { font-size: 13px; opacity: .8; text-align: right; }
.calc-form select { grid-column: 2 / 4; background: var(--dark-2); color: var(--paper); border: 1px solid rgba(243,237,227,.25); border-radius: 999px; padding: 10px 16px; font: inherit; }
.seg { grid-column: 2 / 4; display: flex; gap: 4px; }
.seg button { flex: 1; border: 1px solid rgba(243,237,227,.25); background: transparent; color: inherit; font: inherit; padding: 9px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--brand); color: var(--dark); border-color: var(--brand); font-weight: 600; }
.calc-result { border: 1px solid rgba(109,178,79,.45); border-radius: var(--r); padding: 36px; background: var(--dark-2); }
.kcal-big { white-space: nowrap; font-family: var(--serif); font-size: clamp(56px, 6.5vw, 92px); color: var(--brand); line-height: 1; margin: 8px 0; }
.calc-label { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(243,237,227,.1); } /* zapotrzebowanie klienta ≠ dieta z oferty */
.diet-out { font-family: var(--serif); font-size: 26px; color: var(--brand-2); margin: 4px 0 26px; }
.fine { font-size: 12px; opacity: .6; margin-top: 18px; }
.calc-note { margin: -10px 0 24px; padding: 12px 14px; border-radius: 14px; background: rgba(109,178,79,.12); border: 1px solid rgba(109,178,79,.4); font-size: 14.5px; line-height: 1.5; }
.calc-note[hidden] { display: none; }
.calc-note a { color: var(--brand-2); font-weight: 700; }

/* ludzie */
.people-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.people-grid > div > p { color: var(--muted); font-size: 17px; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.face-photo { aspect-ratio: 4/5; border-radius: var(--r); background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 10px, #DCCDB4 10px, #DCCDB4 20px); }
img.face-photo { display: block; width: 100%; height: auto; object-fit: cover; object-position: 50% 0; background: #fff; }
.face figcaption { display: grid; gap: 3px; padding-top: 14px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.face figcaption b { font-family: var(--serif); font-size: 20px; color: var(--ink); line-height: 1.2; }
.face-role { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); }

/* opinie */
/* opinie: przewijane pasy (pętla = treść ×2, przesunięcie o połowę) */
.quotes { display: grid; gap: 16px; margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.qtrack { display: flex; align-items: stretch; gap: 16px; width: max-content; animation: qscroll var(--dur, 120s) linear infinite; }
.qrow.rev .qtrack { animation-direction: reverse; }
.qrow:hover .qtrack { animation-play-state: paused; }
@keyframes qscroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.quotes blockquote { display: flex; flex-direction: column; flex: 0 0 auto; width: 340px; margin: 0; background: var(--dark-2); border: 1px solid rgba(109,178,79,.3); border-radius: var(--r); padding: 22px 24px; }
.quotes footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; color: rgba(243,237,227,.75); }
.qstars { color: var(--brand); letter-spacing: 1px; font-size: 13px; }
.quotes p { font-size: 15.5px; line-height: 1.5; color: var(--paper); margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.quotes-note { margin-top: 22px; font-size: 12.5px; opacity: .6; text-align: center; }
.quotes-note a { color: inherit; text-decoration: underline; }

/* dostawa */
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.delivery p { font-size: 17px; margin-bottom: 26px; max-width: 460px; }
.delivery .postal { border: 1px solid rgba(0,0,0,.12); }
.dots-map { aspect-ratio: 1; position: relative; }
.dots-map i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.dots-map i.ping::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--brand); animation: dot-ping 1.6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes dot-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }

/* faq */
.faq { background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; align-items: start; }
details { background: var(--paper); border-radius: 16px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-top: 10px; font-size: 15px; overflow: hidden; }
details { transition: background .25s, box-shadow .25s; }
details:hover, details[open] { box-shadow: 0 0 0 1.5px var(--brand) inset; }

/* finał */
.final { min-height: min(80vh, 760px); display: grid; align-items: center; overflow: hidden; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; opacity: .45; }
.final::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 20%, rgba(21,21,21,.2)); }
.final-copy { position: relative; z-index: 1; }
.final h2 { font-size: clamp(44px, 6.4vw, 92px); margin-bottom: 36px; }

/* stopka */
.foot { padding: 64px 0 90px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1.2fr; gap: 32px; }
.foot-grid > * { min-width: 0; }
.foot .logo { justify-self: start; align-self: start; max-width: 100%; }
.foot .logo img { width: 180px; max-width: 100%; height: auto; flex-shrink: 1; } /* w stopce logo zmniejsza się z kolumną, bez rozciągania */
.foot nav { display: grid; gap: 6px; }
.foot nav a { text-decoration: none; opacity: .8; }
.foot address { font-style: normal; opacity: .8; overflow-wrap: anywhere; }


/* animacje startowe — tylko gdy działa JS */
.hero-copy > * { animation: hero-in .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; } .hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; } .hero-copy > :nth-child(5) { animation-delay: .4s; }
.hero-copy > :nth-child(n+6) { animation-delay: .5s; }
.js .macros b { transition: opacity .4s; }
.js .macros:not(.ready) b { opacity: 0; } /* liczby czekają na skrypt, żeby nie przeskakiwały 5–8% → 0% */
@keyframes hero-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.js .reveal { opacity: 0; translate: 0 48px; transition: opacity .9s ease, translate .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .calc-result.reveal { translate: 64px 0; transition-delay: .35s; } /* karta wyniku wjeżdża z prawej, po formularzu */
.js .calc-result.reveal.in { translate: 0 0; }
/* Ludzie: portrety po kolei „otwierają się” od środka (jak wideo w hero), potem podpisy */
.face { --fd: 0s; }
.face:nth-of-type(2) { --fd: .22s; }
.face:nth-of-type(3) { --fd: .44s; }
.js .face.reveal { translate: 0 24px; transition-delay: var(--fd); }
.js .face.reveal .face-photo { clip-path: inset(38% 32% round 50%); transition: clip-path 1.2s cubic-bezier(.2,.8,.2,1) calc(var(--fd) + .1s), translate .4s ease; }
.js .face.reveal.in .face-photo { clip-path: inset(0 round var(--r)); }
.js .face.reveal figcaption > * { opacity: 0; translate: 0 12px; transition: opacity .6s ease, translate .6s cubic-bezier(.2,.7,.2,1); }
.js .face.reveal figcaption > :nth-child(1) { transition-delay: calc(var(--fd) + .65s); }
.js .face.reveal figcaption > :nth-child(2) { transition-delay: calc(var(--fd) + .75s); }
.js .face.reveal figcaption > :nth-child(3) { transition-delay: calc(var(--fd) + .85s); }
.js .face.reveal.in figcaption > * { opacity: 1; translate: 0 0; }
.face:hover .face-photo { translate: 0 -6px; }

/* responsywność */
@media (max-width: 1240px) {
  .config { grid-template-columns: auto 1fr; column-gap: 48px; }
}
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards-3 { gap: 14px; }
  .manifest-grid { grid-template-columns: auto auto; grid-template-areas: "head text" "no yes"; justify-content: center; column-gap: clamp(32px, 6vw, 72px); row-gap: 48px; }
  .m-text { padding-bottom: 0; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  /* telefon: Panel klienta zostaje, logo i przyciski mniejsze, żeby wszystko weszło w jeden rząd */
  .nav { gap: 10px; }
  .logo { padding: 6px 10px; border-radius: 8px; flex-shrink: 1; min-width: 0; }
  .logo img { height: 24px; }
  .nav-cta { gap: 6px; flex-shrink: 0; }
  .nav-cta .btn { padding: 8px 13px; font-size: 13px; white-space: nowrap; }
  .hero-grid, .calc-grid, .people-grid, .delivery-grid, .faq-grid { grid-template-columns: 1fr; }
  .keto-steps, .kcards { grid-template-columns: 1fr; gap: 16px; }
  .keto-steps { margin-top: 32px; }
  .kcard { padding: 24px; }
  .kmacro { gap: 14px; flex-wrap: nowrap; } .kmacro b { font-size: 20px; }
  .keto-note a { white-space: normal; }
  .hero { padding-top: 100px; }
  .hero-visual { max-width: 460px; width: 100%; margin: 0 auto; }
  .note-hero { bottom: -9%; font-size: 19px; }
  .manifest { --h: 112px; }
  .manifest-grid { grid-template-columns: 1fr; grid-template-areas: "head" "no" "yes" "text"; row-gap: 28px; }
  .oils { justify-content: space-around; }
  .oil { font-size: 12px; }
  .m-yes { padding-top: 0; }
  .m-note { display: none; }
  .m-head, .m-sub, .m-text { text-align: center; }
  .m-head .eyebrow { justify-content: center; }
  .m-sub { display: block; margin: 0 0 14px; font-weight: 700; font-size: 15px; }
  .m-text { padding: 6px 0 56px; }
  .m-text p { max-width: 260px; margin-inline: auto; }
  .sprig { width: 190px; }
  .sprig-r { right: -60px; bottom: -60px; }
  .sprig-tr { width: 150px; right: -50px; top: -6px; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; }
  .card { flex: 0 0 78%; scroll-snap-align: start; }
  .cards-3 .card { scroll-snap-align: center; }
  .eko-mode .cards-3 { justify-content: center; }
  .menu-mode { width: 100%; }
  .menu-mode button { flex: 1; padding: 10px 8px; }
  .mpkgs { width: 100%; }
  .quotes blockquote { width: 270px; padding: 18px 20px; }
  .quotes p { font-size: 14.5px; }
  .mpkgs button { flex: 1; padding: 8px 4px; }
  .diet-toggle button { padding: 9px 14px; font-size: 14px; }
  .config { grid-template-columns: 1fr; padding: 16px 14px; gap: 16px; }
  .cfg { width: 100%; align-items: stretch; }
  .config .diet-toggle { align-self: flex-start; }
  .config .kcal-toggle { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; }
  .config .kcal-toggle button { padding: 8px 0; font-size: 13px; }
  .card.pk .pk-sub small { display: block; }
  .card.pk .pk-sub small::before { content: none; }
  .meal-toggle { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .meal-toggle button { justify-content: center; padding: 9px 8px; }
  .step-list { grid-template-columns: 1fr 1fr; }
  .mday { flex-basis: calc((100% - 24px) / 3); }
  .mdays-arrow { width: 34px; height: 34px; font-size: 20px; }
  .mtabs { display: block; }
  .mtab { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: 16px 18px; border-left: 0 !important; }
  .mtab::after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
  .mtab.on::after { transform: translateY(2px) rotate(-135deg); }
  .mtab.on { border-bottom-color: rgba(243,237,227,.12); }
  .mpanel { grid-template-columns: 1fr; gap: 18px; padding: 20px 18px 24px; border-bottom: 1px solid rgba(243,237,227,.12); }
  .mopt ul { grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; } /* telefon: wiersz przewijany palcem */
  .mopt ul::-webkit-scrollbar { display: none; }
  .mopt li { scroll-snap-align: start; }
  .path { display: none; }
  .calc-form label { grid-template-columns: 90px 1fr 60px; }
  .faces { grid-template-columns: 1fr; gap: 18px; }
  .face { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
  .face figcaption { padding-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .macros b { font-size: 24px; }
  .hero-copy, .hero-grid > *, .calc-grid > *, .people-grid > *, .delivery-grid > *, .faq-grid > * { min-width: 0; }
  .mrow { column-gap: 12px; }
  .mrow > div { padding-left: 12px; }
}
@media (max-width: 420px) {
  .nav { padding-inline: 12px; gap: 8px; }
  .logo { padding: 5px 8px; }
  .logo img { height: 19px; }
  .nav-cta .btn { padding: 7px 11px; font-size: 12.5px; }
  .postal { flex-direction: column; gap: 5px; border-radius: 26px; }
  .postal input { padding: 12px 14px; }
  .postal .btn { width: 100%; }
  .macros b { font-size: 21px; }
  .card.pk .price { font-size: 28px; }
  .pk-body { padding: 32px 18px 20px; }
}
@media (max-width: 350px) {
  .nav { padding-inline: 10px; gap: 6px; }
  .logo { padding: 5px 7px; }
  .logo img { height: 14px; }
  .nav-cta { gap: 5px; }
  .nav-cta .btn { padding: 6px 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .kcard.reveal .kbar i { flex-basis: calc(var(--w) * 1%); transition: none; }
  .js .keto-steps li.in { animation: none; }
  .qrow { overflow-x: auto; }
  .qtrack { animation: none; }
  .qtrack [aria-hidden] { display: none; }
  .hero-copy > * { animation-name: msg-fade; }
  .city-msg.ok, .city-msg.err { animation: msg-fade .5s ease both; }
  .btn.pulse { animation: btn-glow 2.2s ease-in-out infinite; }
  html { scroll-behavior: auto; }
  .js .reveal { translate: 0 0; transition: opacity .7s ease; transition-delay: var(--d, 0s); }
  .js .face.reveal .face-photo { clip-path: none; transition: none; }
  .js .face.reveal figcaption > * { translate: 0 0; }
}
