
.lp {
  --lp-navy: #132a40;
  --lp-teal: #009db1;
  --lp-slate: #567492;
  --lp-gray: #eff2f5;
  --lp-muted: #aeaeb2;
  --lp-note: #8c8c8c;
  --lp-label-text: #e8fcf6;
  --lp-wm: #f3a5b8;          /* etykieta "Wyrób medyczny" */
  --lp-line: rgba(0, 0, 0, .1);

  --lp-gutter: 16px;
  --lp-container: 1272px;
  --lp-radius: 16px;
  --lp-ease: cubic-bezier(.4, 0, .2, 1);

  /* kolory produktu – nadpisywane przez .lp-product--* */
  --accent: var(--lp-teal);
  --border: #dbe3ea;
  --soft: var(--lp-gray);
}

.lp-product--junior { --accent: #ee7291; --border: #f3a5b8; --soft: #fce8ed; }
.lp-product--neo    { --accent: #0c6a4b; --border: #a5f3dc; --soft: #e8fcf6; }
.lp-product--benzy  { --accent: #e10f21; --border: #f8a6ad; --soft: #fde7e9; }

/* ---------- Baza (tylko wewnątrz .lp) ---------- */
.lp {
  display: block;
  overflow-x: clip;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.36;
  color: var(--lp-navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* reset przez :where() – zerowa specyficzność, więc klasy komponentów zawsze wygrywają */
:where(.lp) *,
:where(.lp) *::before,
:where(.lp) *::after { box-sizing: border-box; }
:where(.lp) :where(h1, h2, h3, p, ul, li, figure) { margin: 0; padding: 0; }
:where(.lp) ul { list-style: none; }
:where(.lp) :where(img, svg) { display: block; max-width: 100%; }
:where(.lp) img { height: auto; }
:where(.lp) a { text-decoration: none; }
:where(.lp) sup { font-size: .6em; line-height: 0; vertical-align: .6em; }
:where(.lp) button {
  margin: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
:where(.lp) :focus-visible { outline: 2px solid var(--lp-teal); outline-offset: 3px; }

.lp-container {
  width: 100%;
  max-width: calc(var(--lp-container) + 2 * var(--lp-gutter));
  margin-inline: auto;
  padding-inline: var(--lp-gutter);
}
.lp-accent { color: var(--lp-teal); }

/* ---------- Przyciski ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 61px;
  padding: 2px 20px 2px 32px;
  border-radius: 1000px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.36;
  text-align: center;
  transition: filter .2s var(--lp-ease), transform .2s var(--lp-ease);
}
.lp a.lp-btn,
.lp a.lp-btn:visited { color: #fff; }
.lp-btn:hover { filter: brightness(.92); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn__icon {
  flex: none;
  width: 7px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform .2s var(--lp-ease);
}
.lp-btn:hover .lp-btn__icon { transform: translateX(3px); }

.lp-btn--teal {
  --accent: var(--lp-teal);
  min-height: 59px;
  padding: 16px 40px 16px 50px;
  font-size: 20px;
  font-weight: 700;
}
.lp-btn--sm {
  min-height: 40px;
  padding: 9px 14px 9px 22px;
  font-size: 13.7px;
  gap: 7px;
}
.lp-btn--sm .lp-btn__icon { width: 5px; height: 9px; }



/* ---------- Etykiety ---------- */
.lp-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 1000px;
  background: var(--lp-slate);
  color: var(--lp-label-text);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lp-badge--wm { background: var(--lp-wm); padding-inline: 8px; }

.lp-tag,
.lp-tags li {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 1000px;
  background: var(--lp-gray);
  color: var(--lp-navy);
  font-size: 12.8px;
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.lp-hero {
  position: relative;
  background: #fff url("../img/bg-hero.svg") center bottom / cover no-repeat;
}
.lp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 534px);
  grid-template-rows: auto auto;
  padding-top: 64px;
  padding-bottom: 90px;
}
.lp-hero__content {
  grid-column: 1;
  grid-row: 1;
  max-width: calc(535px + 108px);
  margin-top: 124px;
  padding-left: clamp(0px, 7.15vw - 0px, 108px);
}
.lp-hero__title {
  font-size: clamp(36px, 27.31px + 2.228vw, 61px);
  font-weight: 700;
  line-height: 1.36;
  color: var(--lp-navy);
}
.lp-hero__lead {
  margin-top: 22px;
  font-size: clamp(16px, 12.87px + 0.802vw, 25px);
  line-height: 1.36;
}
.lp-hero__lead strong { font-weight: 700; }
.lp-hero__text {
  max-width: 443px;
  margin-top: 22px;
  font-size: clamp(16px, 14.61px + 0.357vw, 20px);
  line-height: 1.36;
}
.lp-hero__btn { margin-top: 36px; }

.lp-hero__media {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-right: 5px;
}
.lp-hero__media img { width: 100%; }

.lp-features {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 36px;
  margin-top: 101px;
  padding-left: 6px;
}
.lp-features__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.36;
  color: var(--lp-navy);
}
.lp-features__item img { flex: none; width: 47px; height: 47px; }
.lp-features__item + .lp-features__item::before {
  content: "";
  flex: none;
  width: 2px;
  height: 44px;
  margin-right: 26px;
  background: var(--lp-slate);
}

/* ==========================================================================
   INTRO "Poznaj produkty..."
   ========================================================================== */
.lp-intro { padding: 120px 0 60px; }
.lp-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: calc(1088px + 2 * var(--lp-gutter));
  text-align: center;
}
.lp-intro__title {
  font-size: clamp(32px, 3.23vw, 48.83px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--lp-navy);
}
.lp-intro__text { font-size: clamp(16px, 1.33vw, 20px); }
.lp-intro__arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--lp-navy);
}
.lp-intro__arrow svg {
  width: 24px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform .2s var(--lp-ease);
}
.lp-intro__arrow:hover svg { transform: translateY(3px); }

/* ==========================================================================
   PRODUKTY – karty
   ========================================================================== */
.lp-products {
  position: relative;
  padding: 23px 0 63px;
  scroll-margin-top: 24px;
}
.lp-products::before {
  content: "";
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  height: 863px;
  background: url("../img/bg-fale.svg") center top / cover no-repeat;
  pointer-events: none;
}
.lp-products .lp-container { position: relative; }

.lp-products__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  align-items: stretch;
}
.lp-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* KV */
.lp-kv {
  display: block;
  aspect-ratio: 411 / 592;
  overflow: hidden;
  border-radius: var(--lp-radius);
  border: 1px solid var(--border);
  background: #fff;
}
.lp-kv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-kv--placeholder {
  border: 1px solid var(--border);
  box-shadow: 0 2px 8.2px 2px var(--soft);
}

/* karta */
.lp-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  padding-bottom: 80px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--lp-radius);
  box-shadow: 0 2px 8.2px 2px var(--soft);
}
.lp-card__age {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 12px 32px;
  border-radius: 1000px;
  background: var(--soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.36;
  text-align: center;
  text-wrap: balance;
}
.lp-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 411 / 200;
  margin-top: 52px;
  container-type: inline-size;
}
.lp-pos {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
}
.lp-vtext {
  position: absolute;
  left: var(--x);
  top: var(--y);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 6px;
  font-size: calc(6 / 411 * 100cqw);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--lp-navy);
}

.lp-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(314px, calc(100% - 32px));
  margin-top: 2px;
}
.lp-symptoms {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.lp-symptoms li {
  flex: 0 0 auto;
  min-width: 77px;
  font-size: 12.8px;
  line-height: 1.36;
  text-align: center;
  color: #000;
}
.lp-symptoms img {
  width: 61px;
  height: 61px;
  margin: 0 auto 10px;
}

/* akordeon */
.lp-acc {
  width: min(300px, 100%);
  margin-top: 18px;
}
.lp-acc__item + .lp-acc__item { border-top: 1px solid var(--lp-line); }
.lp-acc__heading { font-size: 16px; font-weight: 700; }
.lp .lp-acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.36;
  text-align: left;
}
.lp-acc__btn::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .45;
  transition: transform .25s var(--lp-ease), opacity .2s;
}
.lp-acc__btn:hover::after { opacity: 1; }
.lp-acc__btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

.lp-acc__panel,
.lp-variants__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s var(--lp-ease), visibility 0s .35s;
}
.lp-acc__inner,
.lp-variants__inner { min-height: 0; overflow: hidden; }
.is-open > .lp-acc__panel,
.is-open > .lp-variants__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .35s var(--lp-ease), visibility 0s;
}
.lp-acc__inner p {
  padding: 10px 0 18px;
  font-size: 14px;
  line-height: 1.36;
  text-align: justify;
  color: #000;
}

.lp-card__btn {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(322px, calc(100% - 32px));
  transform: translate(-50%, 45%);
}
.lp-card__btn:active { transform: translate(-50%, calc(45% + 1px)); }

.lp-products__note {
  margin-top: 60px;
  font-size: 12.8px;
  line-height: 1.36;
  color: var(--lp-note);
}

/* wskaźnik karuzeli – tylko mobile */
.lp-progress { display: none; }

/* ==========================================================================
   PORÓWNANIE (tabela)
   ========================================================================== */
.lp-compare {
  padding: 79px 0 63px;
  background: var(--lp-gray);
}
.lp-compare__panel {
  padding: 49px 55px 40px;
  background: #fff;
  border-radius: var(--lp-radius);
}
.lp-compare__head,
.lp-compare__row {
  display: grid;
  grid-template-columns:
    minmax(130px, 170fr)
    minmax(100px, 153fr)
    minmax(250px, 313fr)
    minmax(180px, 323fr)
    minmax(200px, 194fr);
  padding-inline: 5px;
}
.lp-compare__head {
  margin-bottom: 30px;
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  color: var(--lp-navy);
}
.lp-compare__head span:first-child { padding-left: 14px; }
.lp-compare__head span + span {
  padding-left: 28px;
  border-left: 2px solid var(--lp-navy);
}

.lp-compare__group {
  padding-top: 40px;
  border-top: 2px solid var(--lp-gray);
}
.lp-compare__group + .lp-compare__group { margin-top: 60px; }

.lp-compare__row { min-height: 128px; }
.lp-compare__cell {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.36;
  color: #000;
}
.lp-compare__cell--age,
.lp-compare__cell--tags,
.lp-compare__cell--desc { border-left: 2px solid var(--lp-gray); }
.lp-compare__cell--age { padding-left: 28px; }
.lp-compare__cell--tags { padding-left: 14px; padding-block: 5px; }
.lp-compare__cell--desc { padding: 0 24px 0 28px; }
.lp-compare__cell--desc { max-width: 290px; box-sizing: content-box; }
.lp-compare__cell--btn { justify-content: flex-end; }
.lp-compare__cell--logo img { width: auto; height: 20px; }

.lp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 296px;
}

.lp-compare__note {
  margin-top: 40px;
  font-size: 12.8px;
  line-height: 1.36;
  text-align: center;
  color: #000;
}
.lp-compare__note--mobile { display: none; }

/* warianty */
.lp-variants { margin-top: 50px; }
.lp-product--neo .lp-variants,
.lp-product--benzy .lp-variants { margin-top: 40px; }
.lp .lp-variants__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 0;
  color: var(--lp-muted);
  font-size: 14px;
  line-height: 1.36;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
}
.lp .lp-variants__toggle:hover { color: var(--lp-navy); }
.lp-variants__toggle svg {
  width: 12px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform .25s var(--lp-ease);
}
.lp-variants__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.lp-variants__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px clamp(32px, 4.5vw, 82px);
  padding-top: 50px;
  padding-bottom: 30px;
}
.lp-variant {
  position: relative;
  flex: 0 0 230px;
  width: 230px;
}
.lp-variant .lp-tag { position: relative; z-index: 1; }
.lp-variant__visual {
  position: relative;
  height: 218px;
}
.lp-variant__visual::before {
  content: "";
  position: absolute;
  top: 68px;
  left: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--lp-gray);
}
.lp-variant__visual img {
  position: absolute;
  left: var(--img-x);
  top: calc(var(--img-y) - 33px);
  width: var(--img-w);
}
.lp-variant__age {
  position: absolute;
  z-index: 1;
  left: 22px;
  top: 99px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--lp-navy);
}
.lp-variant .lp-badge {
  position: absolute;
  z-index: 1;
  left: 22px;
  top: 196px;
}

.lp-dots { display: none; }

/* ==========================================================================
   INFORMACJE PRAWNE
   ========================================================================== */
.lp-legal {
  padding: 16px 0 25px;
  background: var(--lp-gray);
  color: #000;
}
.lp-legal__inner {
  max-width: calc(1261px + 2 * var(--lp-gutter));
  margin-inline: auto;
  padding-inline: var(--lp-gutter);
  font-size: 12.8px;
  line-height: 1.36;
}
.lp-legal p { margin-bottom: 17px; }
.lp-legal__group p:not(.lp-legal__name) { text-align: justify; }
.lp-legal__owner { text-align: center; }
.lp-legal strong { font-weight: 700; }
.lp .lp-legal__warning {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 23px 10px;
  border-top: 2px solid var(--lp-slate);
  border-bottom: 2px solid var(--lp-slate);
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.36;
  text-align: center;
}
.lp .lp-legal__warning:last-child { margin-bottom: 0; }
