/*
Theme Name: Przetestujmy Cyber
Theme URI: https://przetestujmy.pl/
Description: Rebranding Przetestujmy.pl na praktyczne szkolenia i doradztwo z cyberbezpieczeństwa. Child theme Twenty Twenty-Five.
Author: MRC Mariusz Rowiński
Template: twentytwentyfive
Version: 1.3.4
Text Domain: przetestujmy-cyber
*/

:root {
  --pt-bg: #07151a;
  --pt-bg-2: #0b1d23;
  --pt-surface: #10262d;
  --pt-surface-2: #15323a;
  --pt-card: #ffffff;
  --pt-ink: #102126;
  --pt-muted: #5a6d72;
  --pt-line: #dce9e6;
  --pt-soft: #eef8f5;
  --pt-white: #ffffff;
  --pt-accent: #24c98c;
  --pt-accent-2: #1aa7a1;
  --pt-accent-dark: #0c7f68;
  --pt-warning: #ffce6b;
  --pt-radius: 22px;
  --pt-radius-sm: 14px;
  --pt-shadow: 0 18px 60px rgba(6, 28, 33, 0.14);
  --pt-max: 1180px;
  --pt-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pt-ink);
  background: #f7fbfa;
  font-family: var(--pt-font);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* WordPress block themes add a root block-gap between template parts.
   Our header/main/footer already control their own spacing, so remove only
   the top-level gap to avoid a light strip between the sticky header and hero. */
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > main {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.wp-site-blocks > .wp-block-template-part + main,
.wp-site-blocks > main + .wp-block-template-part {
  margin-block-start: 0 !important;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.pt-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  background: var(--pt-white);
  color: var(--pt-ink);
  padding: 10px 14px;
  border-radius: 8px;
}
.pt-skip-link:focus { transform: translateY(0); }

.pt-shell { width: min(calc(100% - 40px), var(--pt-max)); margin-inline: auto; }
.pt-section { padding: 88px 0; }
.pt-section--tight { padding: 64px 0; }
.pt-section--dark { background: var(--pt-bg); color: var(--pt-white); }
.pt-section--soft { background: var(--pt-soft); }
.pt-section--white { background: var(--pt-white); }
.pt-grid { display: grid; gap: 24px; }
.pt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pt-eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--pt-accent-dark);
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pt-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--pt-accent);
  box-shadow: 0 0 0 5px rgba(36,201,140,.13);
}
.pt-section--dark .pt-eyebrow { color: #87eed0; }

.pt-kicker { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--pt-muted); max-width: 760px; }
.pt-section--dark .pt-kicker { color: #b8ccca; }

h1, h2, h3, h4 { margin: 0 0 18px; line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); }
p { margin: 0 0 18px; }

.pt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(7,21,26,.93);
  backdrop-filter: blur(14px);
  color: var(--pt-white);
}
.pt-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pt-brand { display: inline-flex; align-items: baseline; gap: 1px; text-decoration: none; font-weight: 900; letter-spacing: -.045em; font-size: 1.32rem; }
.pt-brand span { color: var(--pt-accent); }
.pt-brand__tag { display: block; margin-left: 10px; color: #9cb8b5; font-size: .72rem; letter-spacing: .015em; font-weight: 600; }
.pt-brand-wrap { display: flex; align-items: center; min-width: max-content; }
.pt-nav { display: flex; align-items: center; gap: 22px; }
.pt-nav a { color: #d9e8e6; text-decoration: none; font-weight: 700; font-size: .94rem; }
.pt-nav a:hover, .pt-nav a:focus-visible { color: var(--pt-white); }
.pt-nav .pt-btn { color: #062118; }
.pt-menu-toggle { display: none; appearance: none; border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--pt-white); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.pt-menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; }

.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pt-btn:hover { transform: translateY(-1px); }
.pt-btn:focus-visible, .pt-nav a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible {
  outline: 3px solid var(--pt-warning);
  outline-offset: 3px;
}
.pt-btn--primary { background: var(--pt-accent); color: #062118; box-shadow: 0 10px 28px rgba(36,201,140,.2); }
.pt-btn--primary:hover { background: #43daa4; }
.pt-btn--secondary { border-color: rgba(255,255,255,.26); color: var(--pt-white); background: transparent; }
.pt-btn--dark { background: var(--pt-bg); color: var(--pt-white); }
.pt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.pt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(36,201,140,.14), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(26,167,161,.12), transparent 32%),
    var(--pt-bg);
  color: var(--pt-white);
  padding: 86px 0 92px;
}
.pt-hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 58px; align-items: center; }
.pt-hero h1 em { color: var(--pt-accent); font-style: normal; }
.pt-hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: #c2d3d1; max-width: 720px; }
.pt-proofline { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: #aec4c0; font-size: .92rem; }
.pt-proofline span::before { content: "✓"; color: var(--pt-accent); margin-right: 7px; font-weight: 900; }

.pt-demo {
  position: relative;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(180deg, rgba(18,46,53,.94), rgba(10,29,35,.96));
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.pt-demo__top { display: flex; align-items: center; gap: 7px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.pt-demo__dot { width: 9px; height: 9px; border-radius: 50%; background: #6f8a87; }
.pt-demo__body { padding-top: 22px; }
.pt-demo__label { color: #85efcf; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.pt-demo__message { margin-top: 12px; background: #f8fbfa; color: #192e33; padding: 17px 18px; border-radius: 14px; font-size: .96rem; box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.pt-demo__message strong { display: block; margin-bottom: 4px; }
.pt-demo__response { margin: 16px 0 0 26px; padding: 15px 17px; border-left: 3px solid var(--pt-accent); background: rgba(36,201,140,.08); border-radius: 0 12px 12px 0; color: #d8eeea; }
.pt-demo__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18px; }
.pt-demo__steps span { padding: 9px 10px; text-align: center; border-radius: 10px; background: rgba(255,255,255,.06); color: #c5d9d5; font-size: .78rem; font-weight: 750; }

.pt-trustbar { border-bottom: 1px solid var(--pt-line); background: var(--pt-white); }
.pt-trustbar__inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 20px 0; }
.pt-trustbar__item { font-size: .9rem; font-weight: 800; color: #2e474b; }
.pt-trustbar__item small { display: block; color: var(--pt-muted); font-weight: 600; margin-top: 2px; }

.pt-card {
  background: var(--pt-white);
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius);
  padding: 28px;
  box-shadow: 0 6px 28px rgba(17,49,55,.05);
}
.pt-card--dark { background: var(--pt-surface); border-color: rgba(255,255,255,.09); color: var(--pt-white); }
.pt-card__num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(36,201,140,.13); color: var(--pt-accent-dark); font-weight: 900; margin-bottom: 20px; }
.pt-card--dark .pt-card__num { color: #83edcb; background: rgba(36,201,140,.1); }
.pt-card p:last-child { margin-bottom: 0; }
.pt-card a.pt-link { display: inline-flex; margin-top: 12px; color: var(--pt-accent-dark); font-weight: 850; text-decoration: none; }
.pt-card a.pt-link::after { content: " →"; }

.pt-audience { position: relative; overflow: hidden; }
.pt-audience__tag { display: inline-block; margin-bottom: 14px; padding: 7px 10px; border-radius: 999px; color: #0b6f5e; background: #e4f8f1; font-size: .78rem; font-weight: 850; }

.pt-feature-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.pt-feature-list li { position: relative; padding-left: 28px; }
.pt-feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--pt-accent-dark); font-weight: 950; }
.pt-section--dark .pt-feature-list li::before { color: var(--pt-accent); }

.pt-process { counter-reset: step; }
.pt-process .pt-card { position: relative; }
.pt-process .pt-card::after { counter-increment: step; content: "0" counter(step); position: absolute; right: 22px; top: 16px; color: #dbe9e6; font-size: 2.2rem; font-weight: 950; letter-spacing: -.07em; }

.pt-callout {
  border-radius: 28px;
  padding: 38px;
  background: linear-gradient(135deg, #0b2026, #12363d);
  color: var(--pt-white);
  box-shadow: var(--pt-shadow);
}
.pt-callout--green { background: linear-gradient(135deg, #0d765c, #0c6667); }
.pt-callout--green .pt-kicker { color: #e6fff7; }

.pt-page-hero { background: var(--pt-bg); color: var(--pt-white); padding: 72px 0 76px; }
.pt-page-hero h1 { max-width: 920px; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.pt-page-hero .pt-kicker { max-width: 820px; }

.pt-stat { padding: 22px 0; border-top: 1px solid var(--pt-line); }
.pt-stat strong { display: block; font-size: 1.25rem; margin-bottom: 4px; }
.pt-stat span { color: var(--pt-muted); }

.pt-quote { padding: 26px 28px; border-left: 4px solid var(--pt-accent); background: #f5fbf9; border-radius: 0 var(--pt-radius-sm) var(--pt-radius-sm) 0; font-size: 1.08rem; }
.pt-note { padding: 18px 20px; border-radius: var(--pt-radius-sm); background: #fff8e7; border: 1px solid #f2dfb7; color: #4c4025; }
.pt-note strong { color: #2d2719; }

.pt-faq { display: grid; gap: 12px; }
.pt-faq details { background: var(--pt-white); border: 1px solid var(--pt-line); border-radius: 14px; padding: 18px 20px; }
.pt-faq summary { cursor: pointer; font-weight: 850; }
.pt-faq details p { margin: 12px 0 0; color: var(--pt-muted); }

.pt-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 42px; align-items: start; }
.pt-form { background: var(--pt-white); border: 1px solid var(--pt-line); border-radius: var(--pt-radius); padding: 28px; box-shadow: var(--pt-shadow); }
.pt-field { margin-bottom: 18px; }
.pt-field label { display: block; margin-bottom: 7px; font-weight: 800; }
.pt-field input:not([type="checkbox"]):not([type="radio"]), .pt-field textarea, .pt-field select { width: 100%; padding: 12px 13px; border: 1px solid #c7d8d5; border-radius: 10px; background: #fff; color: var(--pt-ink); }
.pt-field textarea { min-height: 150px; resize: vertical; }
.pt-field small { display: block; margin-top: 6px; color: var(--pt-muted); }
.pt-field label.pt-check {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--pt-muted);
  cursor: pointer;
}
.pt-check input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 18px;
  border: 0;
  border-radius: 4px;
  accent-color: var(--pt-accent-dark);
  cursor: pointer;
}
.pt-check span { flex: 1 1 auto; min-width: 0; }
.pt-check a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.pt-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.pt-form-status { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; font-weight: 750; }
.pt-form-status--ok { background: #e7f8f1; color: #0a6d52; }
.pt-form-status--error { background: #fff0ed; color: #8a2f22; }

.pt-footer { background: #041014; color: #c0d2cf; padding: 58px 0 26px; }
.pt-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 38px; }
.pt-footer h2 { color: var(--pt-white); font-size: 1.04rem; letter-spacing: -.02em; }
.pt-footer a { color: #d6e6e3; text-decoration: none; }
.pt-footer a:hover { color: var(--pt-white); }
.pt-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pt-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #829f9a; font-size: .86rem; }

.pt-post-list { display: grid; gap: 18px; }
.pt-post-card { display: block; padding: 24px; border-radius: 18px; border: 1px solid var(--pt-line); background: var(--pt-white); text-decoration: none; }
.pt-post-card:hover { box-shadow: 0 10px 30px rgba(17,49,55,.08); }
.pt-post-card time { color: var(--pt-muted); font-size: .86rem; }

@media (max-width: 980px) {
  .pt-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pt-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pt-hero__grid, .pt-contact-grid { grid-template-columns: 1fr; }
  .pt-demo { max-width: 660px; }
  .pt-brand__tag { display: none; }
  .pt-menu-toggle { display: block; }
  .pt-nav { position: absolute; inset: 76px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 22px; background: #07151a; border-bottom: 1px solid rgba(255,255,255,.12); }
  .pt-nav.is-open { display: flex; }
  .pt-nav a { padding: 12px 0; }
  .pt-nav .pt-btn { margin-top: 8px; }
  .pt-trustbar__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .pt-shell { width: min(calc(100% - 28px), var(--pt-max)); }
  .pt-section { padding: 64px 0; }
  .pt-section--tight { padding: 48px 0; }
  .pt-hero { padding: 58px 0 62px; }
  .pt-hero__grid { gap: 38px; }
  .pt-page-hero { padding: 54px 0 58px; }
  .pt-grid--2, .pt-grid--3, .pt-grid--4 { grid-template-columns: 1fr; }
  .pt-trustbar__inner { grid-template-columns: 1fr; gap: 12px; }
  .pt-demo__steps { grid-template-columns: 1fr; }
  .pt-card, .pt-callout, .pt-form { padding: 22px; }
  .pt-footer__grid { grid-template-columns: 1fr; }
  .pt-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* Knowledge base / article presentation — v1.2.0 */
.pt-blog-card {
  height: 100%;
}
.pt-blog-card .wp-block-post-date {
  color: var(--pt-muted);
  font-size: .82rem;
  margin-bottom: 10px;
}
.pt-blog-card .wp-block-post-title {
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.18;
}
.pt-blog-card .wp-block-post-title a {
  color: var(--pt-ink);
  text-decoration: none;
}
.pt-blog-card .wp-block-post-title a:hover,
.pt-blog-card .wp-block-post-title a:focus-visible {
  color: var(--pt-accent-dark);
}
.pt-blog-card .wp-block-post-excerpt__excerpt {
  color: var(--pt-muted);
}
.pt-blog-card .wp-block-post-excerpt__more-link {
  color: var(--pt-accent-dark);
  font-weight: 850;
  text-decoration: none;
}

.pt-article {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 24px;
}
.pt-article > .wp-block-post-date {
  margin: 0 0 12px;
  color: var(--pt-muted);
  font-size: .9rem;
}
.pt-article > .wp-block-post-title {
  max-width: 860px;
  margin-bottom: 30px;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}
.pt-article__eyebrow {
  margin-bottom: 12px;
}
.pt-article__eyebrow a {
  color: var(--pt-accent-dark);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}
.pt-article .wp-block-post-content {
  max-width: 780px;
  margin-inline: 0;
  font-size: 1.06rem;
  line-height: 1.78;
}
.pt-article .wp-block-post-content > * {
  max-width: 780px;
}
.pt-article .wp-block-post-content h2 {
  margin-top: 2.15em;
  margin-bottom: .65em;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}
.pt-article .wp-block-post-content h3 {
  margin-top: 1.8em;
}
.pt-article .wp-block-post-content p,
.pt-article .wp-block-post-content li {
  color: #263b40;
}
.pt-article .wp-block-post-content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--pt-accent);
  background: var(--pt-soft);
  border-radius: 0 12px 12px 0;
}
.pt-article .wp-block-post-content blockquote p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 750;
}
.pt-article-lead {
  color: #233a3f !important;
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  line-height: 1.65;
}
.pt-article-cta {
  margin-top: 46px;
  padding: 30px;
  border-radius: 20px;
  background: #0d252b;
  color: var(--pt-white);
}
.pt-article-cta strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.28rem;
}
.pt-article-cta p {
  color: #c7dad6 !important;
}
.pt-article-cta .pt-actions {
  margin-top: 18px;
}
.pt-article__back {
  max-width: 780px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--pt-line);
}
.pt-article__back a {
  color: var(--pt-accent-dark);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 640px) {
  .pt-article {
    padding-inline: 18px;
  }
  .pt-article .wp-block-post-content {
    font-size: 1rem;
  }
  .pt-article-cta {
    padding: 24px;
  }
}

/* Founder and article author presentation — v1.3.0 */
.pt-founder .pt-actions { margin-top: 22px; }
.pt-founder p:last-of-type { margin-bottom: 0; }

.pt-author-box {
  max-width: 760px;
  margin: 42px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--pt-line);
  border-left: 3px solid var(--pt-accent);
  border-radius: 12px;
  background: #f7fbfa;
  color: var(--pt-muted);
  font-size: .94rem;
  line-height: 1.58;
}
.pt-author-box > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--pt-ink);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pt-author-box p { margin: 0; }
.pt-author-box p strong { color: var(--pt-ink); }
.pt-author-box a {
  color: var(--pt-accent-dark);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
