/* ==========================================================================
   RODZINNY KOMPAS — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  /* Colors — mapa skarbów: pergamin / leśna zieleń / rdza / musztarda */
  --sand-50:  #FBF7EC;
  --sand-100: #F6EFDD;
  --sand-200: #EFE5CB;
  --sand-300: #E2D3AC;
  --sand-400: #CBB585;

  --forest-900: #1E2A1F;
  --forest-800: #26361F;
  --forest-700: #35492F;
  --forest-600: #46603C;
  --forest-500: #5C7A4C;

  --copper-600: #A44B29;
  --copper-500: #BE5B33;
  --copper-400: #D0774F;
  --copper-100: #F3DFCF;

  --gold-600: #A6791D;
  --gold-500: #E3A72D;
  --gold-200: #F3DFA0;
  --gold-100: #FAF0D6;

  --ink: #2B2A22;
  --ink-soft: #55523F;
  --paper: #FFFDF7;
  --line: #E4D8BC;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(30, 42, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 42, 31, 0.10);
  --shadow-lg: 0 20px 48px rgba(30, 42, 31, 0.14);

  --font-display: 'Baloo 2', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand-100);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest-900);
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 700;
}
p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

section { padding: 64px 0; }
@media (min-width: 1024px) { section { padding: 100px 0; } }

.section-alt { background: var(--sand-50); }
.section-dark {
  background: var(--forest-900);
  color: var(--sand-100);
}
.section-dark h2, .section-dark h3, .section-dark p { color: var(--sand-100); }
.section-dark .eyebrow { color: var(--copper-400); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper-600);
  margin-bottom: 14px;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.4rem; }
.lede {
  font-size: 1.35rem;
  color: var(--ink-soft);
  max-width: 640px;
}
.section-head {
  max-width: 680px;
  margin: 0 0 40px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(2px); }

.btn-primary {
  background: var(--forest-800);
  color: var(--sand-50);
  box-shadow: 0 4px 0 var(--forest-900);
}
.btn-primary:hover { background: var(--forest-700); }
.btn-primary:active { box-shadow: 0 2px 0 var(--forest-900); }

.btn-buy {
  background: var(--copper-500);
  color: var(--paper);
  box-shadow: 0 4px 0 var(--copper-600);
}
.btn-buy:hover { background: var(--copper-600); }
.btn-buy:active { box-shadow: 0 2px 0 var(--copper-600); }

.btn-ghost {
  background: transparent;
  color: var(--forest-900);
  border-color: var(--forest-900);
}
.btn-ghost:hover { background: var(--forest-900); color: var(--sand-50); }

.btn-ghost-light {
  background: transparent;
  color: var(--sand-50);
  border-color: rgba(251, 247, 236, .5);
}
.btn-ghost-light:hover { background: rgba(251,247,236,.12); border-color: var(--sand-50); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 16px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 239, 221, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 2px 12px rgba(30,42,31,.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .01em;
  color: var(--forest-900);
}
.brand .brand-primary { color: var(--forest-900); }
.brand .brand-accent { color: var(--copper-600); }
.brand svg { flex-shrink: 0; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--forest-800);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--copper-600); }
.main-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--copper-500);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--forest-900);
  font-weight: 700;
  font-size: 14px;
  color: var(--forest-900);
}
.cart-link:hover { background: var(--forest-900); color: var(--sand-50); }
.cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--copper-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.cart-count[data-count="0"] { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
}
.hamburger:hover { background: var(--sand-200); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--forest-900);
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--sand-100);
  z-index: 99;
  padding: 24px 20px 40px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--forest-900);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 20px; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .hamburger, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { padding: 72px 0 96px; } }

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand-50);
  border: 2px dashed var(--copper-400);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--copper-600);
  margin-bottom: 20px;
  transform: rotate(-2deg);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background:
    linear-gradient(180deg, rgba(30,42,31,0) 40%, rgba(20,28,20,.75) 100%),
    linear-gradient(160deg, #9CB79E 0%, #6E8D63 38%, #46603C 70%, #2A3A24 100%);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) { .hero-visual { aspect-ratio: 3/4; } }

.hero-visual .scene { position: absolute; inset: 0; }
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-visual figcaption {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: .9;
}

/* generic photographic block used across the site — a real <img> inside
   gets object-fit:cover and hides the placeholder gradient/caption below */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, #B7C8A6 0%, #839B6C 45%, #587049 75%, #3A4D30 100%);
  box-shadow: var(--shadow-md);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-frame::after {
  content: attr(data-caption);
  position: absolute;
  left: 16px; bottom: 14px; right: 16px;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 600;
}
.photo-frame::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(255,253,247,.5);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}
.photo-frame.tone-sky { background: linear-gradient(155deg, #AFC7CE 0%, #7FA0AA 45%, #4E6E77 80%, #2E4750 100%); }
.photo-frame.tone-sand { background: linear-gradient(155deg, #E7D9B4 0%, #CBB585 45%, #A98C5C 80%, #7A6440 100%); }
.photo-frame.tone-copper { background: linear-gradient(155deg, #E4A583 0%, #D0774F 45%, #A44B29 80%, #6E3016 100%); }

/* "Pocztówka" — samodzielna ramka jak przypięte zdjęcie na mapie skarbów,
   do kluczowych ilustracji hero (celowo NIE dzieli reguł z .photo-frame,
   żeby uniknąć konfliktu dwóch ::before/::after na jednym elemencie). */
.postcard {
  position: relative;
  padding: 14px 14px 32px;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(30, 42, 31, .22);
  transform: rotate(-1.5deg);
  overflow: visible;
}
.postcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.postcard::before {
  content: '';
  position: absolute;
  top: -10px; left: 26px;
  width: 46px; height: 18px;
  background: rgba(227, 167, 45, .55);
  transform: rotate(-6deg);
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.postcard::after {
  content: '';
  position: absolute;
  top: -8px; right: 22px;
  width: 46px; height: 18px;
  background: rgba(227, 167, 45, .55);
  transform: rotate(5deg);
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Steps (jak to działa) */
.step-card { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--sand-300);
  line-height: 1;
  margin-bottom: 10px;
}

/* Audience cards */
.audience-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.audience-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sand-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

/* Future / "wkrótce" cards */
.soon-card {
  position: relative;
  padding: 28px;
  background: var(--paper);
  border: 1px dashed var(--sand-400);
  border-radius: var(--radius-md);
  opacity: .92;
}
.soon-card .icon { font-size: 28px; margin-bottom: 14px; display: block; }
.badge-soon {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--forest-700);
  background: var(--sand-50);
  border: 2px dashed var(--sand-400);
  padding: 5px 12px;
  border-radius: 999px;
  transform: rotate(-2deg);
}

/* Value cards */
.value-card { text-align: left; }
.value-card .icon-badge {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--forest-900);
  color: var(--sand-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.badge-new {
  background: var(--paper);
  color: var(--copper-600);
  border: 2px dashed var(--copper-400);
  transform: rotate(-2deg);
}
.badge-live { background: var(--forest-900); color: var(--sand-50); }

/* ---------- Ikony wektorowe (inc/icons.php) ---------- */
.kr-icon { width: 28px; height: 28px; color: var(--copper-500); flex-shrink: 0; }
.eyebrow .kr-icon, .hero-badge .kr-icon { width: 16px; height: 16px; }
.kr-icon-lg { width: 40px; height: 40px; }
.kr-icon-xl { width: 56px; height: 56px; }

.kr-landscape {
  display: block;
  width: 100%;
  height: 120px;
}
@media (min-width: 768px) { .kr-landscape { height: 190px; } }

/* Duże ilustracje wektorowe (inc/icons.php — kr_scene()), wypełniają pustą
   kolumnę obok tekstu; na mobile .grid-2 sam je przenosi pod treść. */
.kr-scene {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

.section-decorated { position: relative; overflow: hidden; }
.corner-icon {
  position: absolute;
  color: var(--forest-600);
  opacity: .14;
  pointer-events: none;
}
.corner-icon.top-right { top: 12px; right: 4%; transform: rotate(8deg); }
.corner-icon.bottom-left { bottom: 4px; left: 3%; transform: rotate(-6deg); }

/* ---------- "Jak to działa" — 4 kroki podróży rodzica ---------- */
.journey-steps {
  display: grid;
  gap: 32px 24px;
  counter-reset: step;
}
@media (min-width: 768px) {
  .journey-steps { grid-template-columns: repeat(4, 1fr); }
}
.journey-step { text-align: center; position: relative; }
.journey-step-icon {
  width: 68px; height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sand-50);
  border: 2px dashed var(--copper-400);
  display: flex; align-items: center; justify-content: center;
}
.journey-step-icon .kr-icon { width: 32px; height: 32px; color: var(--forest-800); }
.journey-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--copper-600);
  background: var(--gold-100);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.journey-step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.journey-step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* Przerywana "ścieżka" między sekcjami — motyw mapy skarbów */
.trail-divider {
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cpath d='M0 14 Q 30 2 60 14 T 120 14' stroke='%23BE5B33' stroke-width='2.5' stroke-dasharray='5 7' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 120px 28px;
  opacity: .55;
}

/* ---------- Product highlight (home) ---------- */
.product-feature {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .product-feature { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.mockup-stack { position: relative; }
.mockup-laptop {
  background: var(--forest-900);
  border-radius: 14px;
  padding: 14px 14px 34px;
  box-shadow: var(--shadow-lg);
}
.mockup-screen {
  background: var(--paper);
  border-radius: 6px;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.mockup-phone {
  position: absolute;
  right: -18px;
  bottom: -30px;
  width: 34%;
  background: var(--forest-900);
  border-radius: 22px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
}
.mockup-phone .mockup-screen { aspect-ratio: 9/17; border-radius: 14px; }
@media (max-width: 480px) {
  .mockup-phone { width: 30%; right: -8px; bottom: -20px; }
}

.mockup-content {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(30,42,31,.06), rgba(30,42,31,.06)),
    repeating-linear-gradient(180deg, var(--sand-200) 0 2px, transparent 2px 34px);
  padding: 14px;
}
.mockup-content .m-row {
  height: 10px; border-radius: 4px; background: var(--sand-300); margin-bottom: 10px;
}
.mockup-content .m-row.w60 { width: 60%; }
.mockup-content .m-row.w40 { width: 40%; }
.mockup-content .m-pill {
  display: inline-block; padding: 6px 10px; border-radius: 999px;
  background: var(--forest-800); color: var(--sand-50); font-size: 9px; font-weight: 700; margin-right: 6px;
}

.spec-list { display: grid; gap: 14px; margin: 24px 0; }
.spec-item { display: flex; gap: 12px; align-items: flex-start; }
.spec-item .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sand-200);
  color: var(--forest-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}

/* ---------- Final CTA ---------- */
.cta-band {
  background: var(--forest-900);
  color: var(--sand-100);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: 72px 40px; } }
.cta-band h2, .cta-band p { color: var(--sand-100); }
.cta-band .btn-row { justify-content: center; }
.cta-band .kr-icon { display: block; margin: 0 auto 16px; color: var(--gold-500); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-900);
  color: var(--sand-300);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(251,247,236,.14);
}
@media (min-width: 800px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand .brand { color: var(--sand-50); }
.footer-brand .brand-primary { color: var(--sand-50); }
.footer-brand .brand-accent { color: var(--copper-400); }
.footer-brand p { color: rgba(251,247,236,.7); max-width: 320px; margin-top: 14px; }
.footer-col h4 {
  color: var(--sand-50);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(251,247,236,.75); font-size: 14px; }
.footer-col a:hover { color: var(--sand-50); }
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(251,247,236,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.social-row a:hover { background: rgba(251,247,236,.1); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(251,247,236,.55);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--forest-700); font-weight: 600; }
.breadcrumbs a:hover { color: var(--copper-600); }

/* ---------- Product page specifics ---------- */
.product-hero {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) { .product-hero { grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: start; } }
.price-box {
  background: var(--paper);
  border: 2px dashed var(--gold-500);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price-now { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--forest-900); }
.price-old { font-size: 1rem; color: var(--ink-soft); text-decoration: line-through; }
.price-note { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.trust-row {
  display: grid; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--ink-soft);
}
.trust-row li { display: flex; gap: 8px; align-items: flex-start; }

.tabs-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs-nav button {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
}
.tabs-nav button.is-active { background: var(--forest-900); border-color: var(--forest-900); color: var(--sand-50); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.route-sample {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .route-sample { grid-template-columns: 220px 1fr; } }
.route-sample .thumb { border-radius: var(--radius-md); aspect-ratio: 4/3; }
.route-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.route-meta span {
  font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  background: var(--sand-200); color: var(--forest-800);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--forest-900);
}
.faq-q .plus { flex-shrink: 0; transition: transform .2s ease; font-size: 20px; color: var(--copper-500); }
.faq-item.is-open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-a-inner { padding: 0 4px 20px; color: var(--ink-soft); }

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.testimonial-card .stars { color: var(--copper-500); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card footer { margin-top: 14px; font-weight: 700; color: var(--forest-900); font-size: 14px; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--forest-900); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--forest-600);
}

/* ---------- Shop / cart ---------- */
.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.shop-toolbar select { padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); font: inherit; }

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .thumb { aspect-ratio: 4/3; }
.product-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--forest-900); margin-top: auto; }

.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row .thumb { aspect-ratio: 1/1; border-radius: var(--radius-sm); }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-control button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-weight: 700;
}
.remove-link { font-size: 13px; color: var(--copper-600); font-weight: 600; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { font-size: 40px; margin-bottom: 16px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--forest-900);
  color: var(--sand-50);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

.divider { height: 1px; background: var(--line); border: none; margin: 8px 0; }

/* ---------- Landing page (samodzielna strona produktu) ---------- */
.landing-header .container { justify-content: space-between; }
.landing-header__back {
  font-weight: 600;
  font-size: 14px;
  color: var(--forest-700);
}
.landing-header__back:hover { color: var(--copper-600); }

.landing-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0;
}
.landing-footer__links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.landing-footer__links a { color: rgba(251,247,236,.75); }
.landing-footer__links a:hover { color: var(--sand-50); }
.landing-footer__copy { font-size: 13px; color: rgba(251,247,236,.55); }

/* Checklista korzyści w hero/ofercie */
.check-list { display: grid; gap: 14px; margin: 20px 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.check-list .tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--sand-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  margin-top: 1px;
}

/* Spis treści przewodnika — numerowany akordeon (reużywa stylu FAQ) */
.module-item .faq-q { gap: 14px; }
.module-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sand-400);
  min-width: 34px;
}
.module-item .faq-q > span:not(.plus):not(.module-num) { flex: 1; }

/* Bonus */
.bonus-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper-500);
  border-radius: var(--radius-md);
  padding: 22px;
}
.bonus-card .icon { font-size: 26px; flex-shrink: 0; }

/* Pasek zakupu przyklejony do dołu ekranu — pojawia się po zejściu z widoku głównej ceny */
.sticky-buy {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(30,42,31,.10);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy__info { display: flex; flex-direction: column; line-height: 1.25; flex: 1 1 auto; min-width: 0; }
.sticky-buy__name { font-family: var(--font-display); font-size: 14px; color: var(--forest-900); font-weight: 700; }
@media (min-width: 640px) { .sticky-buy__name { font-size: 16px; } }
.sticky-buy .btn { padding: 12px 22px; font-size: 14px; white-space: nowrap; }
@media (min-width: 640px) { .sticky-buy { padding-left: 32px; padding-right: 32px; } }

/* Popup wyboru: pojedynczy przewodnik czy pakiet */
.kr-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(30, 42, 31, .55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.kr-modal-overlay.is-open { display: flex; }
.kr-modal {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  max-width: 640px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  margin: auto;
}
@media (min-width: 640px) { .kr-modal { padding: 40px; } }
.kr-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--sand-50);
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
}
.kr-modal__close:hover { background: var(--sand-200); }
.kr-modal h3 { margin-top: 6px; }
.kr-modal__options {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 560px) { .kr-modal__options { grid-template-columns: 1fr 1fr; } }
.kr-modal__option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: border-color .15s ease, transform .15s ease;
}
.kr-modal__option:hover { border-color: var(--forest-500); transform: translateY(-2px); }
.kr-modal__option h4 { margin: 6px 0 2px; font-size: 1.1rem; }
.kr-modal__option p { font-size: 14px; margin-bottom: 10px; }
.kr-modal__option--highlight { border-color: var(--copper-500); background: var(--copper-100); }
.kr-modal__price { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--forest-900); margin-bottom: 14px; }
.kr-modal__price small { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--ink-soft); }
.kr-modal__option .btn { pointer-events: none; }

/* ---------- Statystyki (liczby przewodnika) ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
@media (min-width: 720px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-item .stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--forest-900);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-label { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* ---------- Pasek zaufania pod hero ---------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 18px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--forest-700);
}
.trust-bar span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Hero — szybkie fakty pod lede ---------- */
.kr-hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 26px; padding: 0; list-style: none; }
.kr-hero-facts li { display: flex; align-items: baseline; gap: 8px; font-weight: 700; }
.kr-hero-facts strong { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--copper-600); }

/* ---------- Przed / po ---------- */
.kr-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.kr-compare__col { padding: 28px; border-radius: 14px; }
.kr-compare__col h3 { margin-top: 0; }
.kr-compare__col ul { margin: 0; padding-left: 20px; }
.kr-compare__col li { margin-bottom: 10px; }
.kr-compare__before { background: var(--paper); border: 2px dashed var(--sand-400); }
.kr-compare__before li { color: var(--forest-700); opacity: .8; }
.kr-compare__after { background: var(--forest-800); color: var(--paper); }
.kr-compare__after h3 { color: var(--gold-500); }

/* ---------- Co jest przy każdej trasie ---------- */
.kr-kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 32px; }
.kr-kit__item { padding: 20px 22px; border-left: 4px solid var(--gold-500); background: var(--paper); border-radius: 0 10px 10px 0; }
.kr-kit__item h3 { margin: 0 0 6px; font-size: 19px; }
.kr-kit__item p { margin: 0; }

/* ---------- Tajne Misje ---------- */
.kr-missions { background: var(--forest-800); color: var(--paper); padding: 88px 0; }
.kr-missions h2, .kr-missions h3 { color: var(--paper); }
.kr-missions .lede { color: var(--paper); opacity: .9; }
.kr-missions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kr-ticket { background: var(--paper); color: var(--forest-900); border-radius: 12px; padding: 28px 28px 22px; position: relative; transform: rotate(-1.5deg); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.kr-ticket::before { content: ""; position: absolute; left: 0; right: 0; top: 64px; border-top: 2px dashed var(--sand-400); }
.kr-ticket__head { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; margin-bottom: 34px; }
.kr-ticket__route { color: var(--copper-600); }
.kr-ticket ol { margin: 0; padding-left: 22px; }
.kr-ticket li { margin-bottom: 14px; }
.kr-ticket li strong { display: block; font-family: var(--font-display); font-size: 19px; color: var(--forest-800); }
.kr-ticket__foot { font-size: 14px; opacity: .75; margin: 6px 0 0; }
.kr-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.kr-badges span { border: 1.5px solid var(--gold-500); color: var(--gold-500); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; }
.kr-badges span.kr-more { background: var(--gold-500); color: var(--forest-900); }

.kr-quote { max-width: 720px; margin: 0 auto; text-align: center; font-family: var(--font-display); font-size: 26px; line-height: 1.35; }

@media (max-width: 820px) {
  .kr-compare, .kr-missions__grid { grid-template-columns: 1fr; }
  .kr-missions { padding: 64px 0; }
  .kr-ticket { transform: none; }
}

/* ---------- Karty pakietów (oferta na one-page'u) ---------- */
.package-grid {
  display: grid;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
@media (min-width: 640px) { .package-grid.has-two { grid-template-columns: 1fr 1fr; } }
.package-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
}
.package-card--highlight {
  border-color: var(--copper-500);
  box-shadow: var(--shadow-md);
}
.package-card__badge {
  position: absolute;
  top: -14px; left: 26px;
  background: var(--copper-500);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 999px;
}
.package-card h3 { margin-bottom: 4px; }
.package-card .package-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--forest-900);
  margin: 10px 0 4px;
}
.package-card .package-price small { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.package-card .check-list { flex: 1; margin: 18px 0; }

/* ==========================================================================
   Poprawki finalne strony głównej
   ========================================================================== */

/* Pasek zaufania — duże, wyraźne plakietki */
.trust-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 8px 0; }
@media (min-width: 1000px) { .trust-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-bar span {
  background: var(--paper);
  border: 2px dashed var(--sand-400);
  border-radius: 999px;
  padding: 14px 20px;
  gap: 12px;
  justify-content: center;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--forest-900);
  box-shadow: var(--shadow-sm);
}
.trust-tick {
  font-style: normal;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--forest-800);
  color: var(--sand-50);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .trust-bar span { width: 100%; font-size: 17px; padding: 12px 20px; }
}

/* Przed / po — minikompasy zamiast kropek */
.kr-compare__col ul { padding-left: 0; list-style: none; }
.kr-compare__col li {
  position: relative;
  padding-left: 46px;
  margin-bottom: 18px;
  font-size: 1.15rem;
  line-height: 1.55;
}
.kr-compare__col li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 30px; height: 30px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238A8467' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='24' cy='24' r='19'/%3E%3Cpath d='M24 5v5M24 38v5M5 24h5M38 24h5'/%3E%3Cpolygon points='24,14 29,24 24,34 19,24' fill='%238A8467' stroke='none'/%3E%3C/svg%3E");
}
.kr-compare__after li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23E3A72D' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='24' cy='24' r='19'/%3E%3Cpath d='M24 5v5M24 38v5M5 24h5M38 24h5'/%3E%3Cpolygon points='24,12 30,24 24,36 18,24' fill='%23E3A72D' stroke='none'/%3E%3Ccircle cx='24' cy='24' r='2.4' fill='%2326361F' stroke='none'/%3E%3C/svg%3E");
}
.kr-compare__after li { color: var(--paper); }
.kr-compare__before li { opacity: 1; }

/* Misje — czytelny akapit na zielonym tle */
.kr-missions__effect { color: var(--gold-200); font-size: 1.2rem; font-weight: 600; }

/* "Od kanapy do szlaku" — większe kroki */
.journey-steps { gap: 28px 24px; }
.journey-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 22px 30px;
  box-shadow: var(--shadow-sm);
}
.journey-step-icon { width: 108px; height: 108px; margin-bottom: 20px; border-width: 3px; }
.journey-step-icon .kr-icon { width: 54px; height: 54px; }
.journey-num { font-size: 15px; padding: 5px 16px; margin-bottom: 16px; }
.journey-step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.journey-step p { font-size: 1.1rem; line-height: 1.6; }

/* "Dla rodziców" — równe, wyśrodkowane karty z ikonami na górze */
.audience-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.audience-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 32px;
  gap: 12px;
  height: 100%;
}
.audience-card > div { text-align: center; }
.audience-icon { width: 84px; height: 84px; border-radius: 50%; font-size: 40px; margin-bottom: 4px; }
.audience-card h3 { font-size: 1.4rem; margin: 0; }
.audience-card p { font-size: 1.1rem; margin: 0; }

/* Liczby — duży, ciemny pas z licznikiem */
.stats-section { background: var(--forest-800); padding: 72px 0; }
@media (min-width: 1024px) { .stats-section { padding: 104px 0; } }
.stats-row--big { gap: 40px 24px; }
.stats-row--big .stat-number {
  font-size: clamp(3.4rem, 8vw, 6rem);
  color: var(--gold-500);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stats-row--big .stat-label { font-size: 1.25rem; color: var(--sand-100); font-weight: 700; }

/* "Dokąd pojedziecie?" — większe, czytelniejsze regiony */
.module-item .faq-q { padding: 26px 6px; font-size: 1.65rem; gap: 18px; }
.module-item .module-num { font-size: 1.3rem; min-width: 92px; color: var(--copper-600); }
.module-item .faq-q .plus { font-size: 34px; }
.module-item .faq-a-inner { font-size: 1.2rem; line-height: 1.7; color: var(--forest-800); padding-bottom: 28px; }
.kr-scene-compass-map { max-width: 540px; }

/* "Zajrzyjcie do środka" — slider ze stronami przewodnika */
.kr-preview { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .kr-preview { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.kr-preview__info h3 { font-size: 2rem; }
.kr-preview__info p { font-size: 1.15rem; }
.kr-preview__info .route-meta span { font-size: 14px; padding: 7px 14px; }
.kr-preview__note { font-size: 1rem !important; border-left: 4px solid var(--gold-500); padding-left: 14px; }
.kr-slider { position: relative; width: 100%; max-width: 600px; margin: 0 auto; }
.kr-slider__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: var(--sand-200);
  scrollbar-width: none;
}
.kr-slider__viewport::-webkit-scrollbar { display: none; }
.kr-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.kr-slide img { width: 100%; height: auto; display: block; aspect-ratio: 210 / 297; }
.kr-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  background: var(--copper-500);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  padding: 0 0 4px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: background-color .15s ease, opacity .15s ease;
}
.kr-slider__btn:hover { background: var(--copper-600); }
.kr-slider__btn[disabled] { opacity: .35; cursor: default; }
.kr-slider__btn--prev { left: -22px; }
.kr-slider__btn--next { right: -22px; }
@media (max-width: 640px) { .kr-slider__btn--prev { left: 8px; } .kr-slider__btn--next { right: 8px; } }
.kr-slider__dots { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.kr-slider__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--copper-500);
  background: transparent;
  padding: 0;
}
.kr-slider__dot.is-active { background: var(--copper-500); }

/* Oferta — szersza, niższa skrzynia z ceną */
.kr-offer { display: grid; gap: 32px; align-items: center; max-width: 1120px; margin: 0 auto; }
@media (min-width: 900px) { .kr-offer { grid-template-columns: .72fr 1.28fr; gap: 48px; } }
.kr-offer__art .kr-scene { max-width: 420px; }
.price-box--wide { padding: 32px 38px 30px; }
@media (min-width: 700px) { .check-list--cols { grid-template-columns: 1fr 1fr; gap: 14px 30px; } }
.price-box--wide .trust-row { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 18px; }
/* ---------- Strony prawne (Regulamin, Polityka prywatności) ---------- */
.kr-legal { font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.kr-legal p, .kr-legal li { color: var(--ink); }
.kr-legal__meta { font-size: .95rem; font-weight: 700; color: var(--copper-600); margin-bottom: 28px; }
.kr-legal h2 { font-size: 1.5rem; margin: 40px 0 14px; padding-top: 8px; border-top: 1px dashed var(--sand-400); }
.kr-legal h2:first-of-type { border-top: none; margin-top: 8px; }
.kr-legal ol, .kr-legal ul { margin: 0 0 1.2em; padding-left: 1.5em; list-style-position: outside; }
.kr-legal ol { list-style: decimal; }
.kr-legal ul { list-style: disc; }
.kr-legal li { margin-bottom: .6em; padding-left: .2em; }
.kr-legal__table { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.kr-legal table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.kr-legal th { background: var(--forest-800); color: var(--sand-50); text-align: left; padding: 12px 14px; font-family: var(--font-display); }
.kr-legal td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.kr-legal tbody tr:nth-child(even) td { background: var(--sand-50); }
.kr-legal__form { background: var(--paper); border: 2px dashed var(--sand-400); border-radius: var(--radius-md); padding: 20px 24px; }
/* ==========================================================================
   Baner cookies (Complianz) — dopasowany do stylu strony
   ========================================================================== */
.cmplz-cookiebanner {
  font-family: var(--font-body) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 2px dashed var(--gold-500) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 60px rgba(30, 42, 31, .28) !important;
  padding: 22px 26px !important;
}
.cmplz-cookiebanner .cmplz-title {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  color: var(--forest-900) !important;
}
.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-description,
.cmplz-cookiebanner .cmplz-category-title {
  font-family: var(--font-body) !important;
  color: var(--ink-soft) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}
.cmplz-cookiebanner .cmplz-category-title { font-family: var(--font-display) !important; font-weight: 700 !important; color: var(--forest-900) !important; }
.cmplz-cookiebanner .cmplz-divider { background: var(--line) !important; }
.cmplz-cookiebanner .cmplz-link,
.cmplz-cookiebanner .cmplz-links a { color: var(--copper-600) !important; text-decoration: underline !important; text-underline-offset: 3px; font-size: .9rem !important; }
.cmplz-cookiebanner .cmplz-close { color: var(--forest-800) !important; }

/* Przyciski: „Akceptuję” i „Odrzucam” równorzędne wizualnie (wymóg UODO/RODO) */
.cmplz-cookiebanner .cmplz-buttons { gap: 10px !important; }
.cmplz-cookiebanner .cmplz-btn {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border-radius: 999px !important;
  padding: 13px 22px !important;
  border: 2px solid transparent !important;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease !important;
}
.cmplz-cookiebanner .cmplz-btn:active { transform: translateY(2px); }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept {
  background: var(--copper-500) !important; color: #fff !important;
  border-color: var(--copper-500) !important; box-shadow: 0 3px 0 var(--copper-600);
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: var(--copper-600) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
  background: var(--forest-800) !important; color: var(--sand-50) !important;
  border-color: var(--forest-800) !important; box-shadow: 0 3px 0 var(--forest-900);
}
.cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover { background: var(--forest-700) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences {
  background: transparent !important; color: var(--forest-900) !important; border-color: var(--forest-900) !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover { background: var(--forest-900) !important; color: var(--sand-50) !important; }

/* Przycisk ponownego otwarcia ustawień zgody (link „Ustawienia cookies”) */
.cmplz-manage-consent,
#cmplz-manage-consent .cmplz-manage-consent {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  background: var(--paper) !important;
  color: var(--forest-900) !important;
  border: 2px dashed var(--gold-500) !important;
  border-radius: 999px 999px 0 0 !important;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .cmplz-cookiebanner { padding: 18px 18px !important; border-radius: 18px !important; }
  .cmplz-cookiebanner .cmplz-btn { width: 100%; }
}
/* ---------- Typografia: bez sierot i nierównych końcówek akapitów ---------- */
p, li, .lede, .faq-a-inner, .kr-legal li { text-wrap: pretty; }
h1, h2, h3, .section-head h2, .kr-slide-title { text-wrap: balance; }
/* ---------- Pakiet z bonusem + popup „kup z bonusem” ---------- */
.kr-bundle-section { background: var(--sand-50); }
.kr-bundle-section .badge-new { margin-bottom: 14px; }
.kr-offer--rev .kr-offer__art { order: 2; }
@media (min-width: 900px) { .kr-offer--rev { grid-template-columns: 1.28fr .72fr; } }
.kr-bundle-box { border-color: var(--copper-500); box-shadow: 0 18px 44px rgba(190, 91, 51, .18); }
.kr-bundle-box__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--copper-600); }
.check-list .tick.kr-bonus-tick { background: var(--copper-500); font-size: 15px; }
.kr-upsell .kr-modal h3 { font-size: 1.6rem; margin: 12px 0 10px; }
.kr-upsell .kr-modal__option { text-decoration: none; color: inherit; }
.kr-upsell .kr-modal__option .btn { pointer-events: none; margin-top: auto; }
body.kr-modal-open { overflow: hidden; }
/* ---------- Dodatek: Rodzinny Pamiętnik Wypraw + galeria ---------- */
.kr-addon { background: var(--sand-100); }
.kr-addon__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .kr-addon__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.kr-addon__text .badge-new { margin-bottom: 14px; }
.kr-addon__points { display: grid; gap: 16px; margin: 26px 0; padding: 0; list-style: none; }
.kr-addon__points li { display: flex; gap: 16px; align-items: flex-start; }
.kr-addon__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px dashed var(--copper-400); display: flex; align-items: center; justify-content: center; }
.kr-addon__icon .kr-icon { width: 28px; height: 28px; color: var(--forest-800); }
.kr-addon__points h3 { font-size: 1.2rem; margin: 0 0 4px; }
.kr-addon__points p { margin: 0; font-size: 1.05rem; }
.kr-addon__value { background: var(--gold-100); border: 2px dashed var(--copper-400); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 26px; color: var(--ink); font-size: 1.05rem; line-height: 1.6; }
.kr-addon__value strong { color: var(--copper-600); font-family: var(--font-display); }
.kr-addon__visual { position: relative; display: block; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 4 / 5; padding: 0; border: 0; background: none; cursor: pointer; }
.kr-addon__sheet { position: absolute; background: var(--paper); border-radius: 6px; box-shadow: 0 18px 40px rgba(30, 42, 31, .22); overflow: hidden; display: block; }
.kr-addon__sheet img { display: block; width: 100%; height: auto; }
.kr-addon__sheet--back { width: 74%; right: 0; top: 0; transform: rotate(5deg); }
.kr-addon__sheet--front { width: 74%; left: 0; bottom: 2%; transform: rotate(-4deg); transition: transform .25s ease; }
.kr-addon__visual:hover .kr-addon__sheet--front { transform: rotate(-2deg) translateY(-6px); }
.kr-addon__hint { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); background: var(--copper-500); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 8px 18px; border-radius: 999px; box-shadow: 0 3px 0 var(--copper-600); white-space: nowrap; }
.kr-gallery .kr-modal { max-width: 720px; text-align: center; }
.kr-gallery .kr-modal h3 { margin: 4px 0 6px; font-size: 1.5rem; padding-right: 36px; }
.kr-gallery__lead { margin: 0 0 14px; font-size: 1rem; }
.kr-gallery__slider { max-width: min(600px, calc((100vh - 250px) * .72)); min-width: 260px; }
.kr-gallery__slider .kr-slider__btn--prev { left: -18px; }
.kr-gallery__slider .kr-slider__btn--next { right: -18px; }
@media (max-width: 640px) { .kr-gallery__slider .kr-slider__btn--prev { left: 6px; } .kr-gallery__slider .kr-slider__btn--next { right: 6px; } }
.kr-slide figcaption { padding: 10px 14px; font-weight: 800; font-size: 14px; color: var(--forest-800); background: var(--paper); text-align: center; }

/* ---------- Mockupy ebooka (przezroczyste WebP, bez ramki) ---------- */
.mockup-figure { margin: 0; display: flex; justify-content: center; align-items: center; }
.mockup-figure img { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 28px rgba(30, 42, 31, .22)); }
.mockup-hero img { max-width: 560px; }
.mockup-research img { max-width: 500px; }
@media (max-width: 959px) { .mockup-hero img, .mockup-research img { max-width: 420px; } }

/* ===== Landing: oferta w hero, podgląd + film, autor, wybór wariantu ===== */
.kr-steps-compact { margin-top: 48px; }

.kr-author { display: grid; gap: 32px; align-items: center; max-width: 1060px; margin: 0 auto; }
.kr-author__photo { margin: 0; }
.kr-author__photo img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 18px 40px rgba(30, 42, 31, .22); }
.kr-author__text .badge-new { margin-bottom: 12px; }
.kr-author__text h2 { margin-top: 0; }
.kr-author__check { margin-top: 22px; padding: 20px 22px; background: var(--paper); border-left: 4px solid var(--gold-500); border-radius: 0 12px 12px 0; }
.kr-author__check h3 { margin: 0 0 10px; font-size: 1.15rem; }
.kr-author__check ul { margin: 0; padding-left: 20px; }
.kr-author__check li { margin-bottom: 6px; }
@media (min-width: 900px) {
  .kr-author { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 52px; }
}

.kr-plans { display: grid; gap: 24px; max-width: 1040px; margin: 32px auto 0; align-items: stretch; }
.kr-plans--single { max-width: 520px; }
.kr-plan { position: relative; display: flex; flex-direction: column; padding: 30px 30px 28px; }
.kr-plan .check-list { flex: 1 1 auto; margin-bottom: 22px; }
.kr-plan__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--copper-600); }
.kr-plan--bundle { border-color: var(--copper-500); box-shadow: 0 18px 44px rgba(190, 91, 51, .18); }
.kr-plan__ribbon { position: absolute; top: -13px; right: 22px; padding: 5px 14px; border-radius: 999px; background: var(--copper-500); color: #fff; font-weight: 800; font-size: 13px; }
.kr-plans__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 26px 0 0; padding: 0; list-style: none; }
@media (min-width: 820px) {
  .kr-plans:not(.kr-plans--single) { grid-template-columns: 1fr 1fr; }
}

.sticky-buy__alt { font-size: 12.5px; color: var(--copper-600); font-weight: 700; text-decoration: underline; }
@media (max-width: 560px) {
  .sticky-buy__name { font-size: 13px; }
  .sticky-buy .btn { padding: 11px 14px; font-size: 13px; }
}
.kr-author__check ul { list-style: disc; }

/* ===== Landing (wersja uproszczona): hero, podglad, probka, korzysci, ceny, pasek ===== */
html { scroll-padding-top: 84px; }
#zamow, #podglad, #probka, #ceny { scroll-margin-top: 0; }

.hero--lite { padding: 28px 0 8px; }
.hero-lite { max-width: 720px; margin: 0 auto; text-align: center; }
.kr-eyebrow { margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-600); }
.hero-lite h1 { margin: 0 0 14px; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.08; text-wrap: balance; }
.hero-lite__lede { margin: 0 auto; max-width: 34em; font-size: 1.05rem; line-height: 1.5; }
.hero--lite .mockup-hero { margin: 8px auto 0; }
.hero--lite .mockup-hero img { max-width: 340px; max-height: 300px; width: auto; height: auto; object-fit: contain; }
.kr-shortcut { margin: 6px 0 0; font-size: .98rem; color: var(--forest-800); }
.kr-shortcut a { color: var(--copper-600); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 900px) {
  .hero--lite { padding: 48px 0 16px; }
  .hero--lite .mockup-hero img { max-width: 460px; max-height: 380px; }
}

.kr-peek-section { padding: 36px 0 20px; }
.kr-peek-section .section-head { margin-bottom: 18px; }
.kr-slider--below { max-width: 400px; }
.kr-slider--below .kr-slider__viewport { overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.kr-slide__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.kr-slider__bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.kr-slider__bar .kr-slider__btn { position: static; transform: none; width: 48px; height: 48px; font-size: 30px; }
.kr-slider__count { min-width: 76px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--forest-900); }
.kr-peek-note { margin: 12px auto 0; max-width: 30em; text-align: center; font-size: .92rem; color: var(--forest-700); }

.kr-sample-section { padding: 8px 0 36px; }
.kr-sample { max-width: 560px; margin: 0 auto; padding: 24px 22px; text-align: center; background: var(--paper); border: 2px dashed var(--copper-400); border-radius: 18px; }
.kr-sample h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 5.4vw, 1.9rem); line-height: 1.15; }
.kr-sample p { margin: 0 0 16px; }
.kr-sample .btn { max-width: 100%; }
.kr-sample .kr-sample__hint { margin: 12px 0 0; font-size: .88rem; color: var(--forest-700); }

.kr-benefits-section { padding: 8px 0 28px; }
.kr-benefits__title { margin: 0 0 14px; text-align: center; font-size: clamp(1.35rem, 5.4vw, 1.9rem); line-height: 1.15; }
.kr-benefits { max-width: 520px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 10px; }
.kr-benefits li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; line-height: 1.3; }
.kr-benefits__icon { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--sand-100); display: inline-flex; align-items: center; justify-content: center; color: var(--copper-600); }
.kr-benefits__icon .kr-icon, .kr-benefits__icon svg { width: 20px; height: 20px; }

.kr-pricecheck-section { padding: 0 0 40px; }
.kr-pricecheck { max-width: 520px; margin: 0 auto; text-align: center; }
.kr-pricecheck__line { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--forest-900); }
.kr-pricecheck__line strong { color: var(--copper-600); white-space: nowrap; }
.kr-pricecheck .btn { margin-top: 12px; }

/* Dolny pasek zakupowy: niski i prosty */
.sticky-buy { padding: 8px 16px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); gap: 12px; }
.sticky-buy__name { font-size: 15px; flex: 1 1 auto; min-width: 0; }
.sticky-buy .btn { padding: 10px 18px; font-size: 14px; }
body.kr-modal-open .sticky-buy { display: none; }
body.kr-has-sticky { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }

/* Powiekszenie strony podgladu */
.kr-lightbox { position: fixed; inset: 0; z-index: 300; display: none; flex-direction: column; background: rgba(20, 28, 20, .96); }
.kr-lightbox.is-open { display: flex; }
.kr-lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); color: #fff; }
.kr-lightbox__count { font-family: var(--font-display); font-weight: 800; }
.kr-lightbox__close { min-height: 44px; padding: 0 18px; border: 2px solid #fff; border-radius: 999px; background: transparent; color: #fff; font-weight: 800; font-size: 15px; }
.kr-lightbox__stage { flex: 1 1 auto; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; justify-content: center; align-items: flex-start; padding: 0 12px; }
.kr-lightbox__stage img { display: block; width: auto; max-width: 100%; max-height: 100%; height: auto; margin: 0 auto; border-radius: 6px; background: #fff; cursor: zoom-in; }
.kr-lightbox__stage img.is-zoomed { max-width: none; max-height: none; width: 220%; cursor: zoom-out; }
.kr-lightbox__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); color: #fff; }
.kr-lightbox__btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; font-size: 30px; line-height: 1; padding: 0 0 4px; }
.kr-lightbox__btn[disabled] { opacity: .35; }
.kr-lightbox__hint { font-size: .85rem; text-align: center; opacity: .85; }

.hero-lite h1 { font-size: clamp(1.7rem, 7.6vw, 3.4rem); }
.kr-plans { grid-template-columns: minmax(0, 1fr); }
.kr-plan { min-width: 0; padding: 26px 20px 24px; }
.kr-plan .btn { white-space: normal; text-align: center; }
@media (min-width: 820px) {
  .kr-plan { padding: 30px 30px 28px; }
  .kr-plans:not(.kr-plans--single) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.kr-pricecheck__line { text-wrap: balance; }

.kr-addon__sheet img, .kr-slide img { height: auto; }
.kr-slide img { aspect-ratio: 951 / 1345; }
