/* ============================================================
   SYSTEM PROTECT — PRODUCT PAGES (Clean Lab)
   Wspólny arkusz stron: universal / rejuvenator / cleaner.
   Tokeny i nav/footer: /css/theme.css
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ziarno filmowe */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .028; mix-blend-mode: multiply;
}

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }

.section { padding: clamp(80px, 11vh, 128px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vh, 56px); }
.section-head .sp-label { display: block; margin-bottom: 14px; color: var(--accent-deep); }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.08; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

/* linki w treści */
.a-link { color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.a-link:hover { text-decoration: underline; }

/* ---------- HERO PRODUKTU ---------- */
.p-hero { position: relative; overflow: hidden; padding: clamp(52px, 8vh, 96px) 0 clamp(60px, 9vh, 104px); }
.p-hero-aurora { position: absolute; inset: 0; pointer-events: none; }
.p-hero-aurora::before {
  content: ''; position: absolute; top: -30%; left: -12%;
  width: 900px; height: 700px;
  background: radial-gradient(45% 45% at 50% 50%, rgba(20, 184, 166, .12), transparent 70%);
}
.p-hero-aurora::after {
  content: ''; position: absolute; top: 10%; right: -18%;
  width: 900px; height: 800px;
  background: radial-gradient(45% 45% at 50% 50%, rgba(99, 102, 241, .08), transparent 70%);
}

.p-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
@media (max-width: 960px) { .p-hero-grid { grid-template-columns: 1fr; } }

.p-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--accent-deep);
  background: var(--accent-tint);
  border: 1px solid rgba(13, 148, 136, .18);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 24px;
}

.p-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.7rem);
  font-weight: 700; line-height: 1.03; margin-bottom: 22px;
}
.p-hero h1 .brand-line { display: block; font-size: .42em; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-bottom: 10px; }
.p-hero h1 em { font-style: normal; color: var(--accent-deep); }
.p-hero h1 .h1-sub {
  display: block; font-family: var(--font-body);
  font-size: .34em; font-weight: 500; letter-spacing: 0;
  color: var(--muted); margin-top: 12px; line-height: 1.4;
}

.p-lead { max-width: 33em; font-size: 17px; color: var(--muted); margin-bottom: 32px; }
.p-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.p-stats { display: flex; gap: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 26px; }
.p-stats strong { font-family: var(--font-display); font-weight: 700; font-size: 22px; display: block; line-height: 1.2; }
.p-stats span { font-size: 13px; color: var(--muted); }

.p-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.p-tags span {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-2);
  padding: 6px 14px; border-radius: 999px;
}

.p-photo-stage { position: relative; }
.p-photo {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-card-hover), 0 48px 96px -36px rgba(20, 184, 166, .35);
}
.p-photo img { width: 100%; height: auto; }
.p-chip {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; gap: 1px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 18px;
  box-shadow: var(--shadow-card);
}
.p-chip strong { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.p-chip span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.p-chip--tl { top: 22px; left: -26px; }
.p-chip--br { bottom: 30px; right: -22px; }
@media (max-width: 1180px) { .p-chip--tl { left: 12px; } .p-chip--br { right: 12px; } }

/* ---------- KARTY INFORMACYJNE ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 30px 28px; box-shadow: var(--shadow-card);
}
.info-card > h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.info-card > h3 + .card-sub { margin-top: -14px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }

/* karta ostrzegawcza (semantyka, nie akcent) */
.info-card--warn { border-color: rgba(180, 83, 9, .25); }
.info-card--warn > h3 { color: #92400e; }

.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature + .feature { margin-top: 20px; }
.feature .ic {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); border: 1px solid rgba(13, 148, 136, .16);
  margin-top: 2px;
}
.feature .ic svg { width: 15px; height: 15px; stroke: var(--accent-deep); }
.feature .ic--warn { background: #fef3c7; border-color: rgba(180, 83, 9, .2); }
.feature .ic--warn svg { stroke: #b45309; }
.feature h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.feature h4 a { text-decoration: none; }
.feature h4 a:hover { color: var(--accent-deep); text-decoration: underline; }
.feature p { font-size: 14px; color: var(--muted); }
.feature ul { margin-top: 8px; }
.feature ul li {
  font-size: 12.5px; color: var(--muted);
  padding-left: 14px; position: relative; margin-bottom: 3px;
}
.feature ul li::before { content: '·'; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* notka wyróżniona w karcie */
.callout {
  background: var(--accent-tint); border: 1px solid rgba(13, 148, 136, .2);
  border-radius: 16px; padding: 18px 20px; margin-top: 20px;
  font-size: 14px; color: var(--ink);
}
.callout--warn { background: #fffbeb; border-color: rgba(180, 83, 9, .25); }
.callout strong { font-weight: 700; }
.callout ol { margin-top: 10px; }
.callout ol li { margin-bottom: 6px; padding-left: 0; }

/* ---------- ZASTOSOWANIE ---------- */
.app-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 26px; box-shadow: var(--shadow-card);
}
.app-card .ic {
  width: 40px; height: 40px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); border: 1px solid rgba(13, 148, 136, .16);
  margin-bottom: 16px;
}
.app-card .ic svg { width: 20px; height: 20px; stroke: var(--accent-deep); }
.app-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.app-card > p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.app-card ul li {
  font-size: 13px; color: var(--muted);
  padding-left: 14px; position: relative; margin-bottom: 4px;
}
.app-card ul li::before { content: '·'; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* ---------- KROKI ---------- */
.steps-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps-4 { grid-template-columns: 1fr; } }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 26px 24px; box-shadow: var(--shadow-card);
}
.step-card .n {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--accent-deep); background: var(--accent-tint);
  border: 1px solid rgba(13, 148, 136, .18);
  width: 40px; height: 40px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.step-card ul li {
  font-size: 12.5px; color: var(--muted);
  padding-left: 14px; position: relative; margin-bottom: 3px;
}
.step-card ul li::before { content: '·'; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* ---------- TABELA PORÓWNAWCZA ---------- */
.cmp-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-card); overflow: hidden;
}
.cmp-scroll { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th {
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-align: left; color: rgba(238, 242, 247, .75);
  background: var(--ink); padding: 14px 20px;
}
.cmp th.center, .cmp td.center { text-align: center; }
.cmp td { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td.lbl { color: var(--muted); }
.cmp td .yes { color: var(--accent-deep); font-weight: 700; }
.cmp td strong { font-family: var(--font-display); font-weight: 700; }
.cmp tr.hl td { background: var(--accent-tint); }

/* ---------- CHIPY ECO / FAKTY ---------- */
.fact-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fact-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  background: var(--card); border: 1px solid var(--line-2);
  padding: 9px 16px; border-radius: 999px;
}
.fact-chips svg { width: 15px; height: 15px; stroke: var(--accent); }

/* ---------- PANEL PREMIERY (outro) ---------- */
.outro-panel {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  border-radius: 32px;
  padding: clamp(44px, 7vh, 72px) clamp(28px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
@media (max-width: 860px) { .outro-panel { grid-template-columns: 1fr; } }
.outro-panel::before {
  content: ''; position: absolute; top: -60%; right: -10%;
  width: 700px; height: 700px; pointer-events: none;
  background: radial-gradient(45% 45% at 50% 50%, rgba(20, 184, 166, .22), transparent 70%);
}
.outro-panel h2 { position: relative; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.06; margin-bottom: 14px; }
.outro-panel .list { position: relative; margin-top: 14px; }
.outro-panel .list li {
  color: rgba(238, 242, 247, .65); font-size: 14.5px;
  padding-left: 22px; position: relative; margin-bottom: 7px;
}
.outro-panel .list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-bright); font-weight: 700; }
.outro-actions { position: relative; display: flex; flex-direction: column; gap: 14px; }
.outro-actions .sp-btn-primary { justify-content: center; }
.outro-actions .made-in {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; color: rgba(238, 242, 247, .6);
}
.outro-actions .made-in svg { width: 26px; height: 18px; }

/* ---------- FORMULARZ ---------- */
.sp-field { display: block; margin-bottom: 16px; }
.sp-field > span {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 6px;
}
.sp-field .req { color: var(--accent-deep); }
.sp-input {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 12px;
  padding: 11px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sp-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .18);
}
textarea.sp-input { resize: vertical; min-height: 120px; }
.sp-check { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--muted); margin: 18px 0; }
.sp-check input { margin-top: 2px; accent-color: var(--accent); }
.sp-check a { color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.sp-check a:hover { text-decoration: underline; }

/* ---------- LISTA ARTYKUŁÓW (baza wiedzy) ---------- */
.kb-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.kb-cat-head h3 { font-size: 19px; font-weight: 700; }
.kb-cat-head .count {
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  color: var(--muted); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kb-cat-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.kb-list { border-top: 1px solid var(--line); }
.kb-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 2px; font-size: 14px; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
  transition: color .15s ease, padding-left .15s ease;
}
.kb-list a::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--line-2); flex-shrink: 0;
  transition: background .15s ease;
}
.kb-list a:hover { color: var(--accent-deep); padding-left: 6px; }
.kb-list a:hover::before { background: var(--accent); }

/* breadcrumb */
.crumbs {
  font-size: 13px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 14px 0;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs .sep { color: var(--line-2); }
.crumbs .here { color: var(--ink); font-weight: 600; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(20px); filter: blur(6px);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal-stagger > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}
