/* =========================================================
   PRODUCTS – wzorzec: „Cladophora_ Naturalna zieleń akwariów.png” (1672 × 941)
   Samodzielny arkusz – HOME (style.css) nie jest tu ładowany ani zmieniany.
   Na desktopie cała kompozycja skaluje się jak wzorzec 16:9:
   1u = 1/100 szerokości wzorca (16,72 px wzorca).
   ========================================================= */

:root {
  --hu: 1vw;                /* jednostka headera – identyczna na wszystkich stronach (wzorzec: CONTACT) */
  --u: min(1vw, calc((100vh - var(--hu) * 5.5) / 50.8));
  --bg: #000502;
  --lime: #b4ec0c;
  --lime-soft: #a6dc22;
  --text: #ffffff;
  --line: rgba(180, 236, 12, .18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Roboto", Arial, sans-serif;
  --cond: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --header-h: calc(var(--hu) * 5.5);
}

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

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

body.pp {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }

/* =========================================================
   NAGŁÓWEK
   ========================================================= */
.pp-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 calc(var(--hu) * 3);
  background: linear-gradient(180deg, #000 0%, rgba(0, 4, 1, .96) 100%);
}

.pp-header::after {               /* cienka linia pod nagłówkiem */
  content: "";
  position: absolute;
  left: calc(var(--hu) * 21);
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 180, 120, .45) 12%, rgba(150, 180, 120, .45));
}

.pp-brand img {
  width: auto;
  height: min(calc(var(--hu) * 4.3), 80px);
}

.pp-nav { margin-left: calc(var(--hu) * 5.4); }

.pp-nav ul { display: flex; gap: calc(var(--hu) * 2.15); }

.pp-nav a {
  position: relative;
  display: block;
  padding: calc(var(--hu) * .6) 0;
  font-family: var(--sans);
  font-size: calc(var(--hu) * 1.1);
  font-weight: 400;
  white-space: nowrap;
  transition: color .2s;
}

.pp-nav a:hover,
.pp-nav a.is-active { color: var(--lime); }

.pp-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--hu) * -.55);
  height: calc(var(--hu) * .25);
  min-height: 3px;
  border-radius: 2px;
  background: var(--lime);
}

.pp-wa {
  display: flex;
  align-items: center;
  gap: calc(var(--hu) * .9);
  margin-left: auto;
}

.pp-wa svg {
  width: calc(var(--hu) * 2.6);
  height: calc(var(--hu) * 2.6);
  color: #25d366;
  flex-shrink: 0;
}

.pp-wa > span {
  display: flex;
  flex-direction: column;
  font-size: calc(var(--hu) * 1.08);
  line-height: 1.3;
}

.pp-lang {
  display: flex;
  gap: calc(var(--hu) * 2.1);
  margin-left: calc(var(--hu) * 4.4);
  font-size: calc(var(--hu) * 1.3);
  font-weight: 500;
}

.pp-lang a { position: relative; padding-bottom: calc(var(--hu) * .35); }
.pp-lang a.is-active { color: var(--lime); }

.pp-lang a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--hu) * -.3);
  height: calc(var(--hu) * .22);
  min-height: 2px;
  background: var(--lime);
}

.pp-burger { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.pp-hero {
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--header-h));
  min-height: calc(var(--u) * 50.8);
  background:
    radial-gradient(ellipse 30% 45% at 34% 42%, rgba(40, 90, 10, .28), transparent 70%),
    radial-gradient(ellipse 38% 26% at 8% 100%, rgba(26, 70, 14, .55), transparent 72%),
    radial-gradient(ellipse 30% 30% at 0% 55%, rgba(16, 40, 8, .4), transparent 70%),
    var(--bg);
}

/* ---------- fotografia ---------- */
.pp-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 36%;
  overflow: hidden;
  clip-path: url(#pp-clip);
}

.pp-photo img {
  /* scena akwarium wycięta 1:1 ze wzorca (zawiera własną maskotkę) */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 100% 100%;
}

/* ---------- zakrzywiona linia ---------- */
.pp-curve {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(184, 240, 10, .85)) drop-shadow(0 0 14px rgba(150, 220, 10, .45));
}

/* ---------- treść ---------- */
.pp-content {
  position: relative;
  z-index: 3;
  width: calc(var(--u) * 38);
  padding: calc(var(--u) * 3.9) 0 0 calc(var(--u) * 4);
}

.pp-eyebrow {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 3.3);
  font-size: calc(var(--u) * 1.15);
  font-weight: 400;
  letter-spacing: .58em;
  text-transform: uppercase;
}

.pp-eyebrow::after {
  content: "";
  width: calc(var(--u) * 9.6);
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(180, 236, 12, .2));
}

.pp-title {
  margin-top: calc(var(--u) * .5);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: calc(var(--u) * 6.5);
  line-height: 1.05;
  letter-spacing: -.005em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}

.pp-subtitle {
  margin-top: calc(var(--u) * .2);
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(var(--u) * 2.4);
  line-height: 1.15;
  color: var(--lime-soft);
}

.pp-lead {
  margin-top: calc(var(--u) * 1.5);
  font-size: calc(var(--u) * 1.42);
  line-height: 1.38;
  color: #f0f2ee;
}

/* ---------- trzy bloki informacji ---------- */
.pp-info {
  display: grid;
  grid-template-columns: repeat(3, calc(var(--u) * 11.9));
  margin-top: calc(var(--u) * 2.3);
}

.pp-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 calc(var(--u) * .6);
}

.pp-info-item + .pp-info-item { border-left: 1px solid var(--line); }

.pp-info-icon {
  width: calc(var(--u) * 3.6);
  height: calc(var(--u) * 3.6);
  color: var(--lime);
  filter: drop-shadow(0 0 6px rgba(180, 236, 12, .35));
}

.pp-info-item h2 {
  margin-top: calc(var(--u) * .7);
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(var(--u) * 1.35);
  line-height: 1.2;
}

.pp-sizes {
  margin-top: calc(var(--u) * 1.1);
  font-size: calc(var(--u) * 1.02);
  line-height: 1.38;
  color: var(--lime);
}

.pp-note {
  margin-top: calc(var(--u) * .1);
  font-size: calc(var(--u) * .92);
  color: var(--lime);
  white-space: nowrap;
}

.pp-desc {
  margin-top: calc(var(--u) * 1.1);
  text-align: left;
  font-size: calc(var(--u) * 1.02);
  line-height: 1.45;
  color: #eef1ec;
}

/* ---------- CTA ---------- */
.pp-cta {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.5);
  width: calc(var(--u) * 31.6);
  height: calc(var(--u) * 5.15);
  margin-top: calc(var(--u) * 2.6);
  padding: 0 calc(var(--u) * 2.3);
  border: max(2px, calc(var(--u) * .18)) solid var(--lime);
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  box-shadow: 0 0 calc(var(--u) * 1.2) rgba(180, 236, 12, .25), inset 0 0 calc(var(--u) * 1) rgba(180, 236, 12, .08);
  transition: box-shadow .25s, background-color .25s, transform .25s;
}

.pp-cta:hover {
  transform: translateY(-2px);
  background: rgba(180, 236, 12, .08);
  box-shadow: 0 0 calc(var(--u) * 2) rgba(180, 236, 12, .45);
}

.pp-cta-wa {
  width: calc(var(--u) * 2.9);
  height: calc(var(--u) * 2.9);
  color: var(--lime);
  flex-shrink: 0;
}

.pp-cta span {
  flex: 1;
  font-family: var(--cond);
  font-size: calc(var(--u) * 1.75);
  font-weight: 500;
  white-space: nowrap;
}

.pp-cta-arrow {
  width: calc(var(--u) * 2.2);
  height: calc(var(--u) * 2.2);
  color: var(--lime);
  flex-shrink: 0;
}

/* ---------- maskotka ---------- */
/* maskotka jest już częścią sceny ze wzorca – osobny obraz ukryty, by nie dublować */
.pp-mascot { display: none; }
.pp-mascot-legacy {
  position: absolute;
  z-index: 4;
  right: calc(var(--u) * 1.3);
  bottom: calc(var(--u) * .4);
  width: calc(var(--u) * 17.5);
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%,
    #000 0%, #000 42%, rgba(0,0,0,.85) 56%, rgba(0,0,0,.5) 72%, rgba(0,0,0,.18) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 52%,
    #000 0%, #000 42%, rgba(0,0,0,.85) 56%, rgba(0,0,0,.5) 72%, rgba(0,0,0,.18) 88%, transparent 100%);
}

/* =========================================================
   TABLET / TELEFON
   ========================================================= */
@media (max-width: 1000px), (max-aspect-ratio: 1/1) {
  :root { --u: 10px; --hu: 10px; --header-h: 72px; }

  .pp-header { padding: 0 18px; }
  .pp-header::after { left: 0; }
  .pp-brand img { height: 44px; }

  .pp-wa > span { display: none; }
  .pp-wa svg { width: 34px; height: 34px; }
  .pp-lang { margin-left: 18px; gap: 14px; font-size: 1.05rem; }

  .pp-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    margin-left: 18px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .pp-burger span { height: 3px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .pp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .pp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .pp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

  .pp-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 18px 18px;
    background: rgba(0, 5, 2, .98);
    border-bottom: 1px solid var(--line);
  }
  .pp-nav.is-open { display: block; }
  .pp-nav ul { flex-direction: column; gap: 0; }
  .pp-nav a { padding: 12px 0; font-size: 1.15rem; }
  .pp-nav a.is-active::after { right: auto; width: 56px; bottom: 6px; }

  .pp-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .pp-content {
    order: 1;
    width: 100%;
    max-width: 640px;
    padding: 40px 20px 36px;
  }

  .pp-eyebrow { font-size: .85rem; gap: 18px; letter-spacing: .45em; }
  .pp-eyebrow::after { width: 70px; }
  .pp-title { font-size: clamp(3rem, 15vw, 5.4rem); margin-top: 10px; }
  .pp-subtitle { font-size: clamp(1.35rem, 5.6vw, 2rem); }
  .pp-lead { font-size: 1.05rem; margin-top: 16px; }

  .pp-info { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
  .pp-info-item { padding: 0 6px; }
  .pp-info-icon { width: 40px; height: 40px; }
  .pp-info-item h2 { font-size: 1rem; margin-top: 8px; }
  .pp-sizes, .pp-desc { font-size: .9rem; margin-top: 10px; }
  .pp-note { font-size: .78rem; white-space: normal; }

  .pp-cta {
    width: 100%;
    max-width: 460px;
    height: 64px;
    margin-top: 32px;
    padding: 0 22px;
    gap: 14px;
    border-width: 2px;
  }
  .pp-cta-wa { width: 32px; height: 32px; }
  .pp-cta span { font-size: 1.2rem; white-space: normal; }
  .pp-cta-arrow { width: 26px; height: 26px; }

  /* fotografia pod treścią, z zakrzywioną górną krawędzią */
  .pp-photo {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    clip-path: ellipse(115% 100% at 62% 100%);
  }
  .pp-curve { display: none; }

  .pp-mascot {
    width: min(38vw, 220px);
    right: 6px;
    bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
