/* Muller Agro – style strony */
:root {
  --red: #E30613;
  --red-text: #B0040E;
  --maroon: #6F0107;
  --maroon-2: #7E0A10;
  --maroon-deep: #3D0004;
  --on-dark: #F3D6D7;
  --on-dark-muted: #E6B3B5;
  --line-dark: #8A1F25;
  --ink: #1A1A1A;
  --ink-2: #3A3A3A;
  --muted: #555555;
  --muted-2: #666666;
  --ground: #FAF8F7;
  --ground-2: #F5EDEC;
  --tint: #F3EEED;
  --line: #ECE6E5;
  --field: #D5CCCB;
  --chip: #FBE3E4;
  --display: 'Montserrat', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --logo: 'Nunito', 'Arial Rounded MT Bold', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red-text); }
a:hover { color: var(--maroon); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -.015em; color: var(--maroon); }
.lead { color: var(--muted); max-width: 38rem; }
.mark { background: var(--red); color: #fff; padding: 0 .18em; border-radius: .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.btn { display: inline-block; font: inherit; font-weight: 600; text-decoration: none; padding: 17px 30px; border-radius: 999px; border: 0; cursor: pointer; text-align: center; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-text); color: #fff; }
.btn-white { background: #fff; color: var(--maroon); }
.btn-white:hover { background: var(--tint); color: var(--maroon); }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 4px; text-decoration: none; font-family: var(--logo); font-weight: 900; font-size: 28px; line-height: 1; }
.logo img { height: 40px; width: auto; }
.logo-box { color: #fff; background: var(--red); padding: 6px 14px 8px; border-radius: 14px 14px 10px 10px; }
.logo-agro { color: var(--ink); padding-left: 4px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-weight: 600; font-size: 16px; }
.nav a { color: #262626; text-decoration: none; padding: 12px 0; }
.nav a:hover { color: var(--red-text); }
.nav .btn { padding: 11px 22px; color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; padding: 15px 22px; border-top: 0; }
}

/* Hero */
.hero { background: var(--maroon); color: #fff; padding-top: 80px; overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.hero-copy { flex: 1 1 520px; min-width: 0; padding-bottom: 80px; }
.hero .eyebrow { color: var(--on-dark); margin-bottom: 24px; }
.hero h1 { margin: 0 0 28px; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.02em; }
.hero p.sub { margin: 0 0 40px; font-size: 20px; color: var(--on-dark); max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { flex: 1 1 420px; min-width: 0; height: 560px; border-radius: 24px 24px 0 0; }

/* Miejsce na zdjęcie: wzór widoczny, dopóki nie wgrasz pliku */
.ph { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-weight: 600; font-size: 15px; color: var(--muted-2); background: repeating-linear-gradient(135deg, #EFE7E6 0 16px, #F5F0EF 16px 32px); }
.ph.dark { color: var(--on-dark-muted); background: repeating-linear-gradient(135deg, var(--maroon-2) 0 20px, #760509 20px 40px); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Partnerzy */
.partners { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0; }
.partners .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; }
.partners .eyebrow { margin: 0; color: var(--muted-2); }
.partner { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); }
.partner img { height: 40px; width: auto; }

/* Nagłówek sekcji z opisem obok */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head .h2 { max-width: 46rem; }
.section-head p { margin: 0; color: var(--muted); max-width: 26rem; }

/* Obszary */
.grid-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.area { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 220px; }
.num { align-self: flex-start; font-family: var(--display); font-weight: 800; font-size: 15px; color: #fff; background: var(--red); padding: 6px 10px; border-radius: 8px; }
.card h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Produkt flagowy */
.flagship { padding-bottom: 112px; }
.flagship-box { background: var(--maroon); color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.flagship-copy { flex: 1 1 440px; min-width: 0; }
.flagship .eyebrow { color: var(--on-dark); }
.flagship h2 { margin: 0 0 20px; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -.02em; }
.flagship-copy p { margin: 0 0 32px; color: var(--on-dark); font-size: 19px; max-width: 32rem; }
.checks { flex: 1 1 380px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-dark); font-size: 19px; }
.tick { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--red); display: flex; align-items: center; justify-content: center; }
.note-small { margin-top: 18px; font-size: 14px; color: var(--on-dark-muted); }

/* Produkty */
.products { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; background: var(--tint); padding: 6px; border-radius: 999px; }
.tab { font: inherit; font-size: 15px; font-weight: 600; border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; background: transparent; color: var(--ink-2); }
.tab[aria-pressed="true"] { background: var(--maroon); color: #fff; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.product { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--ground); display: flex; flex-direction: column; }
.product[hidden] { display: none; }
.product .ph { height: 200px; }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.chip { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-text); background: var(--chip); padding: 4px 10px; border-radius: 999px; }
.product h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 23px; }
.product p { margin: 0; color: var(--muted); font-size: 16px; flex: 1; }
.product a { font-weight: 600; font-size: 16px; }

/* Doradztwo */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 0; }
.steps li { border-top: 4px solid var(--red); padding: 24px 28px 0 0; }
.step-num { font-family: var(--display); font-weight: 900; font-size: 60px; line-height: 1; color: var(--maroon); }
.steps h3 { margin: 16px 0 8px; font-family: var(--display); font-weight: 800; font-size: 21px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* O nas */
.about { background: var(--ground-2); }
.about .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.about-copy { flex: 1 1 420px; min-width: 0; }
.about-copy .h2 { margin-bottom: 24px; font-size: clamp(32px, 4.2vw, 50px); }
.about-copy p { margin: 0 0 16px; color: var(--ink-2); }
.team { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.person { margin: 0; background: #fff; border-radius: 20px; overflow: hidden; }
.person .ph { height: 260px; background: repeating-linear-gradient(135deg, #EADFDE 0 16px, #F2EAE9 16px 32px); }
.person figcaption { padding: 20px 24px; }
.person strong { display: block; font-family: var(--display); font-weight: 800; font-size: 19px; }
.person span { color: var(--muted); font-size: 16px; }

/* Kontakt */
.contact { background: var(--maroon); color: #fff; }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-copy { flex: 1 1 380px; min-width: 0; }
.contact h2 { margin: 0 0 20px; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.contact-copy > p { margin: 0 0 40px; color: var(--on-dark); max-width: 30rem; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-list dt { font-size: 14px; color: var(--on-dark-muted); }
.contact-list dd { margin: 0; font-weight: 600; font-size: 22px; }
.contact-list a { color: #fff; }
.contact-list .phone { font-family: var(--display); font-weight: 800; font-size: 30px; text-decoration: none; }
.form { flex: 1 1 460px; min-width: 0; background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; padding: 13px 14px; border: 1px solid var(--field); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; }

/* Stopka */
.footer { background: var(--maroon-deep); color: var(--on-dark-muted); padding: 36px 0; font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer a { color: #fff; }

/* Podstrony tekstowe */
.page { padding: 80px 0 112px; }
.page .wrap { max-width: 820px; }
.page h1 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; color: var(--maroon); margin: 0 0 24px; }
.page h2 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 40px 0 12px; }
.page p, .page li { color: var(--ink-2); }

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .hero-photo { height: 320px; }
  .hero-copy { padding-bottom: 48px; }
  .flagship { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============ DETALE I PRZEJŚCIA ============ */
:root { --ease: cubic-bezier(.22,1,.36,1); }
html, body { overflow-x: clip; }
::selection { background: var(--red); color: #fff; }

/* Pasek postępu przewijania */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); z-index: 50; }

/* Nagłówek kurczy się i dostaje cień po przewinięciu */
.site-header { transition: box-shadow .4s var(--ease), background .4s var(--ease); }
.site-header .wrap { transition: padding .4s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(61,0,4,.25); background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.site-header.scrolled .wrap { padding-top: 8px; padding-bottom: 8px; }
.logo-box { transition: transform .5s var(--ease); display: inline-block; }
.logo:hover .logo-box { transform: rotate(-4deg) scale(1.05); }

/* Podkreślenie linków menu + aktywna sekcja */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--red-text); }

/* Przyciski: połysk, uniesienie, strzałka */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(227,6,19,.55); }
.btn-white:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arr { display: inline-block; margin-left: 8px; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* Hero: wejście tekstu linia po linii */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 85% 10%, rgba(227,6,19,.35), transparent 60%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none; background-image: 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='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 .line:nth-child(4) > span { animation-delay: .36s; }
@keyframes rise { to { transform: none; } }
.hero .mark { display: inline-block; position: relative; background: transparent; }
.hero .mark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); border-radius: .18em; transform: scaleX(0); transform-origin: left; animation: wipe .9s .75s var(--ease) forwards; }
@keyframes wipe { to { transform: scaleX(1); } }
.hero .eyebrow, .hero .sub, .hero .actions { opacity: 0; transform: translateY(16px); animation: fadeup .9s var(--ease) forwards; }
.hero .eyebrow { animation-delay: .05s; }
.hero .sub { animation-delay: .55s; }
.hero .actions { animation-delay: .7s; }
@keyframes fadeup { to { opacity: 1; transform: none; } }
.hero-photo { opacity: 0; transform: translateY(40px) scale(.98); animation: photo 1.4s .3s var(--ease) forwards; will-change: transform; }
@keyframes photo { to { opacity: 1; transform: none; } }
.hero-photo img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.hero-photo:hover img { transform: scale(1.12); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 999px; opacity: 0; animation: fadeup .8s 1.4s var(--ease) forwards; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: cue 1.8s 2s infinite var(--ease); }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Partnerzy: przewijająca się taśma */
.partners { overflow: hidden; }
.marquee { flex: 1 1 400px; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .partner { white-space: nowrap; display: inline-flex; align-items: center; gap: 64px; }
.marquee-track .partner::after { content: "✦"; color: var(--red); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pojawianie się przy przewijaniu */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { transform: translateX(-40px); }
.reveal-r { transform: translateX(40px); }
.reveal-l.in, .reveal-r.in { transform: none; }

/* Karty obszarów: uniesienie, czerwona linia, obrót numeru */
.area { position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.area::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.area:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(111,1,7,.45); border-color: transparent; }
.area:hover::after { transform: scaleX(1); }
.area .num { transition: transform .6s var(--ease), background .4s; }
.area:hover .num { transform: rotate(-8deg) scale(1.12); background: var(--maroon); }
.area h3 { transition: color .3s; }
.area:hover h3 { color: var(--maroon); }

/* Blok flagowy: poświata za kursorem, wysuwane pozycje */
.flagship-box { position: relative; overflow: hidden; isolation: isolate; }
.flagship-box::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: var(--mx, 70%); top: var(--my, 30%); transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(227,6,19,.45), transparent 65%); transition: left .3s ease-out, top .3s ease-out; pointer-events: none; }
.flagship-box::after { content: "OMNIGEN"; position: absolute; z-index: -1; right: -20px; bottom: -40px; font-family: var(--display); font-weight: 900; font-size: clamp(90px, 16vw, 220px); line-height: 1; color: rgba(255,255,255,.04); pointer-events: none; letter-spacing: -.03em; }
.checks li { transition: padding-left .4s var(--ease); }
.checks li:hover { padding-left: 10px; }
.checks .tick { transition: transform .5s var(--ease); }
.checks li:hover .tick { transform: scale(1.15) rotate(-10deg); }
.checks li.reveal { transform: translateX(30px); }
.checks li.reveal.in { transform: none; }

/* Zakładki z przesuwanym tłem */
.tabs { position: relative; }
.tab { position: relative; z-index: 1; transition: color .35s var(--ease); }
.tab[aria-pressed="true"] { background: transparent; }
.tab-pill { position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); border-radius: 999px; background: var(--maroon); transition: transform .5s var(--ease), width .5s var(--ease); }

/* Karty produktów */
.product { transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s var(--ease); }
.product:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(111,1,7,.5); }
.product .ph img { transition: transform 1s var(--ease); }
.product:hover .ph img { transform: scale(1.06); }
.product .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(111,1,7,.18)); opacity: 0; transition: opacity .5s; }
.product:hover .ph::after { opacity: 1; }
.product a { display: inline-flex; gap: 6px; text-decoration: none; }
.product a span { transition: transform .35s var(--ease); }
.product:hover a span { transform: translateX(5px); }
.product.leaving { opacity: 0; transform: scale(.96); }
.product.entering { animation: popin .55s var(--ease) both; }
@keyframes popin { from { opacity: 0; transform: translateY(18px) scale(.97); } }

/* Kroki: rysująca się linia i licznik */
.steps li { border-top-color: var(--line); position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -4px; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.steps li.in::before { transform: scaleX(1); }
.step-num { transition: color .4s, transform .5s var(--ease); }
.steps li:hover .step-num { color: var(--red); transform: translateX(6px); }

/* Zespół */
.person { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.person:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 50px -30px rgba(111,1,7,.45); }
.person .ph img { filter: grayscale(.25); transition: filter .6s, transform 1s var(--ease); }
.person:hover .ph img { filter: none; transform: scale(1.05); }

/* Kontakt */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -250px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.contact-list .phone { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.contact-list .phone:hover { background-size: 100% 2px; color: #fff; }
.form { box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.field input, .field select, .field textarea { transition: border-color .3s, box-shadow .3s, background .3s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #BFB3B2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,6,19,.14); }
.field label { transition: color .3s; }
.field:focus-within label { color: var(--red-text); }
.form .btn[disabled] { opacity: .7; pointer-events: none; }

/* Przycisk „do góry” */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--maroon); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgba(61,0,4,.6); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); transform: translateY(-3px); }
.to-top svg { position: relative; z-index: 1; }
.to-top .ring { position: absolute; inset: -4px; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--red); stroke-width: 3; stroke-dasharray: 163; stroke-dashoffset: var(--off, 163); transition: stroke-dashoffset .1s linear; }

/* Pasek „zadzwoń” na telefonie */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 10px; padding: 8px; background: rgba(61,0,4,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 999px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); transform: translateY(130%); transition: transform .5s var(--ease); }
  .call-bar.show { transform: none; }
  .call-bar a { flex: 1; text-align: center; padding: 13px 10px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 16px; }
  .call-bar .c1 { background: var(--red); color: #fff; }
  .call-bar .c2 { background: #fff; color: var(--maroon); }
  .to-top { bottom: 84px; }
  .footer { padding-bottom: 96px; }
  .nav.open { animation: fadeup .45s var(--ease) both; }
}
.nav-toggle svg path { transition: transform .4s var(--ease), opacity .3s; transform-origin: center; }
.nav-toggle[aria-expanded="true"] svg path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] svg path:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] svg path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Ograniczony ruch */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ============ SKLEP ============ */
.site-header .logo { order: 0; }
.cart-btn { order: 2; position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: transform .35s var(--ease), border-color .3s, color .3s; }
.nav { order: 1; margin-left: auto; }
.nav-toggle { order: 3; }
.cart-btn:hover { transform: translateY(-2px); border-color: var(--red); color: var(--red-text); }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .4s var(--ease); }
.cart-btn.has .cart-count { transform: scale(1); }
.cart-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }
@media (max-width: 760px) {
  .nav { order: 4; margin-left: 0; }
  .cart-btn { margin-left: auto; }
}

.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--line); }
.price { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--maroon); }
.price small { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--muted); }
.price.tbd { font-size: 16px; color: var(--muted-2); }
.btn-sm { padding: 11px 20px; font-size: 16px; }
.product { cursor: pointer; }
.product:focus-within { box-shadow: 0 0 0 3px rgba(227,6,19,.25); }

/* Okna dialogowe */
dialog { padding: 0; border: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(30,0,3,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog[open]::backdrop { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; } }
.x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); transition: transform .35s var(--ease), background .3s, color .3s; }
.x:hover { transform: rotate(90deg); background: var(--red); color: #fff; }

.modal { width: min(960px, calc(100vw - 32px)); margin: auto; }
.modal[open] .modal-inner { animation: modalin .55s var(--ease) both; }
@keyframes modalin { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.modal-inner { position: relative; display: flex; flex-wrap: wrap; background: #fff; border-radius: 28px; overflow: hidden; max-height: calc(100vh - 32px); overflow-y: auto; }
.pm-photo { flex: 1 1 340px; min-height: 320px; }
.pm-body { flex: 1 1 380px; min-width: 0; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.pm-body h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; color: var(--maroon); }
.pm-body p { margin: 0; color: var(--muted); }
.pm-meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 4px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pm-meta dt { font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.pm-meta dd { margin: 0; font-weight: 600; }
.pm-price { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--ink); }
.pm-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pm-buy .btn { flex: 1 1 200px; }
.pm-note { font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--field); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 46px; height: 50px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink); transition: background .25s, color .25s; }
.qty button:hover { background: var(--tint); color: var(--red-text); }
.qty input { width: 52px; height: 50px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.small button { width: 36px; height: 38px; font-size: 18px; }
.qty.small input { width: 38px; height: 38px; }

/* Szuflada koszyka */
.drawer { margin: 0 0 0 auto; height: 100vh; height: 100dvh; width: min(520px, 100vw); }
.drawer[open] .drawer-inner { animation: slidein .55s var(--ease) both; }
.drawer.closing .drawer-inner { animation: slideout .35s var(--ease) both; }
.modal.closing .modal-inner { animation: modalout .3s var(--ease) both; }
@keyframes slidein { from { transform: translateX(100%); } }
@keyframes slideout { to { transform: translateX(100%); } }
@keyframes modalout { to { opacity: 0; transform: translateY(20px) scale(.97); } }
.drawer-inner { position: relative; height: 100%; background: var(--ground); display: flex; flex-direction: column; overflow-y: auto; }
.drawer-head { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); padding: 22px 24px 18px; }
.drawer-head h2 { margin: 10px 0 0; font-family: var(--display); font-weight: 900; font-size: 28px; color: var(--maroon); }
.drawer-head .x { top: 18px; right: 18px; box-shadow: none; background: var(--tint); }
.steps-mini { display: flex; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.steps-mini span { display: inline-flex; align-items: center; gap: 6px; }
.steps-mini span + span::before { content: ""; width: 18px; height: 2px; background: var(--line); }
.steps-mini .on { color: var(--red-text); }
.step { padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 18px; }
.step[hidden] { display: none; }
.step.enter { animation: fadeup .5s var(--ease) both; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }
.cart-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; animation: popin .45s var(--ease) both; }
.cart-item.removing { animation: modalout .3s var(--ease) both; }
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; background: repeating-linear-gradient(135deg, #EFE7E6 0 8px, #F5F0EF 8px 16px); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-size: 16px; }
.cart-item .line-price { font-weight: 700; text-align: right; white-space: nowrap; }
.cart-item .rm { display: block; margin: 6px 0 0 auto; border: 0; background: none; font: inherit; font-size: 13px; color: var(--muted-2); cursor: pointer; text-decoration: underline; padding: 4px 0; }
.cart-item .rm:hover { color: var(--red-text); }
.totals { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.totals .sum { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 900; font-size: 20px; color: var(--ink); }
.totals .fine { margin: 0; font-size: 13px; color: var(--muted-2); }
.totals.small { font-size: 16px; }
.wide { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--field); }
.btn-ghost:hover { background: #fff; box-shadow: none; }
.checkout { display: flex; flex-direction: column; gap: 22px; }
.checkout fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 14px; }
.checkout legend { padding: 0; margin-bottom: 12px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--maroon); }
.checkout small { font-weight: 400; color: var(--muted-2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); background: #FFF6F6; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1.5px solid var(--field); border-radius: 14px; cursor: pointer; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.choice:hover { transform: translateY(-2px); }
.choice:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,6,19,.1); }
.choice input { margin-top: 3px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.choice strong { display: block; font-size: 16px; }
.choice em { font-style: normal; font-size: 14px; color: var(--muted); }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; }
.actions-row .btn-red { flex: 1 1 220px; }

/* Komunikat */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; background: var(--ink); color: #fff; border-radius: 999px; font-weight: 600; font-size: 16px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); transition: transform .5s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast .tick { width: 28px; height: 28px; }
.toast button { margin-left: 6px; border: 0; background: var(--red); color: #fff; font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
@media (max-width: 760px) { .toast { bottom: 92px; } }
body.locked { overflow: hidden; }
.checkout fieldset > .field, .form > .field { flex: none; }
.totals > div > span:last-child { text-align: right; }
.totals .sum > span:first-child { white-space: nowrap; }

/* ============ POPRAWKI: kółko „do góry” i charakterystyki ============ */
.to-top .ring { display: none; }
.to-top::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(var(--red) calc(var(--p, 0) * 1turn), rgba(111,1,7,.14) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); pointer-events: none; }
.to-top svg { display: block; }

.more { align-self: flex-start; margin-top: 2px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--red-text); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(176,4,14,.35); transition: text-decoration-color .3s; }
.more span { display: inline-block; transition: transform .35s var(--ease); }
.product:hover .more { text-decoration-color: currentColor; }
.product:hover .more span { transform: translate(2px, -2px); }

.modal { width: min(1080px, calc(100vw - 32px)); }
.modal-inner { align-items: stretch; }
.pm-photo { flex: 1 1 300px; max-width: 100%; min-height: 280px; align-self: stretch; }
@media (min-width: 820px) { .pm-photo { flex: 0 0 36%; position: sticky; top: 0; height: auto; } }
.pm-body { flex: 1 1 420px; gap: 16px; }
.pm-lead { font-size: 19px; color: var(--ink-2) !important; font-weight: 500; }
.facts { display: flex; flex-direction: column; gap: 10px; }
.fact { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: var(--ground); border: 1px solid var(--line); border-radius: 16px; transition: border-color .35s, transform .45s var(--ease), background .35s; }
.fact:hover { border-color: rgba(227,6,19,.35); background: #fff; transform: translateX(4px); }
.fact-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.fact h3 { margin: 2px 0 6px; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--maroon); }
.fact p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2) !important; }
.modal[open] .fact { animation: popin .6s var(--ease) both; }
.modal[open] .fact:nth-child(2) { animation-delay: .08s; }
.modal[open] .fact:nth-child(3) { animation-delay: .16s; }
.pm-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.pm-meta .wide-meta { grid-column: 1 / -1; }
.pm-meta dd { font-size: 16px; line-height: 1.5; }
.pm-src { font-size: 13px !important; color: var(--muted-2) !important; }
@media (max-width: 560px) {
  .pm-meta { grid-template-columns: 1fr; }
  .pm-photo { min-height: 200px; flex-basis: 100%; }
  .fact { grid-template-columns: 1fr; }
}

[hidden] { display: none !important; }

/* ============ PŁYNNY KOSZYK ============ */
body.locked { overflow: hidden; padding-right: var(--sbw, 0px); }
body.locked .to-top { right: calc(20px + var(--sbw, 0px)); }
.drawer-inner { will-change: transform; }
.drawer[open] .drawer-inner { animation: slidein .6s var(--ease) both; }
.drawer.closing .drawer-inner { animation: slideout .34s cubic-bezier(.5,0,.75,0) both; }
.modal.closing .modal-inner { animation: modalout .3s cubic-bezier(.5,0,.75,0) both; }
dialog.closing::backdrop { animation: fadeout .34s ease both; }
@keyframes fadeout { to { opacity: 0; } }
dialog[open]::backdrop { animation: fade .45s ease both; }
@keyframes slidein { from { transform: translateX(100%); box-shadow: none; } to { transform: none; box-shadow: -30px 0 60px -20px rgba(30,0,3,.35); } }
.drawer-inner { box-shadow: -30px 0 60px -20px rgba(30,0,3,.35); }
.cart-item { animation: none; }
.cart-item.new { animation: popin .5s var(--ease) both; }
.step.enter { animation: none; }
.step.enter-fwd { animation: stepfwd .5s var(--ease) both; }
.step.enter-back { animation: stepback .5s var(--ease) both; }
@keyframes stepfwd { from { opacity: 0; transform: translateX(40px); } }
@keyframes stepback { from { opacity: 0; transform: translateX(-40px); } }
#cart-title { transition: opacity .3s; }
.steps-mini span { transition: color .4s var(--ease); }
.steps-mini span + span::before { transition: background .4s var(--ease); }
.steps-mini span.on + span.on::before { background: var(--red); }
.totals span { transition: color .3s; }
.line-price { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .drawer-inner, .step, .cart-item { animation: none !important; } }

/* Ramki dostawy i płatności — równe */
.choices { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; padding: 4px; margin: -4px; }
.choice { min-height: 92px; align-items: flex-start; padding: 16px 18px; box-sizing: border-box; }
.choice > span { display: flex; flex-direction: column; gap: 4px; line-height: 1.35; min-width: 0; }
.choice strong { font-size: 16px; line-height: 1.3; }
.choice em { display: block; font-size: 14px; line-height: 1.4; }
.choice input { margin-top: 1px; }
@media (max-width: 400px) { .choices { grid-template-columns: 1fr; } .choice { min-height: 0; } }
.choice em { text-wrap: pretty; }

/* Metody płatności */
.pay-grid .choice { min-height: 78px; align-items: center; gap: 12px; padding: 14px 14px; }
.pay-grid .choice input { margin-top: 0; }
.pay-grid .choice > span:last-child { gap: 2px; }
.pay-grid .choice strong { font-size: 15px; }
.pay-grid .choice em { font-size: 13px; }
.pay-badge { flex: none; width: 52px; height: 34px; border-radius: 8px; display: flex !important; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: -.01em; line-height: 1; text-align: center; color: var(--ink); background: var(--tint); border: 1px solid var(--line); transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.pay-badge.blik { font-size: 13px; letter-spacing: .02em; }
.pay-badge svg { display: block; }
.choice.pay:hover .pay-badge { transform: scale(1.06); }
.choice.pay:has(input:checked) .pay-badge { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.pay-note { margin: 2px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--chip); color: var(--maroon); font-size: 14px; line-height: 1.45; }
.pay-note.swap { animation: fadeup .4s var(--ease) both; }
@media (max-width: 400px) { .pay-grid .choice { min-height: 70px; } }
.pay-grid { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 8px; }
.pay-grid .choice { min-height: 64px; padding: 10px 16px; gap: 14px; }
.pay-grid .choice > span:last-child { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 0; }
.pay-grid .choice em { white-space: nowrap; }
@media (max-width: 400px) { .pay-grid .choice { min-height: 60px; padding: 10px 12px; gap: 12px; } .pay-badge { width: 46px; } .pay-grid .choice > span:last-child { flex-direction: column; } }
.pay-badge.applepay { font-size: 10.5px; line-height: 1.05; }
/* Pola w jednym rzędzie zawsze na tej samej wysokości */
.row { align-items: flex-end; }
.row > .field { justify-content: flex-end; }
.field label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field input::placeholder, .field textarea::placeholder { color: #9A8E8D; opacity: 1; }
.field input, .field select { height: 56px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236F0107' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center; }

/* ============================================================
   PODSTRONY: katalog, karty produktów, blog, o nas, kontakt
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav a.active { color: var(--red-text); }
.nav a.active::after { transform: scaleX(1); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.section-foot { margin: 40px 0 0; text-align: center; }

/* Zdjęcia opakowań: całe widoczne, na jasnym tle */
.ph.pack { background: radial-gradient(120% 90% at 50% 30%, #fff 0%, #F3EEED 70%); padding: 0; }
.ph.pack img { object-fit: contain; padding: 18px; }
.product .ph.pack img { transition: transform .8s var(--ease); }
.product:hover .ph.pack img { transform: scale(1.06) translateY(-4px); }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.product { position: relative; cursor: default; }
.product .price-row, .product .more, .product .chip { position: relative; z-index: 1; }
.product .more { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; display: inline-flex; gap: 6px; }

/* Nagłówek podstrony */
.page-head { position: relative; overflow: hidden; isolation: isolate; background: var(--maroon); color: #fff; padding: 40px 0 64px; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 90% 0%, rgba(227,6,19,.4), transparent 60%); }
.page-head .eyebrow { color: var(--on-dark); margin: 28px 0 14px; }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.02em; max-width: 20ch; animation: fadeup .9s var(--ease) both; }
.page-lead { margin: 20px 0 0; font-size: 20px; color: var(--on-dark); max-width: 42rem; animation: fadeup .9s .12s var(--ease) both; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--muted-2); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--red-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-head .crumbs, .page-head .crumbs [aria-current] { color: var(--on-dark-muted); }
.page-head .crumbs [aria-current] { color: #fff; }
.page-head .crumbs a:hover { color: #fff; }

/* Ramka „porozmawiajmy” */
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin: 56px 0; padding: clamp(28px, 4vw, 48px); background: var(--maroon); color: #fff; border-radius: 28px; position: relative; overflow: hidden; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(227,6,19,.55), transparent 65%); }
.cta-box .eyebrow { color: var(--on-dark); margin-bottom: 10px; }
.cta-box h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.cta-box p { margin: 0; color: var(--on-dark); max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Wpisy na blogu — siatka kart */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(111,1,7,.45); }
.post-thumb { display: block; aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.post-meta { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red-text); }
.post-card h2, .post-card h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.25; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h2 a, .post-card:hover h3 a { color: var(--maroon); }
.post-card p:not(.post-meta) { margin: 0; color: var(--muted); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feature-link { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 32px; padding: 22px 28px; border-radius: 20px; background: var(--chip); color: var(--maroon); text-decoration: none; transition: background .3s, transform .4s var(--ease); }
.feature-link .eyebrow { margin: 0; }
.feature-link strong { flex: 1 1 300px; font-family: var(--display); font-weight: 800; font-size: 20px; }
.feature-link:hover { background: #F8D3D5; transform: translateY(-2px); color: var(--maroon); }
.mini-arr { font-size: 22px; transition: transform .35s var(--ease); }
.feature-link:hover .mini-arr, .mini-product:hover .mini-arr { transform: translateX(5px); }

/* Artykuł */
.article { padding: 40px 0 40px; }
.article-head { max-width: 860px; }
.article-head h1 { margin: 22px 0 14px; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.02em; color: var(--maroon); animation: fadeup .8s var(--ease) both; }
.article-meta { margin: 0 0 32px; font-size: 15px; color: var(--muted-2); font-weight: 600; }
.article-hero { margin: 0 auto 48px; max-width: 1100px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--tint); animation: fadeup 1s .1s var(--ease) both; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { max-width: 760px; }
.article-after { max-width: 1100px; }
.prose { font-size: 19px; line-height: 1.75; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * { margin: 0 0 1.1em; }
.prose h2 { margin: 2.1em 0 .6em; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; color: var(--ink); scroll-margin-top: 96px; }
.prose h3 { margin: 1.8em 0 .5em; font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.3; color: var(--ink); scroll-margin-top: 96px; }
.prose h4 { margin: 1.5em 0 .4em; font-size: 18px; color: var(--ink); }
.prose a { color: var(--red-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li > p { margin: 0; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-radius: 0 16px 16px 0; background: var(--chip); color: var(--maroon); border-left: 4px solid var(--red); }
.prose blockquote p { margin: 0; }
.prose img { height: auto; border-radius: 16px; margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--tint); color: var(--ink); font-weight: 700; }
.prose sub { font-size: .7em; }
.toc { margin: 0 0 2em; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.toc-title { margin: 0 0 8px !important; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--maroon); text-transform: uppercase; letter-spacing: .08em; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: 17px; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--red-text); text-decoration: underline; }
.article-products h2, .more-posts h2, .more-title { font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--maroon); margin: 56px 0 18px; }
.more-title { font-size: clamp(28px, 3vw, 40px); margin: 0 0 28px; }
.mini-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.mini-product { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .3s, transform .4s var(--ease); }
.mini-product:hover { border-color: rgba(227,6,19,.4); transform: translateY(-2px); color: var(--ink); }
.mini-img { flex: none; width: 64px; height: 64px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.mini-img img { max-width: 52px; max-height: 52px; object-fit: contain; }
.mini-product strong { display: block; font-family: var(--display); font-weight: 800; }
.mini-product em { display: block; font-style: normal; font-size: 14px; color: var(--muted); }
.mini-product .mini-arr { margin-left: auto; color: var(--red-text); }

/* Karta produktu */
.pp-hero { padding: 36px 0 80px; background: linear-gradient(180deg, #fff 0%, var(--ground) 100%); border-bottom: 1px solid var(--line); }
.pp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 28px; }
.pp-photo { position: sticky; top: 100px; border-radius: 28px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: radial-gradient(110% 90% at 50% 25%, #fff 0%, #F1E9E8 72%); overflow: hidden; animation: fadeup 1s var(--ease) both; }
.pp-photo img { max-width: 78%; max-height: 82%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(61,0,4,.18)); transition: transform 1.2s var(--ease); }
.pp-photo:hover img { transform: scale(1.04) rotate(-1deg); }
.pp-info { display: flex; flex-direction: column; gap: 18px; animation: fadeup 1s .1s var(--ease) both; }
.pp-info .chip { align-self: flex-start; }
.pp-info h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; color: var(--maroon); }
.pp-lead { margin: 0; font-size: 19px; color: var(--ink-2); }
.pp-meta { margin: 4px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pp-meta > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pp-meta dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); padding-top: 3px; }
.pp-meta dd { margin: 0; font-weight: 600; color: var(--ink); }
.pp-meta small { font-weight: 400; color: var(--muted-2); }
.pp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 40px -30px rgba(61,0,4,.35); }
.pp-price { display: flex; flex-direction: column; margin-right: auto; min-width: 150px; }
.pp-price-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.pp-buy .price { font-size: 22px; }
.pp-buy .price.tbd { font-size: 17px; color: var(--ink); font-family: var(--display); font-weight: 800; }
.pp-buy .btn { flex: 0 1 auto; }
.pp-note { margin: 0; font-size: 15px; color: var(--muted); }
.pp-facts { padding-bottom: 72px; }
.facts-wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.facts-wide .fact { grid-template-columns: 1fr; gap: 16px; padding: 26px; background: #fff; }
.facts-wide .fact h3 { font-size: 20px; }
.facts-wide .fact p { font-size: 17px; }
.pp-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pp-two .h2 { margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { padding: 15px 22px; border-bottom: 1px solid var(--line); text-align: left; font-size: 17px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { font-weight: 500; color: var(--ink-2); }
.spec-table td { text-align: right; font-family: var(--display); font-weight: 800; color: var(--maroon); white-space: nowrap; }
.spec-table tr { transition: background .25s; }
.spec-table tr:hover { background: var(--ground); }
.pp-spec { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp-spec .spec-table { background: var(--ground); }
.leaf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.leaf { position: relative; display: block; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 3 / 4; }
.leaf img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.leaf span { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(26,26,26,.82); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.leaf:hover img { transform: scale(1.04); }
.leaf:hover span, .leaf:focus-visible span { opacity: 1; transform: none; }
.src-links { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.src-links a { font-weight: 600; }
.src-links a::after { content: " ↗"; }
.disclaimer { margin: 28px 0 0; font-size: 14px; color: var(--muted-2); max-width: 54rem; }
.pp-more .cta-box { margin-top: 0; margin-bottom: 72px; }
@media (max-width: 900px) {
  .pp-grid, .pp-two { grid-template-columns: 1fr; }
  .pp-photo { position: relative; top: 0; max-width: 460px; width: 100%; margin: 0 auto; }
  .facts-wide { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pp-meta > div { grid-template-columns: 1fr; gap: 4px; }
  .pp-buy .btn { width: 100%; }
  .pp-price { min-width: 0; }
}

/* O nas */
.avatar { height: 260px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 64px; letter-spacing: -.02em; color: #fff; background: radial-gradient(120% 120% at 20% 0%, var(--red) 0%, var(--maroon) 60%, var(--maroon-deep) 100%); }
.person:nth-child(2) .avatar { background: radial-gradient(120% 120% at 80% 0%, #B0040E 0%, var(--maroon) 55%, var(--maroon-deep) 100%); }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; margin-top: 28px; }
.partner-logos img { height: 64px; width: auto; }
.company-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.company-card h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 900; font-size: 24px; color: var(--maroon); }
.company-card dl { margin: 0; }
.company-card dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.company-card dl > div:last-child { border-bottom: 0; }
.company-card dt { color: var(--muted-2); font-size: 14px; font-weight: 600; }
.company-card dd { margin: 0; font-weight: 600; }
.marquee-track .partner img { height: 34px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .4s, opacity .4s; }
.marquee:hover .partner img { filter: none; opacity: 1; }

/* Pytania */
.faq { background: #fff; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro .h2 { margin-bottom: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--ground); transition: background .3s, border-color .3s; }
.faq-item[open] { background: #fff; border-color: rgba(227,6,19,.35); box-shadow: 0 20px 40px -30px rgba(111,1,7,.4); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--maroon); }
.faq-ico { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--chip); transition: background .3s, transform .45s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--red-text); border-radius: 2px; transition: transform .45s var(--ease), background .3s; }
.faq-ico::after { transform: rotate(90deg); }
.faq-item[open] .faq-ico { background: var(--red); transform: rotate(180deg); }
.faq-item[open] .faq-ico::before, .faq-item[open] .faq-ico::after { background: #fff; }
.faq-item[open] .faq-ico::after { transform: rotate(0deg); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.faq-item[open] .faq-a { animation: fadeup .45s var(--ease) both; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-intro { position: static; } }

/* Blog na stronie głównej */
.blog-teaser { padding-top: 0; }

/* Stopka rozbudowana */
.footer { padding: 56px 0 28px; }
.footer .wrap.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.footer-brand p { margin: 14px 0 0; color: var(--on-dark-muted); max-width: 28rem; font-size: 15px; }
.logo-inverse .logo-agro { color: #fff; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-nav a, .footer-contact a { color: #fff; text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer .wrap.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
@media (max-width: 760px) { .footer .wrap.footer-grid { grid-template-columns: 1fr; } }

/* Okno produktu i koszyk — nowe elementy */
.pm-more { align-self: flex-start; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; }
.pm-more span { transition: transform .35s var(--ease); }
.pm-more:hover span { transform: translateX(4px); }
.order-info { margin: 0; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.order-info strong { color: var(--maroon); }
.flagship .actions { gap: 12px; }
.btn-sm { white-space: nowrap; padding: 11px 18px; }
.price.tbd { font-size: 15px; line-height: 1.3; }
.blog-teaser { padding-top: 112px; }
@media (max-width: 760px) { .blog-teaser { padding-top: 80px; } }
.toast { transform: translate(-50%, calc(100% + 120px)); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.show { visibility: visible; transform: translate(-50%, 0); transition: transform .5s var(--ease), visibility 0s; }

/* Oryginalne logo Muller Agro */
.logo img { height: 56px; width: auto; display: block; margin: -6px 0; transition: transform .5s var(--ease); }
.logo:hover img { transform: scale(1.04); }
.logo-inverse img { height: 60px; }
@media (max-width: 700px) { .logo img { height: 46px; } }
