/* ============================================================
   PaczkaZabaw — Site styles (marketing website)
   Pure CSS recreation of the design-system look (no React/CDN).
   ============================================================ */

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: clamp(56px, 9vw, 96px); position: relative; }
.section2 { padding-block: clamp(56px, 3vw, 50px); position: relative; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--sunken { background: var(--cream-deep); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }

.section__head { text-align: center; max-width: 660px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__title { font: var(--font-h2); margin: 10px 0 12px; }
.section__sub { font-size: var(--text-lg); color: var(--text-muted); }
.hl--pink { color: var(--pink-500); }
.hl--cyan { color: var(--cyan-500); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: var(--fw-extra);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brand-primary);
  display: inline-block;
}
.text-pink { color: var(--pink-500); }
.text-cyan { color: var(--cyan-500); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--white); color: var(--ink-900); padding: 10px 16px;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-md); font-weight: 800;
}
.skip-link:focus { left: 12px; }

/* ---------- Buttons (candy motif) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: var(--fw-extra); font-size: var(--text-md);
  line-height: 1; text-decoration: none; cursor: pointer;
  border: none; border-radius: var(--radius-pill);
  padding: 15px 26px; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary {
  background: var(--brand-primary); color: var(--text-on-brand);
  box-shadow: var(--edge-pink), var(--shadow-pink);
}
.btn--primary:hover { background: var(--brand-primary-hover); }
.btn--primary:active { transform: translateY(3px); box-shadow: inset 0 -1px 0 var(--brand-primary-deep); }

.btn--secondary {
  background: var(--brand-secondary); color: var(--text-on-brand);
  box-shadow: var(--edge-cyan), var(--shadow-cyan);
}
.btn--secondary:hover { background: var(--brand-secondary-hover); }
.btn--secondary:active { transform: translateY(3px); box-shadow: inset 0 -1px 0 var(--brand-secondary-deep); }

.btn--accent {
  background: var(--brand-primary); color: var(--text-on-accent);
  box-shadow: var(--edge-pink), var(--shadow-pink);
}
.btn--accent:hover { background: var(--yellow-300); }
.btn--accent:active { transform: translateY(3px); box-shadow: inset 0 -1px 0 var(--brand-accent-deep); }

.btn--ghost {
  background: var(--white); color: var(--text-strong);
  box-shadow: inset 0 0 0 2.5px var(--border-strong);
}
.btn--ghost:hover { background: var(--pink-50); color: var(--brand-primary); box-shadow: inset 0 0 0 2.5px var(--pink-200); }

.btn--lg { padding: 18px 32px; font-size: var(--text-lg); }
.btn--sm { padding: 11px 18px; font-size: var(--text-sm); }
.btn--block { width: 100%; }
.btn--white { background: #fff; color: var(--brand-primary); box-shadow: var(--shadow-sticker); }
.btn--white:hover { background: var(--pink-50); }

/* ---------- Chips / tags / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-pill); padding: 8px 14px;
  font-weight: var(--fw-bold); font-size: var(--text-sm); color: var(--text-body);
}
.chip svg { width: 16px; height: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--radius-pill); padding: 5px 12px;
  font-weight: var(--fw-extra); font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.badge--pink { background: var(--pink-100); color: var(--pink-700); }
.badge--cyan { background: var(--cyan-100); color: var(--cyan-700); }
.badge--yellow { background: var(--yellow-200); color: #8a6400; }
.badge--mint { background: var(--mint-100); color: #1c7a52; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 42px; height: 42px; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: var(--ink-900); }
.brand__word .p { color: var(--pink-400); }
.brand__word .z { color: var(--cyan-400); }

.site-nav { display: flex; gap: 4px; margin-left: 12px; }
.site-nav__link {
  color: var(--text-body); font-weight: var(--fw-bold); font-size: 15px;
  padding: 9px 13px; border-radius: var(--radius-pill); transition: background .15s, color .15s;
  /* Bez tego przy sześciu pozycjach (po dodaniu „Blog") etykiety łamały się
     w środku — „Jak to / działa" — i cały nagłówek rósł do dwóch linii. */
  white-space: nowrap;
}
/* Zakres, w którym menu jest jeszcze widoczne, ale robi się ciasno:
   ścieśniamy odstępy, zamiast pozwolić na zawijanie. */
@media (min-width: 940px) and (max-width: 1120px) {
  .site-nav { margin-left: 4px; gap: 0; }
  .site-nav__link { padding: 9px 9px; font-size: 14.5px; }
  .site-header__inner { gap: 14px; }
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--brand-primary); background: var(--pink-50); text-decoration: none; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.site-header__login { display: none; }
@media (min-width: 700px) { .site-header__login { display: inline-flex; } }

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  background: var(--white); border: 1.5px solid var(--border); cursor: pointer; color: var(--ink-900);
}
.nav-toggle svg { width: 24px; height: 24px; }
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px var(--container-pad) 20px; background: var(--cream);
  border-bottom: 1.5px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a.site-nav__link { padding: 13px 16px; font-size: 17px; }
.mobile-nav .btn { margin-top: 8px; }
@media (min-width: 940px) { .nav-toggle { display: none; } }
@media (max-width: 939px) { .site-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); overflow: hidden; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.02em; margin: 16px 0; color: var(--ink-900); }
.hero__lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--text-body); max-width: 38ch; }
.hero__cta { display: flex; gap: 14px; margin: 28px 0 20px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 14px; color: var(--text-muted); font-size: 15px; flex-wrap: wrap; }
.hero__trust strong { color: var(--text-strong); }
.stars { color: var(--yellow-400); display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; }

.hero__art { position: relative; min-height: 420px; }
.hero__blob {
  position: absolute; inset: 0; margin: auto; width: min(440px, 92%); aspect-ratio: 1;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 35% 30%, var(--cyan-200), var(--pink-200));
  filter: blur(2px);
}
/* Zdjęcie hero opakowane w <picture> (telefon dostaje pusty obrazek, patrz index.html).
   <picture> jest domyślnie elementem liniowym — bez tego zdjęcie straciłoby
   szerokość 100% i wyśrodkowanie przez margin-inline. */
.hero__art picture { display: block; }
.hero__photo {
  position: relative; z-index: 1; width: 100%; max-width: 520px; margin-inline: auto;
  border-radius: var(--radius-2xl); border: 6px solid #fff; box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3; object-fit: cover; background: var(--white);
}
.hero__chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; box-shadow: var(--shadow-md); border-radius: var(--radius-pill);
  padding: 10px 16px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text-strong);
}
.hero__chip svg { width: 18px; height: 18px; }
.hero__chip--1 { top: 6px; left: -8px; color: var(--cyan-600); }
.hero__chip--2 { bottom: 14px; right: -10px; color: var(--cyan-600); }

/* Decorative dots */
.dots { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(var(--pink-200) 2px, transparent 2px);
  background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--white); }
.trustbar__inner { display: flex; flex-wrap: wrap; gap: clamp(16px, 4vw, 48px); justify-content: center; align-items: center; padding-block: 20px; }
.trustbar__item { display: inline-flex; align-items: center; gap: 10px; font-weight: var(--fw-bold); color: var(--text-body); font-size: 15px; }
.trustbar__item svg { width: 22px; height: 22px; color: var(--brand-secondary); flex: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; text-align: center; position: relative; box-shadow: var(--shadow-sm); }
.step__num { position: absolute; top: 14px; right: 20px; font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--ink-100); line-height: 1; }
.step__icon { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; margin: 4px auto 18px; color: #fff; }
.step__icon svg { width: 34px; height: 34px; }
.step__icon--pink { background: var(--brand-primary); }
.step__icon--cyan { background: var(--brand-secondary); }
.step__icon--yellow { background: var(--brand-primary); }
.step__title { font: var(--font-h4); margin-bottom: 8px; }
.step__desc { color: var(--text-body); line-height: 1.5; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; }
.card--hover { transition: transform .18s ease, box-shadow .18s ease; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---------- Delivery map (mapa obszaru dostawy — strona Kontakt) ---------- */
.deliverymap { margin-top: 20px; padding: 22px; }
.deliverymap__svgwrap {
  margin: 14px auto 0; max-width: 260px;
}
.deliverymap__svgwrap svg { display: block; width: 100%; height: auto; }
.deliverymap__sea { fill: none; }
.deliverymap__poland { fill: url(#pzMapGradient); stroke: var(--pink-400); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.deliverymap__neighbor { fill: var(--ink-400); font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: .03em; }
.deliverymap__city { fill: var(--ink-700); }
.deliverymap__city-label { fill: var(--ink-700); font-family: var(--font-body); font-weight: 700; font-size: 10.5px; }
.deliverymap__pin-dot { fill: var(--pink-600); stroke: #fff; stroke-width: 2; }
.deliverymap__pin-label { fill: var(--ink-900); font-family: var(--font-display); font-weight: 800; font-size: 13px; }
.deliverymap__ping { fill: none; stroke: var(--pink-400); stroke-width: 2; animation: pzMapPing 2.4s ease-out infinite; }
@keyframes pzMapPing {
  0%   { r: 5;  opacity: .55; }
  100% { r: 20; opacity: 0; }
}
/* Przy "ogranicz ruch" animacja skraca się do 0 i ląduje na niewidocznej
   klatce końcowej — pokaż zamiast tego statyczny, widoczny pierścień. */
@media (prefers-reduced-motion: reduce) {
  .deliverymap__ping { animation: none; r: 10; opacity: .35; }
}

/* Product tile */
.product { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product__media { aspect-ratio: 1; display: grid; place-items: center; padding: 14px; background: linear-gradient(160deg, var(--cyan-50), var(--pink-50)); }
.product__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product__body { padding: 14px 16px 18px; }
.product__name { font-family: var(--font-display); font-weight: 700; color: var(--text-strong); font-size: 16px; }
.product__tag { color: var(--text-muted); font-size: 13px; font-weight: 700; margin-top: 2px; }

/* Age badge */
.age { display: inline-flex; align-items: center; gap: 6px; background: var(--cyan-50); color: var(--cyan-700); font-weight: var(--fw-extra); font-size: 13px; padding: 6px 12px; border-radius: var(--radius-pill); }

/* ---------- Plans (pricing) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 30px 26px; position: relative; box-shadow: var(--shadow-sm); }
.plan--featured { border: 2.5px solid var(--pink-300); box-shadow: var(--shadow-pink); }
@media (min-width: 941px) { .plan--featured { transform: translateY(-14px); } }
.plan__ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); }
.plan__name { font: var(--font-h3); }
.plan__desc { color: var(--text-muted); font-weight: var(--fw-semibold); min-height: 44px; }
.plan__price { margin: 14px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.plan__amt { font-family: var(--font-display); font-weight: 800; font-size: 46px; color: var(--text-strong); line-height: 1; }
.plan__unit { color: var(--text-muted); font-weight: var(--fw-bold); }
.plan__toys { display: inline-flex; align-items: center; gap: 7px; font-weight: var(--fw-bold); color: var(--cyan-700); background: var(--cyan-50); padding: 7px 13px; border-radius: var(--radius-pill); align-self: flex-start; margin: 8px 0 4px; }
.plan__toys svg { width: 16px; height: 16px; }
.plan__feats { list-style: none; padding: 0; margin: 12px 0 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan__feats li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-body); font-weight: var(--fw-semibold); }
.plan__feats svg { color: var(--mint-500); flex: none; margin-top: 2px; width: 20px; height: 20px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.quote__stars { color: var(--yellow-400); display: inline-flex; gap: 2px; }
.quote__stars svg { width: 16px; height: 16px; }
.quote__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-body); font-weight: var(--fw-regular); flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 16px; flex: none; }
.quote__name { font-family: var(--font-display); font-weight: 700; color: var(--text-strong); white-space: nowrap; }
.quote__meta { font-size: 13px; color: var(--text-muted); font-weight: var(--fw-semibold); white-space: nowrap; }
/* Opinie — górny wiersz (avatar + dane po lewej, ocena po prawej) i wyróżniony tytuł */
.quote__head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.quote__id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.quote__headline { margin: 2px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.35; color: var(--text-strong); }
.quote__stars { flex: none; }
.quote__stars .is-empty { color: var(--border-strong); }
/* Strzałki karuzeli opinii — widoczne tylko na mobile (patrz mobile.css) */
.quotes-nav { display: none; }

/* ---------- CTA band ---------- */
.ctaband { background: var(--brand-primary); position: relative; overflow: hidden; }
.ctaband::after { content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.6) 2px, transparent 2px); background-size: 30px 30px; }
.ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(44px, 6vw, 64px); flex-wrap: wrap; position: relative; z-index: 1; }
.ctaband__title { color: #fff; font: var(--font-h2); }
.ctaband__sub { color: color-mix(in srgb, #fff 90%, var(--pink-700)); font-size: 18px; max-width: 48ch; margin-top: 10px; }
.ctaband--cyan { background: var(--brand-secondary); }
.ctaband--cyan .ctaband__sub { color: color-mix(in srgb, #fff 92%, var(--cyan-700)); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq__item[open] { border-color: var(--pink-200); box-shadow: var(--shadow-sm); }
.faq__q { list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-strong); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .ico { width: 26px; height: 26px; flex: none; color: var(--brand-primary); transition: transform .2s ease; }
.faq__item[open] .faq__q .ico { transform: rotate(45deg); }
.faq__item.is-closing .faq__q .ico { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a-inner { padding: 0 22px 20px; color: var(--text-body); line-height: 1.6; }
/* Płynne rozwijanie (animacja jak w akordeonie) — animujemy grid-template-rows 0fr -> 1fr.
   Przeglądarka interpoluje jedną wartość, treść nie jest mierzona ani przeliczana co klatkę. */
.faq.js-anim .faq__a { display: grid; grid-template-rows: minmax(0, 0fr); transition: grid-template-rows .32s cubic-bezier(.25, .1, .25, 1); }
.faq.js-anim .faq__a > .faq__a-inner { min-height: 0; overflow: hidden; }
.faq.js-anim .faq__item[open] .faq__a { grid-template-rows: minmax(0, 1fr); }
.faq.js-anim .faq__item.is-collapsing .faq__a { grid-template-rows: minmax(0, 0fr); }
/* Animacja ma działać zawsze — nadpisujemy globalny skrót czasu z prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .faq.js-anim .faq__a { transition-duration: .32s !important; }
}

/* ---------- Gift / newsletter ---------- */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: linear-gradient(150deg, var(--cyan-50), var(--pink-50)); border: 1.5px solid var(--border-brand); border-radius: var(--radius-2xl); padding: clamp(28px, 1vw, 52px); }
.gift__form { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.field { flex: 1; min-width: 220px; }
.input, .textarea, .select {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink-900);
  background: #fff; border: 2.5px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 14px 16px; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--cyan-400); box-shadow: var(--focus-ring); }
.label { display: block; font-weight: var(--fw-bold); color: var(--text-strong); margin-bottom: 7px; font-size: 15px; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #fff; padding: clamp(44px, 6vw, 60px) 0 28px; }
.site-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .brand__word { color: #fff; }
.site-footer .brand__word .p { color: var(--pink-300); }
.site-footer .brand__word .z { color: var(--cyan-300); }
.site-footer__tag { color: var(--ink-400); margin-top: 14px; max-width: 30ch; line-height: 1.5; }
.site-footer__h { color: #fff; font-size: 16px; margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; }
.site-footer__col { display: flex; flex-direction: column; gap: 11px; }
.site-footer__link { color: var(--ink-300); font-weight: var(--fw-semibold); font-size: 15px; }
.site-footer__link:hover { color: var(--cyan-300); text-decoration: none; }
.site-footer__contact { display: flex; flex-direction: column; gap: 10px; color: var(--ink-300); font-weight: var(--fw-semibold); font-size: 15px; }
.site-footer__contact a { color: var(--ink-300); }
.site-footer__contact a:hover { color: var(--cyan-300); text-decoration: none; }
.site-footer__social { display: flex; gap: 10px; margin-top: 6px; }
.site-footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.site-footer__social a:hover { background: var(--brand-primary); }
.site-footer__social svg { width: 20px; height: 20px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-500); font-size: 14px; font-weight: var(--fw-semibold); margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.pagehero { background: linear-gradient(160deg, var(--cyan-50), var(--pink-50)); padding: clamp(44px, 6vw, 72px) 0; text-align: center; border-bottom: 1.5px solid var(--border); }
.pagehero h1 { font: var(--font-h1); margin-bottom: 14px; }
.pagehero p { font-size: var(--text-lg); color: var(--text-body); max-width: 56ch; margin-inline: auto; }
.breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; font-weight: var(--fw-semibold); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-primary); text-decoration: none; }

/* Prose (legal pages) */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font: var(--font-h3); margin: 36px 0 12px; }
.prose h3 { font: var(--font-h4); margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-body); line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.prose a { color: var(--text-link); }

/* Two-column feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.feature + .feature { margin-top: clamp(40px, 6vw, 72px); }
/* object-fit: contain, nie cover — zdjecia produktow sa pionowe (750x1000),
   a ramka pozioma, wiec "cover" ucinal gore i dol pudelka. Tak samo dzialaja
   kafelki .product__media img. Tlo gradientowe wypelnia margines. */
.feature__media img { width: 100%; border-radius: var(--radius-2xl); border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: contain; padding: 10px; background: linear-gradient(160deg, var(--cyan-50), var(--pink-50)); }
.feature--rev .feature__media { order: 2; }
.feature__list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.feature__list li { display: flex; gap: 11px; align-items: flex-start; font-weight: var(--fw-semibold); color: var(--text-body); }
.feature__list svg { color: var(--mint-500); flex: none; margin-top: 2px; width: 22px; height: 22px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); color: var(--brand-primary); line-height: 1; }
.stat__label { color: var(--text-muted); font-weight: var(--fw-bold); margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; min-height: 320px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--rev { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .gift { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .steps, .grid--3, .grid--2, .plans { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }

  /* Opinie — karuzela przesuwana kciukiem, ze strzałkami po bokach.
     Współdzielone przez wszystkie strony z sekcją opinii (nie tylko index). */
  .quotes {
    display: flex; gap: 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--container-pad));
    padding: 4px var(--container-pad) 16px;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quotes > .quote { flex: 0 0 84%; scroll-snap-align: center; padding: 24px; }
  .quote__text { font-size: 15.5px; }

  .quotes-wrap { position: relative; }
  .quotes-nav {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 2; width: 40px; height: 40px; padding: 0;
    border: 1.5px solid var(--border); border-radius: 50%;
    background: var(--white); color: var(--brand-primary);
    box-shadow: var(--shadow-md); cursor: pointer;
    transition: opacity .2s ease, transform .1s ease;
  }
  .quotes-nav:active { transform: translateY(-50%) scale(.92); }
  .quotes-nav svg { width: 22px; height: 22px; }
  .quotes-nav--prev { left: 2px; }
  .quotes-nav--next { right: 2px; }
  .quotes-nav[hidden] { opacity: 0; pointer-events: none; }
}
@media (max-width: 460px) {
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Mobile-first refinements
   ============================================================ */
/* Header: na telefonach i mniejszych tabletach chowamy przycisk „Zamów paczkę”
   z nagłówka — jego rolę przejmuje przyklejony pasek CTA na dole + menu.
   Dzięki temu logo nigdy nie jest zasłaniane na wąskich ekranach. */
@media (max-width: 760px) {
  .site-header__inner { gap: 12px; height: 64px; }
  .site-header__actions { gap: 8px; }
  .site-header__actions .btn--primary { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__word { font-size: 20px; }
}

@media (max-width: 600px) {
  .hero { padding-top: 24px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { width: 100%; }              /* CTA pełnej szerokości na małych ekranach */
  .hero__art { min-height: 260px; }
  .hero__photo { border-width: 5px; }
  .section { padding-block: 48px; }
  .section__head { margin-bottom: 28px; }
  .ctaband__inner .btn { width: 100%; }
  .gift__form .btn { width: 100%; }
  .plan { padding: 26px 22px; }
}

/* Bardzo wąskie ekrany (małe telefony) — drobne dopasowania */
@media (max-width: 380px) {
  .brand__word { font-size: 18px; }
  .hero__title { font-size: 32px; }
  .section__title { font-size: 26px; }
  .plan__amt { font-size: 40px; }
}

/* Prevent any accidental horizontal overflow */
html, body { max-width: 100%; overflow-x: hidden; }

/* ============================================================
   Sticky mobile CTA bar (conversion)
   ============================================================ */
.pz-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 12px; align-items: center; justify-content: space-between;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1.5px solid var(--border); box-shadow: 0 -6px 20px rgba(44,39,71,.10);
}
.pz-sticky-cta__text { font-family: var(--font-display); font-weight: 800; color: var(--text-strong); font-size: 15px; line-height: 1.1; }
.pz-sticky-cta__text small { display: block; font-family: var(--font-body); font-weight: 700; color: var(--text-muted); font-size: 12px; }
.pz-sticky-cta .btn { flex: none; }
@media (max-width: 760px) {
  body.has-sticky-cta { padding-bottom: 84px; }
  .pz-sticky-cta { display: flex; }
}

/* ============================================================
   Cookie consent banner (RODO) — analytics gated behind it
   ============================================================ */
.pz-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  max-width: 520px; margin-inline: auto;
  background: var(--white); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-xl);
  padding: 22px 22px 20px;
}
.pz-consent[hidden] { display: none; }
.pz-consent__title { font: var(--font-h4); margin-bottom: 6px; }
.pz-consent__text { font-size: 14px; color: var(--text-body); line-height: 1.5; }
.pz-consent__text a { color: var(--text-link); }
.pz-consent__actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pz-consent__actions .btn { flex: 1; min-width: 140px; }
@media (max-width: 760px) {
  .pz-sticky-cta.is-lowered { bottom: 0; }
}

/* ============================================================
   Dopracowanie wyglądu na mobile (wszystkie podstrony)
   ============================================================ */
@media (max-width: 600px) {
  /* Nagłówki podstron — mniejsze i lżejsze, mniej pustej przestrzeni */
  .pagehero { padding: 30px 0 32px; }
  .pagehero h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.1; margin-bottom: 10px; }
  .pagehero p { font-size: 16px; }
  .breadcrumb { margin-bottom: 12px; }

  /* Zdjęcia — lżejsza biała ramka i mniejsze zaokrąglenie, by produkt
     zawsze ładnie mieścił się na wąskim ekranie i nie był „przycięty" rogami */
  .feature__media img,
  .hero__photo {
    border-width: 4px;
    border-radius: var(--radius-xl);
  }
  .feature__media img { object-position: center; }

  /* Sekcje feature — ciaśniejszy odstęp obraz↔tekst */
  .feature { gap: 20px; }
  .feature + .feature { margin-top: 36px; }
  .feature__copy h2 { font-size: 26px; }

  /* Chipy na zdjęciu hero — czytelne i w obrębie ekranu */
  .hero__chip { font-size: 13px; padding: 8px 13px; }
  .hero__chip--1 { left: 4px; top: 2px; }
  .hero__chip--2 { right: 4px; bottom: 10px; }

  /* Karty korzyści/wartości — równiejsze, oddychające */
  .card { padding: 22px; }

  /* Pasek CTA na dole sekcji — czytelniejszy nagłówek na małym ekranie */
  .ctaband__title { font-size: 26px; }
  .ctaband__sub { font-size: 16px; }

  /* Cennik — wyróżniony plan delikatnie podbity zamiast przesunięcia */
  .plan--featured { box-shadow: var(--shadow-pink); }

  /* Newsletter / formularze — etykiety i pola wygodne pod kciuk */
  .gift { padding: 26px 20px; }
}

/* Bardzo małe telefony — dodatkowe domknięcie typografii */
@media (max-width: 360px) {
  .pagehero h1 { font-size: 26px; }
  .plan__amt { font-size: 38px; }
  .pz-sticky-cta__text { font-size: 14px; }
}
