:root {
  --forest: #1c3329;
  --forest-deep: #13241d;
  --sage: #3f6b52;
  --sage-soft: #6f9179;
  --leaf: #cddbc8;
  --cream: #f6f1e8;
  --paper: #fbf8f3;
  --sand: #e7dccb;
  --clay: #c46a3a;
  --clay-dark: #9d4e28;
  --ink: #1a1a16;
  --muted: #5e5b54;
  --line: #ddd4c6;
  --white: #fffcf7;
  --danger: #8b3a2a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(28, 51, 41, 0.08);
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font: "Outfit", "Segoe UI", sans-serif;
  --header-h: 76px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}
.skip:focus { left: 12px; top: 12px; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.container-narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  text-decoration: none;
}
.logo:hover { color: var(--forest); }
.logo svg { width: 36px; height: 36px; }
.logo-mark { display: flex; flex-direction: column; line-height: 1.1; }
.logo-mark strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.logo-mark span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  font-size: 0.95rem;
  border-radius: 999px;
}
.nav a:hover, .nav a.active { background: var(--leaf); color: var(--forest); }
.nav-cta {
  background: var(--forest) !important;
  color: var(--cream) !important;
  margin-left: 8px;
  padding: 10px 16px !important;
}
.nav-cta:hover { background: var(--sage) !important; }
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--forest);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--forest);
  z-index: 60;
}
.menu-btn b { font-size: 1.35rem; font-weight: 500; line-height: 1; }
.menu-btn span { display: none; }
.btn-on-dark {
  background: transparent;
  color: var(--cream) !important;
  border: 1px solid rgba(255,255,255,.55);
}
.btn-on-dark:hover { background: rgba(255,255,255,.12); color: #fff !important; }

/* Affiliate strip */
.aff-strip {
  background: var(--forest);
  color: var(--leaf);
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
}
.aff-strip a { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-dark); color: #fff; }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: #274636; color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}
.btn-ghost:hover { background: var(--leaf); color: var(--forest); }
.btn-lg { padding: 16px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: end stretch;
  background: var(--forest) center/cover no-repeat;
  color: var(--cream);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 36, 29, 0.15) 0%, rgba(19, 36, 29, 0.72) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 0 56px;
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.hero h1 { color: #fff; max-width: 16ch; overflow-wrap: break-word; }
.hero p.lead {
  max-width: min(42ch, 100%);
  font-size: 1.15rem;
  color: var(--leaf);
  font-weight: 300;
  overflow-wrap: break-word;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.trust-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
}
.trust-item strong { display: block; font-size: 0.95rem; color: var(--forest); }
.trust-item span { font-size: 0.85rem; color: var(--muted); }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }

.alt { background: var(--paper); }
.forest-band {
  background: var(--forest-deep);
  color: var(--leaf);
}
.forest-band h2, .forest-band h3 { color: #fff; }

/* Product grid */
.grid-3, .grid-4, .cats, .product-grid {
  display: grid;
  gap: 20px;
}
.grid-3, .product-grid { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.cats { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sand);
  position: relative;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.card-body h3 { font-size: 1.2rem; margin: 0; }
.card-body p { color: var(--muted); font-size: 0.92rem; margin: 0; flex: 1; }
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  font-size: 0.92rem;
}
.price { font-weight: 600; color: var(--forest); }
.price small { font-weight: 400; color: var(--muted); }
.stars { color: var(--clay); letter-spacing: 1px; font-size: 0.85rem; }

.cover {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  background: linear-gradient(160deg, #2c4a38, #1c3329);
}
.cover.zywienie { background: linear-gradient(160deg, #6a4a32, #3d2a1c); }
.cover.trener { background: linear-gradient(160deg, #2a4d55, #163036); }
.cover.coach { background: linear-gradient(160deg, #6b3d2e, #3a2018); }
.cover .cover-k { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.cover .cover-t { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.2; margin-top: 8px; }

/* Category tiles */
.cat-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  text-decoration: none;
  background: var(--forest) center/cover no-repeat;
}
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(19,36,29,.75));
}
.cat-tile span {
  position: relative;
  z-index: 1;
  padding: 18px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--clay);
  display: block;
  margin-bottom: 8px;
}

/* Quote */
.quote {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.quote img { border-radius: var(--radius); height: 100%; object-fit: cover; min-height: 320px; width: 100%; }
.quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.35;
  color: var(--forest-deep);
}
.quote figcaption { margin-top: 16px; color: var(--muted); font-size: 0.95rem; }

/* Filters */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: space-between;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.9rem;
}
.chip.active, .chip:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.search {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  min-width: 240px;
  font-size: 0.95rem;
}

/* Product page */
.p-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 40px;
}
.p-gallery {
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.p-gallery img, .p-gallery .cover { width: 100%; aspect-ratio: 1; object-fit: cover; }
.p-info .partner {
  color: var(--muted);
  font-size: 0.92rem;
}
.p-price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--forest);
  margin: 8px 0 4px;
}
.p-price small { font-size: 1rem; color: var(--muted); font-family: var(--font); }
.p-actions { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; max-width: 420px; }
.disclosure {
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  max-width: 420px;
}
.p-body { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 40px; padding: 48px 0 20px; }
.list-check { list-style: none; padding: 0; margin: 0 0 1.2em; }
.list-check li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.list-check li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  position: absolute;
  left: 6px;
  top: 16px;
}
.side-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.legal-note {
  font-size: 0.85rem;
  color: var(--muted);
  background: #f3ece0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--forest);
}
.faq p { margin: 8px 0 0; color: var(--muted); }

.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  box-shadow: 0 -10px 30px rgba(0,0,0,.06);
}
.sticky-cta .inner { display: flex; gap: 12px; align-items: center; }
.sticky-cta .inner > div { flex: 1; min-width: 0; }
.sticky-cta strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.92rem; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-size: 0.88rem; color: var(--muted); display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
}
.form textarea { min-height: 140px; resize: vertical; }
.form-ok {
  display: none;
  background: var(--leaf);
  color: var(--forest);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: var(--leaf);
  padding: 56px 0 24px;
  margin-top: 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-copy {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Cookie */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  background: var(--forest-deep);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: none;
  max-width: 720px;
  margin-inline: auto;
  box-shadow: var(--shadow);
  align-items: center;
  gap: 16px;
}
.cookie.show { display: flex; }
.cookie p { margin: 0; font-size: 0.88rem; }

.crumbs { font-size: 0.85rem; color: var(--muted); margin: 18px 0; }
.crumbs a { color: var(--muted); text-decoration: none; }

.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

.page-hero { padding: 56px 0 20px; }
.page-hero h1 { max-width: 16ch; }

/* Contact split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info-list dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.info-list dd { margin: 0; font-size: 1.05rem; }

@media (max-width: 980px) {
  .trust, .grid-3, .product-grid, .cats, .steps, .quote, .p-hero, .p-body, .foot-grid, .split, .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .quote, .p-hero, .p-body, .split { grid-template-columns: 1fr; }
  .p-gallery { position: static; }
  .side-box { position: static; }
  .menu-btn { display: flex !important; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    z-index: 55;
  }
  .nav.open { display: flex !important; }
  .nav-cta { margin: 8px 0 0; }
}
@media (max-width: 760px) {
  .site-header { position: sticky; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    z-index: 55;
  }
  .nav.open { display: flex; }
  .nav-cta { margin: 8px 0 0; }
  .trust, .grid-3, .product-grid, .cats, .steps, .foot-grid, .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 92vh; }
  .hero-inner { padding: 48px 0 36px; }
  .sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 84px; }
  .cookie {
    flex-direction: column;
    align-items: stretch;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px 14px;
    gap: 10px;
  }
  .cookie p { font-size: 0.8rem; }
  .search { width: 100%; min-width: 0; }
  .aff-strip { font-size: 0.72rem; padding: 7px 10px; }
  .p-actions { max-width: none; }
}
