:root{
  --bg:#0b0d10;
  --text:#ffffff;
  --muted:#9aa3b2;
  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.14);
  --shadow: 0 18px 70px rgba(0,0,0,.55);
  --r2:24px;
  --accent:#b6ff00;
  --warnBorder: rgba(251,191,36,.45);
  --warnBg: rgba(251,191,36,.10);
  --warnText: #fde68a;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background: radial-gradient(1100px 700px at 20% 10%, rgba(255,255,255,.06), transparent 60%), var(--bg);
  min-height:100svh;
  overflow-x:hidden;
}

a{ color: rgba(255,255,255,.92); text-decoration: underline; text-underline-offset: 3px; }
a:hover{ opacity:.9; }

/* ✅ ważne: żeby treść nie weszła pod bottomNav */
.page{
  padding:18px;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}
@media (max-width: 700px){
  .page{ padding:0; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

.wrap{
  width:100%;
  max-width: 1120px;
  margin:0 auto;
}

/* HERO */
.hero{
  position:relative;
  border-radius: var(--r2);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.02);
  min-height: 260px;
}
@media (max-width: 700px){
  .hero{
    border-radius:0;
    border-left:0;
    border-right:0;
  }
}

.heroImg{
  position:absolute;
  inset:0;
  background: url("/img/kontakt-bg.jpg") center / cover no-repeat; /* PODMIENISZ */
  filter: saturate(1.05);
}
.heroImg::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 600px at 30% 20%, rgba(0,0,0,.25), rgba(0,0,0,.78));
}

.backLink{
  position:absolute;
  right:14px;
  top:14px;
  z-index:3;
  font-size:12px;
  color:rgba(255,255,255,.86);
  text-decoration:none;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.04);
}
.backLink:hover{ border-color: var(--line2); }

.heroInner{
  position:relative;
  z-index:2;
  padding:18px 18px 16px;
  text-align:center;
}

.mark{
  display:flex;
  justify-content:center;
  margin-top: 4px;
  margin-bottom: 12px;
}
.markDot{
  width:56px;height:56px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:1000;
  background: var(--accent);
  color:#000;
}

.title{
  font-size:26px;
  font-weight:900;
  letter-spacing:-0.02em;
}
.sub{
  margin-top:8px;
  color:rgba(154,163,178,.95);
  font-size:13px;
}

.metaRow{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top: 12px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(154,163,178,.95);
  font-size:12px;
  font-weight:800;
}
.chip strong{ color: rgba(255,255,255,.92); font-weight:900; }
.chipLink{ text-decoration:none; font-weight:900; }

/* CARD */
.card{
  margin-top:16px;
  border-radius: var(--r2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
  padding:16px;
}
@media (max-width: 700px){
  .card{
    border-radius:0;
    border-left:0;
    border-right:0;
    margin-top:0;
  }
}

.lead p{
  font-size:13px;
  color:rgba(154,163,178,.96);
  line-height:1.55;
  margin-top:10px;
}
.lead p:first-child{ margin-top:0; }

.quickLinks{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.qBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  text-decoration:none;
  font-weight:900;
  font-size:12px;
  color: rgba(255,255,255,.90);
}
.qBtn:hover{ border-color: var(--line2); }

.hr{
  height:1px;
  background: rgba(255,255,255,.10);
  margin:14px 0;
}

/* CONTACT GRID */
.contactGrid{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 860px){
  .contactGrid{ grid-template-columns:1fr; }
}

.panel{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  border-radius: 18px;
  padding:14px;
}
.panelHead{
  font-size:15px;
  font-weight:900;
  letter-spacing:-0.01em;
  margin-bottom:8px;
}
.panelText{
  font-size:14px;
  line-height:1.55;
  color: rgba(154,163,178,.96);
}

.btnGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight:900;
  text-decoration:none;
}
.btn:hover{ border-color: rgba(255,255,255,.25); }

.btn.primary{
  background: linear-gradient(135deg,#06b6d4,#7c3aed);
  border:0;
  color:#fff;
}

.note{
  margin-top:10px;
  font-size:12px;
  color: rgba(154,163,178,.96);
  line-height:1.35;
}

.list{
  margin-top:8px;
  padding-left:18px;
  color: rgba(154,163,178,.96);
  font-size:14px;
  line-height:1.55;
}
.list li{ margin:6px 0; }

.callout{
  margin-top:12px;
  padding:12px;
  border-radius: 16px;
  border:1px solid var(--warnBorder);
  background: var(--warnBg);
  color: var(--warnText);
  font-size:12px;
  line-height:1.35;
}

/* FAQ */
.faq{ margin-top:8px; }
.faqQ{
  font-weight:900;
  margin-top:10px;
  color: rgba(255,255,255,.92);
}
.faqA{
  margin-top:6px;
  color: rgba(154,163,178,.96);
  line-height:1.55;
  font-size:14px;
}

.footerMeta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 12px;
}

/* ===============================
   ✅ BOTTOM NAV (identyczny jak index)
================================ */
.tabs.bottomNav{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  z-index:60;

  width:min(460px, 100vw);

  display:flex;
  gap:8px;

  padding:10px;
  padding-bottom:calc(10px + env(safe-area-inset-bottom));

  background:linear-gradient(180deg, rgba(12,16,32,.40), rgba(12,16,32,.92));
  backdrop-filter:blur(14px);
  border-top:1px solid rgba(255,255,255,.10);
  box-shadow:0 -18px 60px rgba(0,0,0,.55);
}

@media (max-width:520px){
  .tabs.bottomNav{left:0;transform:none;width:100vw}
}

.tab{
  flex:1;
  text-decoration:none;
  color:rgba(167,176,198,.95);

  border-radius:18px;
  padding:10px 8px;

  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;

  font-size:12px;
}

.bIco{font-size:14px}
.bTxt{font-weight:900;font-size:11px}

.tab.active,
.tab[aria-current="page"]{
  color:#0b1020;
  border:none;
  background:linear-gradient(135deg,#06b6d4,#7c3aed);
  box-shadow:0 14px 35px rgba(0,0,0,.35);
}

/* desktop: chowamy dół */
@media (min-width:861px){
  .tabs.bottomNav{ display:none; }
  .page{ padding-bottom: 18px; }
}
/* =========================================================
   UNIVERSAL: czytelność tekstów na zdjęciu HERO
   (nie zmienia rozmiaru hero ani kadru)
========================================================= */

/* kapsuła pod całym rzędem elementów */
.metaRow{
  display:inline-flex !important;
  width:fit-content !important;
  max-width:calc(100% - 16px) !important;
  padding:10px 12px !important;
  border-radius:18px !important;

  background:rgba(0,0,0,.55) !important;
  border:1px solid rgba(255,255,255,.15) !important;
  box-shadow:0 14px 50px rgba(0,0,0,.45) !important;

  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}

/* wyłącz stare pseudo tła jeśli gdzieś istnieją */
.metaRow::before{ content:none !important; }

/* chipy (daty, czas czytania itd.) */
.chip{
  background:rgba(0,0,0,.70) !important;
  border-color:rgba(255,255,255,.22) !important;
  color:#fff !important;
  font-weight:900 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.75) !important;
}
.chip strong{ color:#fff !important; }

/* pasek youtube / info */
.ytPromo{
  background:rgba(0,0,0,.55) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 14px 50px rgba(0,0,0,.40) !important;

  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}

.ytPromo::before{ content:none !important; }
.ytTxt{ text-shadow:0 2px 12px rgba(0,0,0,.75) !important; }

/* tytuł i podtytuł – delikatny kontrast */
.title,
.sub{
  text-shadow:0 3px 22px rgba(0,0,0,.65);
}
