/* PIK Studio Treningowe: oferta po treningu wprowadzającym.
   Układ i kolory z oferty PDF (październik 2026): biel, grafit, róż PIK, gradient róż → pomarańcz → żółć → zieleń.
   Strona statyczna: cennik w pierwszym ekranie, zdjęcie studia z boku, bez wyboru pakietu i bez personalizacji. */
:root {
  --pink: #e8458b;
  --orange: #f08a4b;
  --yellow: #f4c430;
  --green: #4caf50;
  --ink: #2b2b2b;
  --ink-soft: #6b6b6b;
  --night: #2b2b2b;
  --paper: #ffffff;
  --mist: #f4f1f2;
  --line: #e6e1e3;
  --grad: linear-gradient(90deg, var(--pink), var(--orange) 35%, var(--yellow) 65%, var(--green));
  --radius: 14px;
  --shadow: 0 18px 44px -22px rgba(43, 43, 43, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ── nagłówek ─────────────────────────────────────────────────────────────── */
.top { padding: 18px 0 16px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 46px; width: auto; }
.tel {
  font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tel:hover { background: var(--ink); color: #fff; }
.gradbar { height: 5px; background: var(--grad); background-size: 200% 100%; animation: shimmer 10s linear infinite; }

/* ── pierwszy ekran: oferta z cennikiem, zdjęcie z boku ──────────────────── */
.oferta { padding: 32px 0 40px; }
.oferta .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: stretch; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
h1 { margin: 6px 0 4px; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.lead { margin: 0 0 22px; font-size: 18px; color: var(--ink-soft); }

.cennik { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cennik__glowka, .pakiet {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px;
}
.cennik__glowka {
  padding: 13px 24px; border-radius: 10px; background: var(--night); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px;
}
.cennik__glowka span:not(:first-child) { text-align: center; }
.cennik__glowka small { display: block; font-size: 9.5px; letter-spacing: .08em; opacity: .85; }
.pakiet {
  position: relative; padding: 20px 24px; border-radius: var(--radius); background: var(--mist);
  animation: wejscie .6s var(--ease) both; animation-delay: var(--d, 0s);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pakiet::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: var(--radius) 0 0 var(--radius); background: var(--akcent, var(--pink)); }
.pakiet:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pakiet--polecany { background: var(--pink); color: #fff; }
.pakiet--polecany::before { display: none; }
.pakiet--opieka { --akcent: var(--green); }
.pakiet__ile { display: flex; align-items: baseline; gap: 10px; }
.pakiet__ile b { font-size: clamp(36px, 4.4vw, 48px); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.pakiet__ile span { font-size: 18px; }
.pakiet__co { display: block; font-size: 14px; opacity: .75; margin-top: 4px; }
.cena { text-align: center; }
.cena b { display: block; font-size: clamp(28px, 3.4vw, 38px); line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--pink); white-space: nowrap; }
.cena--druga { border-left: 1px solid rgba(0,0,0,.15); }
.cena--druga b { color: var(--ink); font-size: clamp(24px, 2.8vw, 30px); }
.pakiet--polecany .cena b { color: #fff; }
.pakiet--polecany .cena--druga { border-color: rgba(255,255,255,.4); }
.cena small { display: block; font-size: 12px; opacity: .75; margin-top: 4px; }
.cena .okres { display: block; font-size: 17px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.pakiet--polecany .cena .okres { color: #fff; }
.odznaka {
  position: absolute; top: -11px; right: 22px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink);
}
.odznaka--opieka { background: var(--green); color: #fff; }

/* zdjęcie studia z boku */
.studio {
  position: relative; margin: 0; border-radius: 20px; overflow: hidden; min-height: 100%; background: var(--night);
  animation: wejscie .8s var(--ease) both .1s;
}
.studio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoom 14s var(--ease) both; }
.studio::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72)); }
.studio figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; color: #fff; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ── pełna opieka ─────────────────────────────────────────────────────────── */
.opieka { border-radius: var(--radius); padding: 26px 28px; border: 2px solid var(--akcent, var(--green)); }
.opieka h2 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--akcent, var(--green)); }
.opieka > p { margin: 4px 0 18px; font-weight: 600; }
.filary { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.filar { display: grid; grid-template-columns: 14px 1fr; gap: 2px 12px; align-items: start; }
.filar i { width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; background: var(--k, var(--pink)); }
.filar b { font-weight: 700; }
.filar span { grid-column: 2; color: var(--ink-soft); font-size: 14px; }

/* ── 3 miesiące współpracy (ciemny pasek jak w PDF) ───────────────────────── */
.okres-pasek {
  margin-top: 16px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--night); color: #fff;
  padding: 24px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; align-items: center;
}
.okres-pasek::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.okres-pasek b { display: block; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.okres-pasek .zgory { text-align: right; }
.okres-pasek .zgory b { color: var(--yellow); letter-spacing: 0; text-transform: none; font-size: 17px; }
.okres-pasek span { opacity: .9; }

/* ── galeria i kontakt ────────────────────────────────────────────────────── */
section { padding: 44px 0; }
.tytul { margin: 0 0 18px; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.galeria figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.galeria figure:hover img { transform: scale(1.04); }
.adres { margin: 14px 0 0; color: var(--ink-soft); font-size: 15px; }

.dalej { text-align: center; padding-bottom: 56px; }
.dalej p { color: var(--ink-soft); margin: 0 auto 22px; max-width: 560px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 "Poppins", sans-serif; text-decoration: none;
  padding: 17px 28px; border-radius: 999px; background: var(--pink); color: #fff;
  box-shadow: 0 12px 30px -12px rgba(232,69,139,.8);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(232,69,139,.9); }

footer { padding: 26px 0 34px; text-align: center; color: var(--ink-soft); font-size: 13.5px; border-top: 1px solid var(--line); }
footer a { text-decoration: none; }

/* wjazd przy przewijaniu (tylko z JS; bez JS wszystko widać od razu) */
.js .wjazd { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .wjazd.widac { opacity: 1; transform: none; }

@keyframes shimmer { to { background-position: 200% 0; } }
@keyframes wejscie { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ── strona główna: wybór oferty ──────────────────────────────────────────── */
.wybor { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.wybor a {
  position: relative; display: grid; align-content: end; min-height: 380px; padding: 26px; border-radius: 20px;
  color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; background: var(--night);
}
.wybor a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.wybor a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78)); }
.wybor a:hover img { transform: scale(1.05); }
.wybor b { font-size: 26px; line-height: 1.15; }
.wybor span { opacity: .85; }

/* ── tablet i telefon: jedna kolumna, zdjęcie z boku znika (są w galerii) ── */
@media (max-width: 900px) {
  .oferta .wrap { grid-template-columns: 1fr; }
  .studio { display: none; }
}
@media (max-width: 640px) {
  .top { padding: 12px 0 10px; }
  .logo img { height: 36px; }
  .tel { font-size: 13px; padding: 7px 12px; }
  .oferta { padding: 20px 0 28px; }
  .lead { font-size: 16px; margin-bottom: 16px; }
  .cennik__glowka { display: none; }
  .cennik { gap: 16px; }
  /* karta pakietu na telefonie: nazwa na całą szerokość, pod nią ceny wierszami „etykieta ... kwota” */
  .pakiet { display: block; padding: 18px 18px 16px 24px; }
  .pakiet__ile b { font-size: 38px; }
  .pakiet__ile span { font-size: 17px; }
  .pakiet__co { font-size: 13.5px; }
  .cena {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-align: left;
    margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,.12);
  }
  .cena.cena--druga { margin-top: 6px; padding-top: 0; border: 0; }
  .pakiet--polecany .cena { border-color: rgba(255,255,255,.35); }
  .cena b { font-size: 30px; flex: none; }
  .cena.cena--druga b { font-size: 22px; }
  .cena .etykieta {
    position: static; width: auto; height: auto; clip: auto; overflow: visible; white-space: normal;
    min-width: 0; font-size: 13px; line-height: 1.35; margin: 0; opacity: .85; order: -1;
  }
  .cena--okres { display: none !important; }
  .opieka { padding: 20px; }
  .okres-pasek { padding: 22px 20px; }
  .okres-pasek .zgory { text-align: left; }
  section { padding: 32px 0; }
  .galeria { grid-template-columns: 1fr 1fr; }
  .galeria figure:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .wjazd { opacity: 1; transform: none; }
}
