/* ── TEST DOPASOWANIA (/test) ──
   Korzysta ze zmiennych z landing.css (--cream, --earth, --sand, --sage, --linen,
   --linen2, --serif, --sans). Nic tu nie nadpisuje stylów landingu ani sklepu. */

/* 150px u góry — tyle samo, co .subhero w landing.css; nagłówek strony jest
   position:fixed, więc bez tego zachodzi na tytuł. */
.test-strona { max-width: 860px; margin: 0 auto; padding: 150px 48px 110px; }

.test-naglowek { margin-bottom: 44px; }
.test-kicker {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px;
}
.test-tytul {
  font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 300; line-height: 1.12; margin: 0 0 20px;
}
.test-tytul em { font-style: italic; color: var(--sand); }
.test-lead {
  font-size: 1rem; line-height: 1.8; color: rgba(101,88,88,0.72); max-width: 60ch;
}

.test-panel {
  background: #fff; border: 1px solid var(--linen2);
  padding: 40px 44px; margin-bottom: 32px;
}

/* postęp */
.test-postep { display: flex; gap: 6px; margin-bottom: 12px; }
.test-postep i {
  flex: 1; height: 2px; background: var(--linen2); transition: background .3s;
}
.test-postep i.zrobione { background: var(--sand); }
.test-postep-opis {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage); margin: 0 0 32px;
}

/* krok */
.test-numer {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 300;
  color: var(--linen2); line-height: 1; margin-bottom: 10px;
}
.test-pytanie {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 400;
  line-height: 1.25; margin: 0 0 8px;
}
.test-podpowiedz {
  font-size: 0.85rem; line-height: 1.65; color: rgba(101,88,88,0.6);
  margin: 0 0 26px; max-width: 58ch;
}
.test-grupa {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage); margin: 26px 0 12px;
}

/* opcje */
.test-opcje { display: grid; gap: 8px; }
.test-opcje.dwie { grid-template-columns: 1fr 1fr; }
.test-opcja {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--linen2);
  font-family: var(--sans); font-size: 0.9rem; color: var(--earth);
  transition: border-color .2s, background .2s;
}
.test-opcja:hover { border-color: var(--sand); }
.test-opcja.wybrana { border-color: var(--earth); background: var(--cream); }
.test-znacznik {
  flex-shrink: 0; width: 15px; height: 15px; border: 1px solid var(--linen2);
  border-radius: 50%; position: relative; transition: border-color .2s;
}
.test-opcja.wybrana .test-znacznik { border-color: var(--earth); }
.test-opcja.wybrana .test-znacznik::after {
  content: ''; position: absolute; inset: 3px;
  background: var(--earth); border-radius: 50%;
}
.test-ikona { flex-shrink: 0; color: var(--sand); display: flex; }
.test-opcja.wybrana .test-ikona { color: var(--sage); }

/* ścieżka */
.test-sciezki { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.test-sciezka {
  padding: 26px 24px; cursor: pointer; background: #fff;
  border: 1px solid var(--linen2); transition: border-color .2s, background .2s;
}
.test-sciezka:hover { border-color: var(--sand); }
.test-sciezka.wybrana { border-color: var(--earth); background: var(--cream); }
.test-sciezka h3 {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 400; margin: 0 0 8px;
}
.test-sciezka p { font-size: 0.84rem; line-height: 1.6; color: rgba(101,88,88,0.62); margin: 0; }

/* nawigacja */
.test-nawigacja {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--linen2);
}
.test-wstecz {
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sage);
}
.test-wstecz:hover { color: var(--earth); }
.test-licznik { font-size: 0.78rem; color: rgba(101,88,88,0.5); }

/* pole „coś innego" — pojawia się pod listą odpowiedzi po zaznaczeniu opcji */
.test-inne { margin-top: 14px; }

/* e-mail */
.test-teaser {
  background: var(--cream); border: 1px solid var(--linen2);
  padding: 20px 22px; font-size: 0.88rem; line-height: 1.7;
  color: rgba(101,88,88,0.72); margin-bottom: 26px;
}
.test-zgoda {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 0.8rem; line-height: 1.6; color: rgba(101,88,88,0.66);
  margin: 18px 0 4px; max-width: 58ch;
}
.test-zgoda input { margin-top: 4px; flex-shrink: 0; }
.test-blad { font-size: 0.8rem; color: #a35547; margin: 12px 0 0; }

/* wynik */
.test-wynik-lead { font-size: 0.95rem; line-height: 1.8; color: rgba(101,88,88,0.72); margin: 0 0 8px; }
/* Notka o mailu z podsumowaniem — samego tekstu strona nie pokazuje. */
.test-mail-notka {
  border-left: 2px solid var(--sand); padding: 4px 0 4px 22px; margin: 26px 0 36px;
  font-size: 0.92rem; line-height: 1.8; color: rgba(101,88,88,0.72);
}
.test-podsumowanie-czeka {
  display: flex; gap: 12px; align-items: center;
  font-size: 0.85rem; color: var(--sage); margin: 30px 0 40px;
}
.test-kregiel {
  width: 15px; height: 15px; border: 2px solid var(--linen2);
  border-top-color: var(--sage); border-radius: 50%;
  animation: test-obrot .8s linear infinite;
}
@keyframes test-obrot { to { transform: rotate(360deg); } }

.test-sekcja { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--linen2); }
.test-sekcja-tytul {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin: 0 0 6px;
}
.test-sekcja-opis { font-size: 0.84rem; color: rgba(101,88,88,0.6); margin: 0 0 20px; }
.test-zaznaczone {
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--sage); margin: 0 0 18px;
}

.test-produkt { padding: 18px 0; border-top: 1px solid var(--linen); }
.test-produkt:first-of-type { border-top: none; }
.test-produkt-gora { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; }
.test-produkt-nazwa { font-size: 0.95rem; font-weight: 500; line-height: 1.4; }
.test-produkt-cena {
  font-family: var(--serif); font-size: 1.15rem; color: var(--sand); white-space: nowrap;
}
.test-produkt-opis { font-size: 0.84rem; line-height: 1.7; color: rgba(101,88,88,0.62); margin: 7px 0 0; }
.test-produkt-dawka {
  font-size: 0.78rem; letter-spacing: 0.03em; color: var(--sage); margin: 8px 0 0;
}

.test-usluga {
  background: var(--cream); border-left: 2px solid var(--sage);
  padding: 16px 20px; margin-top: 20px; font-size: 0.88rem; line-height: 1.7;
}
.test-usluga strong { display: block; font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 6px; font-weight: 500; }

/* plan dnia */
.test-plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.test-plan-pora { background: var(--cream); padding: 22px 20px; }
.test-plan-naglowek {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 14px;
}
.test-plan-poz { font-size: 0.84rem; line-height: 1.5; margin-bottom: 12px; }
.test-plan-poz span { display: block; font-size: 0.76rem; color: rgba(101,88,88,0.55); }

/* kalkulator */
.test-kalk-pola { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.test-kalk-pole { flex: 1; min-width: 130px; }
.test-kalk-pole label {
  display: block; font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 7px;
}
.test-kalk-pole input {
  width: 100%; padding: 13px 14px; background: #fff;
  border: 1px solid var(--linen2); font-family: var(--sans); font-size: 0.92rem; color: var(--earth);
}
.test-kalk-pole input:focus { outline: none; border-color: var(--sand); }
.test-kalk-wynik { margin-top: 24px; }
.test-kalk-wiersz {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 14px 0; border-top: 1px solid var(--linen);
}
.test-kalk-etykieta { font-size: 0.84rem; color: rgba(101,88,88,0.62); max-width: 40ch; }
.test-kalk-wartosc {
  font-family: var(--serif); font-size: 1.5rem; color: var(--earth); white-space: nowrap;
}
.test-kalk-nota { font-size: 0.78rem; line-height: 1.7; color: rgba(101,88,88,0.55); margin-top: 18px; }

/* edukacja */
.test-edu { background: var(--cream); padding: 26px 28px; margin-top: 2px; }
.test-edu h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin: 0 0 10px; }
.test-edu p { font-size: 0.88rem; line-height: 1.8; color: rgba(101,88,88,0.7); margin: 0 0 12px; }
.test-edu-usluga { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--sage); }

.test-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.test-drobny {
  font-size: 0.76rem; line-height: 1.75; color: rgba(101,88,88,0.5); max-width: 68ch;
}

@media (max-width: 760px) {
  .test-strona { padding: 120px 22px 80px; }
  .test-panel { padding: 28px 22px; }
  .test-opcje.dwie, .test-sciezki { grid-template-columns: 1fr; }
  .test-plan { grid-template-columns: 1fr; gap: 8px; }
  .test-produkt-gora { flex-direction: column; gap: 4px; }
  .test-cta a { width: 100%; }
}
