﻿:root {
  --bg: #f6f8fb;
  --bg-alt: #eef7f6;
  --surface: #ffffff;
  --surface-strong: #f8fafc;
  --text: #13202b;
  --muted: #607080;
  --primary: #0f766e;
  --primary-dark: #0b4f4a;
  --primary-light: #ccfbf1;
  --accent: #f59e0b;
  --accent-dark: #b45309;
  --border: #dbe5ea;
  --shadow: 0 18px 50px rgba(15, 35, 52, 0.12);
  --shadow-soft: 0 10px 28px rgba(15, 35, 52, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 34rem),
    linear-gradient(180deg, #f9fbfd 0%, var(--bg) 42%, #ffffff 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 229, 234, 0.8);
  box-shadow: 0 6px 24px rgba(15, 35, 52, 0.05);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

/* porządek elementów w navbar:
   brand(1) | primary-nav(2) push-right | nav-cta(3) | nav-toggle(4)
   Na mobile: brand(1) | nav-cta(3 — widoczny!) | nav-toggle(4) | primary-nav schowany */
.brand        { order: 1; }
.primary-nav  { order: 2; margin-left: auto; }  /* push menu do prawej na desktop */
.nav-cta      { order: 3; }
.nav-toggle   { order: 4; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.28);
}
.brand img {
  width: 53px;
  height: 36px;
  display: block;
  box-shadow: none !important;
  filter: none;
  object-fit: contain;
}

.brand span:empty {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto; /* pcha całe menu w prawo na desktopie */
}

.primary-nav > a,
.dropdown-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #243442;
  font-weight: 700;
  font-size: 0.94rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.primary-nav > a:hover,
.primary-nav > a.active,
.dropdown-toggle:hover,
.nav-dropdown.open .dropdown-toggle {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* nav-cta — identyczny styl jak .btn.btn-contrast z sekcji CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  background: var(--accent) !important;
  color: #000000 !important;
  box-shadow: none !important;
  text-align: center;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #fbbf24 !important;
  color: #000000 !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

/* Na mobile: nav-cta — pełna szerokość pod logo, NIE kółko */
@media (max-width: 920px) {
  .navbar {
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .brand        { order: 1; flex: 0 0 auto; }
  .nav-toggle   { order: 2; margin-left: auto; }
  .primary-nav  { order: 3; width: 100%; margin-left: 0; display: none; }
  .primary-nav.open { display: flex; flex-direction: column; width: 100%; }
  .nav-cta {
    order: 4;
    width: 100%;
    margin: 6px 0 2px;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center;
    font-size: 0.85rem !important;
    padding: 12px 16px !important;
    min-height: 44px !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: center;
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #10b981) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.32);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 650;
}

.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  min-height: 60vh;
}

.hero-section,
.page-hero,
.article-hero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(38px, 6vw, 78px);
}

/* page-hero na podstronach statycznych — ciemne tło, białe teksty */
.page-hero {
  background: linear-gradient(135deg, #0f766e 0%, #0b5a54 100%);
  color: #ffffff;
  padding: clamp(44px, 7vw, 88px) 0 clamp(32px, 5vw, 64px);
}

.page-hero h1 {
  color: #ffffff !important;
}

.page-hero > p,
.page-hero p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  position: relative;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-feature-cards {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(236, 254, 255, 0.82));
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-feature-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px 14px;
  align-items: start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 35, 52, 0.06);
}

.hero-feature-card.featured {
  border-color: rgba(245, 158, 11, 0.38);
  background: linear-gradient(135deg, #ffffff, #fffbeb);
  transform: none;
}

.hero-feature-card i {
  grid-row: span 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  border-radius: 16px;
  font-size: 1.15rem;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
}

.hero-feature-card.featured i {
  background: linear-gradient(135deg, var(--accent), #f97316);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.24);
}

.hero-feature-card h2 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.hero-feature-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.eyebrow,
.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-light);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: #0f1e2a;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.2rem, 6.5vw, 5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow),
.page-hero p,
.article-hero p {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

/* Białe teksty w hero sekcjach artykułów (.article-hero — stary format) */
.article-hero h1,
.article-hero p {
  color: #ffffff !important;
}

.hero-actions,
.cta-section .container,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.btn-contrast {
  background: var(--accent);
  color: #000000 !important;
  box-shadow: none;
}

.btn-contrast:hover {
  background: #fbbf24;
  color: #000000 !important;
  transform: translateY(-2px);
}

.calculator-section,
.knowledge-section,
.testimonials-section,
.faq-section,
.content-area,
.contact-section,
.trust-section,
.disclaimer {
  padding-block: clamp(44px, 7vw, 82px);
}

.calculator-section {
  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding-inline: clamp(20px, 4vw, 44px);
  padding-top: clamp(28px, 4vw, 50px);
  padding-bottom: clamp(28px, 4vw, 50px);
  margin-bottom: 20px;
}

.calculator-section > h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(15, 118, 110, 0.15);
}

.article-grid,
.testimonial-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.article-card,
.testimonial-grid article,
.trust-grid article,
.contact-aside,
.author-box,
.disclaimer,
.content-area,
.contact-form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.article-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.article-card i,
.trust-grid i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  border-radius: 16px;
  font-size: 1.2rem;
}

.article-card h3 a {
  color: var(--text);
}

.article-card p {
  flex: 1;
}

.read-more {
  margin-top: auto;
  font-weight: 850;
}

.testimonials-section {
  text-align: center;
}

.testimonial-grid article,
.trust-grid article {
  padding: 26px;
  text-align: left;
}

.testimonial-grid article p {
  color: #334155;
  font-size: 1.04rem;
}

.testimonial-grid strong {
  color: var(--text);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}

.testimonial-stars i {
  color: var(--accent);
  font-size: 1.05rem;
}

.cta-section {
  margin-block: clamp(42px, 7vw, 86px);
  padding: clamp(44px, 7vw, 78px) 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 79, 74, 0.96), rgba(15, 118, 110, 0.93)),
    radial-gradient(circle at right, rgba(245, 158, 11, 0.35), transparent 360px);
}

.cta-section h2,
.cta-section p {
  color: #ffffff;
}

.cta-section .container {
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.cta-section .btn {
  margin-inline: 4px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(15, 35, 52, 0.04);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-size: 1.2rem;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
}

.faq-item.active .faq-answer {
  display: block;
}

.breadcrumb {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  font-weight: 750;
}

.article-meta {
  color: var(--muted);
  font-weight: 650;
}

.content-area {
  padding: clamp(24px, 5vw, 48px);
  margin-bottom: 26px;
}

.content-area h2 {
  margin-top: 18px;
}

.content-area ul {
  padding-left: 22px;
  color: var(--muted);
}

.article-placeholder,
.pillar-placeholder {
  border: 1px dashed rgba(15, 118, 110, 0.3);
}

.contact-section {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.contact-form,
.contact-aside {
  padding: clamp(22px, 4vw, 36px);
}

.contact-form label {
  display: block;
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: #ffffff;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.author-box {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  margin-top: 18px;
}

.author-box img {
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.trust-grid article {
  display: grid;
  gap: 12px;
}

.disclaimer {
  padding: clamp(22px, 4vw, 36px);
  border-left: 6px solid var(--accent);
}

.site-footer {
  margin-top: 60px;
  padding: 56px 0 22px;
  color: #dbeafe;
  background: #0f1e2a;
}

.site-footer h2 {
  color: #ffffff;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.site-footer p,
.site-footer a {
  color: #b7c7d6;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.8fr 0.8fr;
  gap: 30px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.92rem;
}

#back-to-top {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 999;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  font-family: inherit;
}

#cookie-banner span {
  font-size: 14px;
  color: #333;
  margin-right: 15px;
}

#cookie-banner a {
  color: inherit;
  text-decoration: underline;
}

#cookie-banner button {
  background: #333;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px 32px;
    background: rgba(255, 255, 255, 0.98);
    overflow-y: auto;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav > a,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
    background: var(--surface-strong);
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: grid;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-feature-cards {
    grid-template-columns: 1fr;
  }

  .hero-feature-card.featured {
    transform: none;
  }

  .article-grid,
  .testimonial-grid,
  .trust-grid,
  .footer-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .brand strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-section,
  .page-hero,
  .article-hero {
    padding-top: 42px;
  }

  .hero-feature-cards {
    padding: 12px;
    border-radius: 22px;
  }

  .hero-feature-card {
    grid-template-columns: 44px 1fr;
    padding: 15px;
  }

  .hero-feature-card i {
    width: 44px;
    height: 44px;
  }

  .article-card {
    min-height: auto;
  }

  .author-box {
    grid-template-columns: 1fr;
  }

  #cookie-banner span {
    display: block;
    margin: 0 0 12px;
  }
}

/* ================================================================
   PILLAR CONTENT — Artykuł merytoryczny wbudowany w stronę główną
   ================================================================ */

.pillar-content {
  margin: 56px auto 0;
  padding: 0 0 64px;
}

/* ── NAGŁÓWEK SEKCJI ─────────────────────────────── */
.pillar-header {
  text-align: center;
  padding: 52px 24px 44px;
  background: linear-gradient(160deg, #f0fdf9 0%, #ffffff 60%);
  border: 2px solid #d1fae5;
  border-radius: 22px;
  margin-bottom: 32px;
}

.pillar-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pillar-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.pillar-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 22px;
  line-height: 1.7;
}

.pillar-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}

.pillar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pillar-meta i {
  color: var(--primary);
}

/* ── KEY FACTS STRIP ─────────────────────────────── */
.pillar-key-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .pillar-key-facts { grid-template-columns: repeat(4, 1fr); }
}

.pillar-key-fact {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(15, 35, 52, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar-key-fact:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.12);
}

.pkf-num {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pkf-lbl {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 500;
}

/* ── TREŚĆ ARTYKUŁU ──────────────────────────────── */
.pillar-body {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #1e293b;
}

.pillar-body section {
  margin-bottom: 2.5rem;
}

.pillar-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #e2e8f0;
  scroll-margin-top: 90px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-body h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.pillar-body p {
  margin: 0 0 1rem;
  color: #334155;
}

.pillar-body ul,
.pillar-body ol {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
  color: #334155;
}

.pillar-body li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.pillar-body strong {
  color: #0f172a;
  font-weight: 700;
}

.pillar-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pillar-body a:hover {
  color: var(--primary-dark);
}

/* ── TABELA ──────────────────────────────────────── */
.pillar-body .art-table-wrap { margin: 1.4rem 0 0.4rem; }

.pillar-td-green {
  color: #166534 !important;
  background: #f0fdf4 !important;
}

/* ── INLINE CTA ──────────────────────────────────── */
.pillar-cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f0fdf9, #ecfdf5);
  border: 2px solid #6ee7b7;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(15, 118, 110, 0.10);
}

.pillar-cta-inline-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.pillar-cta-inline-text strong {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.pillar-cta-inline-text span {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.5;
}

.pillar-cta-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #111827 !important;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.30);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: -0.01em;
}

.pillar-cta-inline-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.40);
  color: #111827 !important;
}

.pillar-cta-inline-btn:active {
  transform: scale(0.97);
}

@media (max-width: 600px) {
  .pillar-cta-inline {
    flex-direction: column;
    align-items: flex-start;
  }
  .pillar-cta-inline-btn {
    width: 100%;
    justify-content: center;
  }
}
