/* ============================================================ HERO ============================================================ */
.p-hero {
  padding: 76px 0 56px;
  overflow: hidden;
  position: relative;
}
/* Dekoracyjne rozmyte plamy w tle — ten sam wzorzec co na kontakt.html,
   żeby góra strony nie była wizualnie zbyt sucha, bez przesady. */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}
.blob-a {
  width: 380px;
  height: 380px;
  background: var(--accent);
  top: -130px;
  right: 60px;
  animation: float1 11s ease-in-out infinite;
}
.blob-b {
  width: 260px;
  height: 260px;
  background: var(--status);
  bottom: -80px;
  left: -50px;
  opacity: 0.16;
  animation: float2 13s ease-in-out infinite;
}
@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-24px, 30px) scale(1.08);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -22px) scale(1.05);
  }
}

.p-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-bottom: 44px;
}
.p-hero-copy {
  position: relative;
  z-index: 1;
}
.p-hero h1 {
  font-size: clamp(36px, 5.6vw, 58px);
  margin-bottom: 20px;
  max-width: 760px;
}
.p-hero p.lead {
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 8px;
}
.p-hero .fine {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 0;
}
.p-hero .report-card {
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .p-hero-grid {
    grid-template-columns: 1fr;
  }
  .p-hero .report-card {
    max-width: 420px;
  }
}

/* --- pasek transparentności --- */
.transparency {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.t-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
}
.t-item .ico {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 14px;
}
.t-item h4 {
  font-size: 14px;
  margin-bottom: 6px;
}
.t-item p {
  font-size: 12.5px;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .transparency {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .transparency {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ PROJEKTY JEDNORAZOWE ============================================================ */
.onetime-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.onetime-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.onetime-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}
.onetime-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.onetime-ico svg {
  width: 20px;
  height: 20px;
}
.onetime-card h4 {
  font-size: 16.5px;
  margin-bottom: 10px;
}
.onetime-price {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}
.onetime-price span {
  font-size: 12.5px;
  color: var(--text-faint);
  font-weight: 400;
}
.onetime-note {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.onetime-feat {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
  flex: 1;
}
.onetime-feat li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  align-items: flex-start;
}
.onetime-feat li svg {
  flex: none;
  width: 13px;
  height: 13px;
  color: var(--status);
  margin-top: 3px;
}
@media (max-width: 980px) {
  .onetime-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .onetime-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ ABONAMENTY ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.price-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
}
@media (max-width: 900px) {
  .price-grid-3 {
    grid-template-columns: 1fr 1fr;
    max-width: 720px;
  }
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.rec {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-dim), var(--surface) 45%);
}
.price-card .badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.price-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.price-card .desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 36px;
}
.price-card .price {
  font-family: var(--font-mono);
  font-size: 36px;
  color: var(--text);
  margin-bottom: 2px;
}
.price-card .price span {
  font-size: 14px;
  color: var(--text-faint);
  font-weight: 400;
}
.price-card .period {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 26px;
}
.price-feat {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
@media (max-width: 720px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* --- tabela porównawcza --- */
.compare-wrap {
  margin-top: 56px;
  overflow-x: auto;
  /* -webkit-overflow-scrolling usunięte celowo — właściwość nieobsługiwana
     od dawna, przewijanie momentum jest domyślne w nowym Safari/iOS. */
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  /* 4 kolumny (cecha + 3 plany) — min-width zapewnia czytelność kolumn
     z cenami na wąskich ekranach, .compare-wrap daje poziomy scroll. */
  min-width: 640px;
}
@media (max-width: 640px) {
  .compare-table th,
  .compare-table td {
    padding: 14px 12px;
    font-size: 13.5px;
  }
  .compare-table thead th {
    font-size: 14px;
  }
}
.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th span {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 400;
  margin-top: 4px;
}
.compare-table thead th.rec-col {
  color: var(--accent);
}
.compare-table td.feat {
  font-size: 14px;
  color: var(--text-muted);
}
.compare-table td.center,
.compare-table th.center {
  text-align: center;
}
.compare-table .yes {
  color: var(--status);
}
.compare-table .no {
  color: var(--text-faint);
}
.compare-table tbody tr:hover {
  background: var(--surface);
}

/* ============================================================ FAQ ============================================================ */
/* ============================================================ CTA / KONTAKT ============================================================ */

.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.cta-copy h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin-bottom: 16px;
}
.cta-copy p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 26px;
  max-width: 440px;
}
.contact-alt {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.contact-alt a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.contact-alt a svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px; /* iOS Safari: <16px na inputach wywoluje auto-zoom przy fokusie */
}
@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

footer {
  padding: 56px 0 100px;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
}
