/* ==========================================================================
   PACHUCKI Design System — Księga Znaku + WCAG 2.1 AA + RODO/PKE
   Paleta: #00213B (Blue 3), #00355E (Blue 2), #558CB6 (Blue 1), #F7FCFE (Paper), #0E1F22 (Noir)
   ========================================================================== */
:root {
  --brand-blue3: #00213B;
  --brand-blue2: #00355E;
  --brand-blue1: #558CB6;
  --brand-paper: #F7FCFE;
  --brand-noir: #0E1F22;
  --text-dark: #0E1F22;
  --text-dark-muted: #1B3348;
  --text-light: #F7FCFE;
  --text-light-muted: #D6E8F6;
  --surface-white: #FFFFFF;
  --surface-tint: #ECF5FA;
  --border-light: rgba(0, 53, 94, 0.18);
  --border-dark: rgba(85, 140, 182, 0.35);
  --focus-ring: #558CB6;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
html.a11y-font-lg { font-size: 112.5%; }

body {
  margin: 0;
  font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
  background-color: var(--brand-paper);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-head {
  font-family: 'Archivo', 'Archivo Fallback', system-ui, sans-serif;
  font-stretch: 110%;
  margin-top: 0;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* High contrast mode (WCAG 2.1 AA+) */
html.a11y-contrast body {
  background: #000000 !important;
  color: #FFFFFF !important;
}
html.a11y-contrast section,
html.a11y-contrast header,
html.a11y-contrast footer,
html.a11y-contrast .card-box,
html.a11y-contrast .hero-spec-card,
html.a11y-contrast .legal-box,
html.a11y-contrast .faq-item,
html.a11y-contrast .scope-bar,
html.a11y-contrast .metrics-bar {
  background: #000000 !important;
  color: #FFFFFF !important;
  border-color: #FFE600 !important;
}
html.a11y-contrast p,
html.a11y-contrast li,
html.a11y-contrast td,
html.a11y-contrast th,
html.a11y-contrast span,
html.a11y-contrast h1,
html.a11y-contrast h2,
html.a11y-contrast h3,
html.a11y-contrast h4 {
  color: #FFFFFF !important;
}
html.a11y-contrast a,
html.a11y-contrast .eyebrow,
html.a11y-contrast .btn-primary,
html.a11y-contrast .btn-outline {
  color: #FFE600 !important;
  border-color: #FFE600 !important;
}
html.a11y-contrast .btn-primary {
  background: #000000 !important;
  border: 2px solid #FFE600 !important;
}

/* Skip to main content */
.skip-to-main {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: #00213B;
  color: #F7FCFE;
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  border: 2px solid #558CB6;
}
.skip-to-main:focus {
  left: 1rem;
  top: 1rem;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #558CB6, #F7FCFE);
  z-index: 120;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Demarcation & WCAG Bar */
.scope-bar {
  background: #0E1F22;
  color: #F7FCFE;
  border-bottom: 1px solid rgba(85, 140, 182, 0.35);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.scope-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  padding: 0.6rem 0;
}
.scope-bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.scope-pill {
  display: inline-block;
  background: #00355E;
  color: #F7FCFE;
  border: 1px solid #558CB6;
  padding: 0.15rem 0.55rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scope-bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.judicial-switch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(85, 140, 182, 0.16);
  color: #F7FCFE;
  border: 1px solid #558CB6;
  padding: 0.25rem 0.7rem;
  font-weight: 600;
  font-size: 0.75rem;
  transition: background 0.2s ease;
}
.judicial-switch-link:hover {
  background: #00355E;
}
.a11y-btn {
  background: transparent;
  color: #F7FCFE;
  border: 1px solid rgba(247, 252, 254, 0.4);
  padding: 0.22rem 0.55rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.a11y-btn[aria-pressed="true"] {
  background: #F7FCFE;
  color: #00213B;
  border-color: #F7FCFE;
}

/* Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(0, 33, 59, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(85, 140, 182, 0.28);
  color: #F7FCFE;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}
.brand-wordmark {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  color: #F7FCFE;
  line-height: 1.05;
  text-transform: uppercase;
}
.brand-sub {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #D6E8F6;
  margin-top: 0.22rem;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.4rem;
}
.nav-desktop a.nav-item {
  font-family: 'Archivo', sans-serif;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #F7FCFE;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.nav-desktop a.nav-item:hover {
  border-bottom-color: #558CB6;
}
.nav-cta {
  background: #F7FCFE;
  color: #00213B;
  padding: 0.6rem 1.05rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #F7FCFE;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover {
  background: #00355E;
  color: #F7FCFE;
}
.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #F7FCFE;
  border: 1px solid rgba(247, 252, 254, 0.35);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}
.mobile-drawer {
  display: none;
  background: #00213B;
  border-top: 1px solid rgba(85, 140, 182, 0.3);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-drawer[data-open="true"] {
  display: block;
}
.mobile-drawer a {
  display: block;
  padding: 0.7rem 0;
  color: #F7FCFE;
  font-family: 'Archivo', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(85, 140, 182, 0.18);
}

@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .mobile-toggle { display: none; }
  .mobile-drawer { display: none !important; }
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #00213B 0%, #00355E 65%, #00213B 100%);
  color: #F7FCFE;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(85, 140, 182, 0.35);
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: grayscale(40%) contrast(1.08);
  pointer-events: none;
}
.hero-kv-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(85, 140, 182, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(85, 140, 182, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero { padding: 5.5rem 0 6rem; }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 3.5rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CFE4F5;
  margin-bottom: 1rem;
}
.eyebrow-light-bg {
  color: #00355E;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  background: #558CB6;
}

.hero h1 {
  font-size: clamp(1.75rem, 2.95vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #F7FCFE;
  margin-bottom: 1.25rem;
}
.hero h1 .accent {
  display: block;
  color: #B8DAEE;
  margin-top: 0.2rem;
}
.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-light-muted);
  max-width: 42rem;
  margin: 0 0 2rem;
  text-align: justify;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #F7FCFE;
  color: #00213B;
  padding: 0.95rem 1.65rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 2px solid #F7FCFE;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary:hover {
  background: #00355E;
  color: #F7FCFE;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(0, 33, 59, 0.55);
  color: #F7FCFE;
  padding: 0.95rem 1.65rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid #558CB6;
  transition: background 0.2s ease;
}
.btn-outline:hover {
  background: rgba(85, 140, 182, 0.22);
}

.hero-spec-card {
  background: rgba(14, 31, 34, 0.82);
  border: 1px solid rgba(85, 140, 182, 0.5);
  padding: 2rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}
.hero-spec-badge {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #CFE4F5;
  border-bottom: 1px solid rgba(85, 140, 182, 0.45);
  padding-bottom: 0.45rem;
  margin-bottom: 0.9rem;
}
.hero-spec-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #F7FCFE;
  margin-bottom: 1.15rem;
}
.spec-kv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spec-kv-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(247, 252, 254, 0.12);
  font-size: 0.875rem;
}
.spec-kv-label { color: #D6E8F6; }
.spec-kv-val {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: #F7FCFE;
  text-align: right;
}
.hero-spec-foot {
  margin: 1.1rem 0 0;
  font-size: 0.8125rem;
  color: #D6E8F6;
}

/* Metrics Bar */
.metrics-bar {
  background: #00355E;
  color: #F7FCFE;
  border-bottom: 1px solid rgba(85, 140, 182, 0.35);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0;
}
@media (min-width: 820px) {
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
.metric-cell {
  border-left: 3px solid #558CB6;
  padding-left: 1rem;
}
.metric-fig {
  font-family: 'Archivo', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #F7FCFE;
  letter-spacing: 0.03em;
}
.metric-cap {
  font-size: 0.8125rem;
  color: #D6E8F6;
  margin-top: 0.2rem;
}

/* Sections */
.section {
  padding: 4.75rem 0;
}
.section-white { background: var(--surface-white); }
.section-paper { background: var(--brand-paper); }
.section-tint { background: var(--surface-tint); }
.section-navy {
  background: var(--brand-blue3);
  color: #F7FCFE;
}
.section-noir {
  background: var(--brand-noir);
  color: #F7FCFE;
}

.section-head {
  max-width: 52rem;
  margin-bottom: 2.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--brand-blue3);
  margin-bottom: 0.9rem;
}
.section-navy .section-title,
.section-noir .section-title {
  color: #F7FCFE;
}
.section-intro {
  font-size: 1.025rem;
  color: var(--text-dark-muted);
  margin: 0;
  text-align: justify;
}
.section-navy .section-intro,
.section-noir .section-intro {
  color: var(--text-light-muted);
}

/* Cards Grid */
.cards-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 860px) {
  .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--brand-blue2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card-box:hover {
  border-top-color: var(--brand-blue1);
  box-shadow: 0 16px 36px rgba(0, 33, 59, 0.08);
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.card-code {
  font-family: 'Archivo', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  color: #00213B;
  background: #ECF5FA;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(0, 53, 94, 0.2);
}
.card-tag {
  font-family: 'Archivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00355E;
}
.card-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00213B;
  margin-bottom: 0.8rem;
  line-height: 1.25;
}
.card-desc {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  margin: 0 0 1.15rem;
  text-align: justify;
}
.card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  border-top: 1px solid rgba(0, 53, 94, 0.12);
  padding-top: 0.95rem;
}
.card-bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
  font-size: 0.8875rem;
  color: var(--text-dark);
}
.card-bullets li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: #00355E;
  font-weight: 700;
}
.card-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00213B;
  border-bottom: 2px solid #558CB6;
  padding-bottom: 0.2rem;
  align-self: flex-start;
}
.card-more-link:hover { color: #00355E; }

/* Methodology + Diagram */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 900px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}
.step-card {
  background: rgba(0, 53, 94, 0.55);
  border: 1px solid rgba(85, 140, 182, 0.4);
  padding: 1.65rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #F7FCFE;
  color: #00213B;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #F7FCFE;
  margin-bottom: 0.65rem;
}
.step-card p {
  font-size: 0.9rem;
  color: #D6E8F6;
  margin: 0;
  text-align: justify;
}
.diagram-frame {
  background: #00182B;
  border: 1px solid rgba(85, 140, 182, 0.45);
  padding: 1rem;
}
.diagram-caption {
  font-size: 0.825rem;
  color: #D6E8F6;
  margin: 0.75rem 0 0;
  text-align: center;
}

/* Technical Table */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
@media (max-width: 720px) {
  .spec-table thead {
    display: none;
  }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table td {
    display: block;
    width: 100%;
  }
  .spec-table tr {
    border-bottom: 2px solid rgba(0, 53, 94, 0.22);
    padding: 0.5rem 0;
  }
  .spec-table td {
    padding: 0.5rem 1rem !important;
    border-bottom: 1px dashed rgba(0, 53, 94, 0.1) !important;
  }
}
.spec-table th {
  background: #00213B;
  color: #F7FCFE;
  font-family: 'Archivo', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 2px solid #558CB6;
}
.spec-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(0, 53, 94, 0.14);
  font-size: 0.92rem;
  color: var(--text-dark);
  vertical-align: top;
}
.spec-table tbody tr:nth-child(even) td {
  background: #F7FCFE;
}
.spec-table td:first-child {
  font-weight: 700;
  color: #00213B;
}

/* Editorial Deep Dive */
.editorial-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .editorial-layout { grid-template-columns: 7fr 5fr; gap: 3rem; }
}
.editorial-prose p {
  font-size: 1rem;
  line-height: 1.76;
  color: var(--text-dark);
  margin: 0 0 1.25rem;
  text-align: justify;
}
.callout-panel {
  background: #00213B;
  color: #F7FCFE;
  padding: 2rem;
  border-left: 4px solid #558CB6;
}
.callout-panel h3 {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #F7FCFE;
  margin-bottom: 1rem;
}
.callout-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.callout-panel li {
  padding: 0.55rem 0 0.55rem 1.35rem;
  position: relative;
  border-bottom: 1px solid rgba(247, 252, 254, 0.12);
  font-size: 0.9rem;
  color: #D6E8F6;
}
.callout-panel li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #558CB6;
  font-weight: 700;
}
.editorial-photo-box {
  margin-top: 1.5rem;
  border: 1px solid var(--border-light);
  background: #00213B;
  overflow: hidden;
}
.editorial-photo-box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: contrast(1.04);
}

/* Brand DNA + Qualifications */
.dna-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
@media (min-width: 860px) {
  .dna-strip { grid-template-columns: repeat(3, 1fr); }
}
.dna-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 4px solid #00213B;
  padding: 1.5rem;
}
.dna-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00213B;
  margin-bottom: 0.4rem;
}
.dna-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  text-align: justify;
}
.cred-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 860px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
}
.cred-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 1.35rem 1.5rem;
}
.cred-item h4 {
  font-size: 1rem;
  color: #00213B;
  margin-bottom: 0.35rem;
}
.cred-item p {
  margin: 0;
  font-size: 0.8875rem;
  color: var(--text-dark-muted);
}

/* Cluster Links */
.cluster-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 860px) {
  .cluster-grid { grid-template-columns: repeat(3, 1fr); }
}
.cluster-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cluster-card:hover {
  border-color: #00355E;
  transform: translateY(-2px);
}
.cluster-dom {
  font-family: 'Archivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00355E;
  margin-bottom: 0.4rem;
}
.cluster-card h3 {
  font-size: 1.05rem;
  color: #00213B;
  margin-bottom: 0.45rem;
}
.cluster-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-dark-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 58rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}
.faq-btn {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Archivo', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #00213B;
  cursor: pointer;
}
.faq-icon {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #00355E;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-panel {
  padding: 0 1.5rem 1.35rem;
  border-top: 1px solid rgba(0, 53, 94, 0.1);
}
.faq-panel p {
  margin: 0.95rem 0 0;
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  text-align: justify;
}

/* Contact & RODO Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 6fr 6fr; gap: 3rem; }
}
.email-display-box {
  display: inline-block;
  margin: 1.25rem 0 1.75rem;
  padding: 1.15rem 1.65rem;
  background: #00213B;
  border: 2px solid #558CB6;
}
.email-display-label {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #CFE4F5;
  margin-bottom: 0.35rem;
}
.email-display-addr {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #F7FCFE;
  letter-spacing: 0.04em;
}
.rodo-card {
  background: rgba(0, 33, 59, 0.72);
  border: 1px solid rgba(85, 140, 182, 0.42);
  padding: 2rem;
}
.rodo-card h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F7FCFE;
  margin-bottom: 0.9rem;
}
.rodo-card p {
  font-size: 0.9rem;
  color: #D6E8F6;
  margin: 0 0 0.85rem;
  text-align: justify;
}
.judicial-notice-box {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(14, 31, 34, 0.9);
  border-left: 3px solid #558CB6;
  font-size: 0.85rem;
  color: #F7FCFE;
}
.judicial-notice-box a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  color: #CFE4F5;
}

/* Subpages & Legal Docs */
.subpage-hero {
  background: linear-gradient(135deg, #00213B 0%, #00355E 100%);
  color: #F7FCFE;
  padding: 3.5rem 0 3.75rem;
  border-bottom: 1px solid rgba(85, 140, 182, 0.35);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #D6E8F6;
  margin-bottom: 1.1rem;
}
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.subpage-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  max-width: 54rem;
  margin-bottom: 1rem;
}
.subpage-lead {
  font-size: 1.05rem;
  color: #D6E8F6;
  max-width: 50rem;
  margin: 0;
  text-align: justify;
}
.article-body {
  max-width: 56rem;
}
.article-sec {
  margin-bottom: 2.75rem;
}
.article-sec h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00213B;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(85, 140, 182, 0.35);
}
.article-sec p {
  font-size: 1rem;
  line-height: 1.76;
  color: var(--text-dark);
  margin: 0 0 1.1rem;
  text-align: justify;
}
.article-sec ul {
  padding-left: 1.35rem;
  margin: 0.85rem 0 1.25rem;
}
.article-sec li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  text-align: justify;
}
.cta-banner-box {
  background: #00213B;
  color: #F7FCFE;
  border-left: 5px solid #558CB6;
  padding: 2.25rem;
  margin-top: 2.5rem;
}
.cta-banner-box h2 {
  color: #F7FCFE;
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.cta-banner-box p {
  color: #D6E8F6;
  margin: 0 0 1.35rem;
  text-align: justify;
}

/* Footer */
.site-footer {
  background: #081316;
  color: #D6E8F6;
  border-top: 1px solid rgba(85, 140, 182, 0.25);
  padding: 2.75rem 0;
  font-size: 0.825rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
}
.footer-links a,
.footer-link-btn {
  color: #F7FCFE;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* RODO & Cookie Banner + Modal */
#pachucki-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: #00213B;
  color: #F7FCFE;
  border-top: 2px solid #558CB6;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.38);
  padding: 1rem 0;
  display: none;
}
#pachucki-cookie-banner[data-visible="true"] {
  display: block;
}
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
@media (min-width: 900px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cookie-text {
  margin: 0;
  font-size: 0.835rem;
  line-height: 1.55;
  color: #E3F0FA;
  max-width: 56rem;
}
.cookie-text a {
  color: #F7FCFE;
  font-weight: 600;
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.58rem 1rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #558CB6;
  background: transparent;
  color: #F7FCFE;
}
.cookie-btn-accept {
  background: #F7FCFE;
  color: #00213B;
  border-color: #F7FCFE;
}

#pachucki-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(8, 19, 22, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
#pachucki-cookie-modal[data-open="true"] {
  display: flex;
}
.cookie-modal-box {
  background: #F7FCFE;
  color: #0E1F22;
  max-width: 36rem;
  width: 100%;
  padding: 2rem;
  border: 2px solid #00213B;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}
.cookie-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-cat {
  margin-top: 1.15rem;
  padding: 1rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
