/* ==========================================================================
   Desparazil — arkusz stylów
   Paleta: zioła z receptury (czystek, rzepik, łuska babki)
   ========================================================================== */

:root {
  --ink:        #1C2B22;
  --ink-soft:   #4A5B50;
  --bg:         #F2F4EE;
  --paper:      #FFFFFF;
  --green:      #2E4739;
  --green-deep: #223528;
  --ochre:      #C08A1E;
  --rose:       #B9797F;
  --sand:       #DDD9C8;
  --line:       #C9D0C2;

  --f-display: "Alegreya", Georgia, serif;
  --f-body:    "Karla", "Helvetica Neue", Arial, sans-serif;
  --f-label:   "JetBrains Mono", "Courier New", monospace;

  --wrap: 1140px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ochre); }

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ochre); color: var(--ink);
  padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* --- typografia ---------------------------------------------------------- */

.h-xl, .h-lg, .h-md {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
}
.h-xl { font-size: clamp(2.3rem, 5vw, 3.5rem); }
.h-lg { font-size: clamp(1.85rem, 4vw, 2.7rem); }
.h-md { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }

.eyebrow {
  font-family: var(--f-label);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 .9rem;
}

.lead { font-size: 1.12rem; color: var(--ink-soft); }

.prose p { margin: 0 0 1.15em; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

/* --- sekcje -------------------------------------------------------------- */

.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band--tint { background: var(--paper); }
.band--dark { background: var(--green); color: #E8EDE6; }
.band--dark .eyebrow { color: var(--sand); }
.band--dark .lead { color: #C4D1C2; }
.band--dark a { color: var(--ochre); }

.band__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 62ch; }
.band__head .lead { margin: .85rem 0 0; }

/* --- nagłówek strony ----------------------------------------------------- */

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.masthead__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 62px;
}
.brandmark {
  font-family: var(--f-display);
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: .02em; text-decoration: none; color: var(--ink);
}
.brandmark span { color: var(--ochre); }
.masthead__nav { display: flex; gap: 1.4rem; }
.masthead__nav a {
  font-family: var(--f-label);
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
}
.masthead__nav a:hover { color: var(--ochre); }
@media (max-width: 820px) { .masthead__nav { display: none; } }

/* --- hero ---------------------------------------------------------------- */

.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__pack { position: relative; }
.hero__pack img { margin-inline: auto; max-height: 470px; width: auto; }
.hero__stamp {
  position: absolute; right: 4%; top: 2%;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--ochre); color: var(--ink);
  display: grid; place-content: center; text-align: center;
  font-family: var(--f-label); font-size: .7rem; line-height: 1.35;
  letter-spacing: .04em; transform: rotate(-9deg);
}
.hero__stamp b { display: block; font-size: 1.5rem; letter-spacing: 0; }
.hero__sub {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.35; font-weight: 500; font-style: italic;
  color: var(--ink-soft); margin: .5rem 0 1.25rem;
}
.hero__facts {
  list-style: none; margin: 0 0 1.75rem; padding: 0;
  font-family: var(--f-label); font-size: .8rem; color: var(--ink-soft);
}
.hero__facts li { padding: .38rem 0; border-bottom: 1px dotted var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.hero__facts b { color: var(--ink); font-weight: 500; text-align: right; }
.hero__facts i { font-style: normal; color: #7C8D80; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__pack { order: -1; }
  .hero__stamp { width: 88px; height: 88px; font-size: .62rem; }
  .hero__stamp b { font-size: 1.2rem; }
}

/* --- etykieta (element sygnaturowy) -------------------------------------- */

.label {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  padding: 0;
  font-family: var(--f-label);
  box-shadow: 5px 5px 0 var(--sand);
}
.label__bar {
  background: var(--ink); color: var(--bg);
  padding: .5rem .95rem;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 1rem;
}
.label__body { padding: 1.1rem .95rem 1.25rem; }
.label__row {
  display: flex; justify-content: space-between; gap: 1.25rem;
  font-size: .82rem; line-height: 1.5;
  padding: .5rem 0; border-bottom: 1px dotted var(--line);
}
.label__row:last-child { border-bottom: 0; }
.label__row dt { color: var(--ink-soft); margin: 0; flex: 0 0 auto; }
.label__row dd { margin: 0; text-align: right; color: var(--ink); }
.label__row dd i { display: block; font-style: normal; color: var(--ink-soft); font-size: .74rem; }
.label__note {
  margin: 1rem 0 0; padding-top: .85rem; border-top: 1.5px solid var(--ink);
  font-size: .74rem; line-height: 1.5; color: var(--ink-soft);
}
.label--flush { box-shadow: 5px 5px 0 rgba(46,71,57,.25); }

/* --- składniki ----------------------------------------------------------- */

.herbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.herb { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.herb__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.herb__img img { width: 100%; height: 100%; object-fit: cover; }
.herb__body { padding: 1.35rem 1.4rem 1.55rem; }
.herb__latin { font-family: var(--f-label); font-size: .72rem; letter-spacing: .08em; color: var(--rose); margin: 0 0 .3rem; }
.herb__name { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; margin: 0 0 .6rem; }
.herb__body p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 760px) { .herbs { grid-template-columns: 1fr; } }

/* --- opinie -------------------------------------------------------------- */

.score {
  display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap;
  border-left: 4px solid var(--rose); padding-left: 1.1rem; margin-bottom: 2rem;
}
.score__num { font-family: var(--f-display); font-size: 3.1rem; font-weight: 800; line-height: 1; }
.score__meta { font-family: var(--f-label); font-size: .78rem; color: var(--ink-soft); }

.reviews { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 2px; }
.review { background: var(--paper); padding: 1.15rem 1.3rem; }
.review__top {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  font-family: var(--f-label); font-size: .72rem; color: var(--ink-soft);
  margin-bottom: .5rem;
}
.review__stars { color: var(--ochre); letter-spacing: .12em; font-size: .85rem; }
.review__text { margin: 0; font-size: 1.02rem; }
.review__tags { margin: .6rem 0 0; padding: 0; list-style: none; display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink-soft); }
.review__tags li::before { font-family: var(--f-label); margin-right: .35rem; }
.review__tags .plus::before { content: "+"; color: var(--green); }
.review__tags .minus::before { content: "–"; color: var(--rose); }

.source-note {
  margin-top: 1.5rem; font-size: .88rem; color: var(--ink-soft);
  border-top: 1px solid var(--line); padding-top: 1rem;
}

/* --- oferta / formularz -------------------------------------------------- */

.offer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .offer__grid { grid-template-columns: 1fr; } }

.pricebox { font-family: var(--f-label); }
.pricebox__old { font-size: 1rem; color: #A9B8AB; text-decoration: line-through; margin: 0; }
.pricebox__new { font-family: var(--f-display); font-size: clamp(3rem, 8vw, 4.4rem); font-weight: 800; line-height: 1; margin: .2rem 0 .1rem; color: var(--ochre); }
.pricebox__unit { font-size: .8rem; color: #C4D1C2; margin: 0 0 1.4rem; }
.perks { list-style: none; margin: 0; padding: 0; }
.perks li { padding: .7rem 0 .7rem 1.6rem; border-top: 1px solid rgba(255,255,255,.16); position: relative; font-size: .96rem; }
.perks li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.perks li::before { content: "→"; position: absolute; left: 0; color: var(--ochre); font-family: var(--f-label); }

.orderform {
  background: var(--paper); border-radius: 2px; padding: clamp(1.4rem, 3vw, 2rem);
  border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ochre);
}
.orderform__title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; margin: 0 0 .35rem; color: var(--ink); }
.orderform__hint { font-size: .88rem; color: var(--ink-soft); margin: 0 0 1.3rem; }
.field { margin-bottom: .9rem; }
.field label {
  display: block; font-family: var(--f-label); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .35rem;
}
.field input {
  width: 100%; font-family: var(--f-body); font-size: 1.02rem;
  padding: .8rem .85rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 2px;
}
.field input:focus { border-color: var(--ink); background: var(--paper); outline: none; }
.field input:focus-visible { outline: 3px solid var(--ochre); outline-offset: 1px; }
.field--err input { border-color: #B03A2E; }
.field__err { display: none; font-size: .8rem; color: #B03A2E; margin-top: .3rem; }
.field--err .field__err { display: block; }

.btn {
  display: block; width: 100%; cursor: pointer;
  text-align: center; text-decoration: none;
  font-family: var(--f-body); font-size: 1.05rem; font-weight: 700;
  letter-spacing: .01em; padding: .95rem 1.2rem;
  color: var(--ink); background: var(--ochre);
  border: 1.5px solid var(--ink); border-radius: 2px;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: #D29B2C; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }

.formnote { font-size: .78rem; color: var(--ink-soft); margin: .9rem 0 0; line-height: 1.5; }
.formfail { display: none; margin: .9rem 0 0; padding: .7rem .8rem; border-left: 3px solid #B03A2E; background: #FBEEEC; font-size: .88rem; color: #7C2A20; }
.formfail.is-on { display: block; }

/* --- pasożyty / blok informacyjny ---------------------------------------- */

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.25rem); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split__fig { border: 1px solid var(--line); border-radius: 2px; background: var(--paper); padding: .6rem; }
.split__fig figcaption { font-family: var(--f-label); font-size: .7rem; color: var(--ink-soft); padding: .6rem .2rem 0; line-height: 1.45; }

.callout {
  border-left: 4px solid var(--ochre); background: var(--paper);
  padding: 1.1rem 1.25rem; margin: 1.5rem 0 0; border-radius: 0 2px 2px 0;
}
.callout p { margin: 0; font-size: .96rem; }

/* --- faq ----------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font-family: var(--f-display); font-size: 1.18rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  font-family: var(--f-label); font-size: 1.35rem; color: var(--ochre);
}
.faq details[open] summary::after { content: "–"; }
.faq__a { padding: 0 0 1.3rem; max-width: 72ch; }
.faq__a p { margin: 0 0 .8rem; font-size: .98rem; color: var(--ink-soft); }
.faq__a p:last-child { margin-bottom: 0; }

/* --- stopka -------------------------------------------------------------- */

.foot { background: var(--green-deep); color: #A9BCAB; padding-block: 2.75rem; font-size: .87rem; }
.foot a { color: var(--sand); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }
.foot p { margin: 0 0 .8rem; max-width: 62ch; }
.foot__meta { font-family: var(--f-label); font-size: .74rem; line-height: 1.9; }
.foot__disc { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; color: #8AA08C; }

/* --- cta w nagłówku ------------------------------------------------------ */

.masthead__cta {
  font-family: var(--f-label); font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; text-decoration: none;
  color: var(--ink); background: var(--ochre);
  border: 1.5px solid var(--ink); border-radius: 2px;
  padding: .4rem .85rem; white-space: nowrap;
}
.masthead__cta:hover { background: #D29B2C; color: var(--ink); }

.hero__micro {
  font-family: var(--f-label); font-size: .72rem; line-height: 1.6;
  color: var(--ink-soft); margin: .85rem 0 0; max-width: 420px;
}
.hero .btn { max-width: 420px; }

/* --- sekcja problemu ----------------------------------------------------- */

.pains {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1.5px solid var(--ink);
}
.pains li {
  padding: 1.35rem 1.35rem 1.5rem 0;
  border-right: 1px solid var(--line);
  font-size: .94rem; color: var(--ink-soft); line-height: 1.55;
}
.pains li:last-child { border-right: 0; padding-right: 0; }
.pains li + li { padding-left: 1.35rem; }
.pains b {
  display: block; font-family: var(--f-display); font-weight: 700;
  font-size: 1.16rem; line-height: 1.25; color: var(--ink); margin-bottom: .45rem;
}
@media (max-width: 900px) {
  .pains { grid-template-columns: repeat(2, 1fr); }
  .pains li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .pains li:nth-child(odd) { padding-left: 0; }
  .pains li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pains { grid-template-columns: 1fr; }
  .pains li { border-right: 0; padding: 1.1rem 0 1.2rem !important; border-top: 1px solid var(--line); }
  .pains li:first-child { border-top: 0; }
}

.turn {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  border-left: 4px solid var(--rose);
  padding: .25rem 0 .25rem 1.35rem;
  max-width: 74ch;
}
.turn p { margin: 0 0 .9rem; font-size: 1.05rem; }
.turn p:last-child { margin-bottom: 0; }

/* --- korzyści ------------------------------------------------------------ */

.gains { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3.5vw, 2.75rem); }
@media (max-width: 760px) { .gains { grid-template-columns: 1fr; } }
.gain { padding-top: 1.15rem; border-top: 1.5px solid var(--ink); }
.gain__t {
  font-family: var(--f-display); font-size: 1.32rem; font-weight: 700;
  line-height: 1.25; margin: 0 0 .55rem; position: relative; padding-left: 1.35rem;
}
.gain__t::before {
  content: "◆"; position: absolute; left: 0; top: .08em;
  font-size: .62rem; color: var(--ochre);
}
.gain p { margin: 0; color: var(--ink-soft); font-size: .97rem; padding-left: 1.35rem; }

/* --- wyróżnienia w ofercie ----------------------------------------------- */

.perks li b { color: #FFF; font-weight: 700; }

/* --- domknięcie ---------------------------------------------------------- */

.closer {
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  background: var(--green); color: #E8EDE6;
  border: 1.5px solid var(--ink); border-radius: 2px;
  padding: clamp(1.35rem, 3vw, 2rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 6px 6px 0 var(--ochre);
}
.closer__t { font-family: var(--f-display); font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; margin: 0 0 .3rem; }
.closer__s { font-family: var(--f-label); font-size: .82rem; color: #C4D1C2; margin: 0; }
.closer__btn { width: auto; flex: 0 0 auto; padding-inline: 2.75rem; }
@media (max-width: 620px) { .closer__btn { width: 100%; } }
