/* ============================================
   VILLA MAMMA - CHRZCINY 2026 PORADNIK
   CLEAN VERSION - Based on budzet-wesela-2026
   NO viewport hacks, NO !important overrides
   Author: Claude (Deep Reasoner Protocol)
   Date: 2026-01-12
   ============================================ */

/* ============================================
   IMAGE FIX - Nadpisanie width/height z HTML
   ============================================ */

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

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

/* ============================================
   CSS VARIABLES (Design Tokens)
   ============================================ */

:root {
  /* Tło i powierzchnie */
  --vm-bg-primary: #020617;
  --vm-bg-surface: rgba(15, 23, 42, 0.95);
  --vm-bg-soft: rgba(15, 23, 42, 0.8);

  /* Tekst */
  --vm-text-primary: #f9fafb;
  --vm-text-secondary: rgba(249, 250, 251, 0.72);
  --vm-text-muted: rgba(148, 163, 184, 0.95);

  /* Gradient główny (Villa Mamma) */
  --vm-gradient-main: linear-gradient(
    90deg,
    #3b82f6 0%,
    #8b5cf6 50%,
    #ec4899 100%
  );

  /* Glow */
  --vm-glow-main: radial-gradient(
    circle at 20% -20%,
    rgba(59, 130, 246, 0.35) 0%,
    rgba(139, 92, 246, 0.2) 35%,
    transparent 70%
  );

  /* Shadows (2-layer for performance) */
  --vm-shadow-card:
    0 18px 45px rgba(15, 23, 42, 0.9),
    inset 0 0 0 1px rgba(148, 163, 184, 0.2);

  --vm-shadow-card-hover:
    0 24px 60px rgba(15, 23, 42, 0.95),
    inset 0 0 0 1px rgba(248, 250, 252, 0.18);

  /* Promienie */
  --vm-radius-md: 1.25rem;
  --vm-radius-lg: 1.75rem;
  --vm-radius-pill: 999px;

  /* Spacing */
  --vm-space-sm: 1rem;
  --vm-space-md: 1.5rem;
  --vm-space-lg: 2.25rem;
  --vm-space-xl: 3rem;

  /* Typografia */
  --vm-font-sans: system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", sans-serif;

  --vm-text-h1: clamp(2.6rem, 4.6vw, 3.7rem);
  --vm-text-h2: clamp(2.1rem, 3.6vw, 2.8rem);
  --vm-text-h3: clamp(1.6rem, 2.4vw, 2.1rem);

  /* Timing */
  --vm-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --vm-duration-fast: 160ms;
  --vm-duration-normal: 240ms;
  
  /* Mistrzowski gradient z fade na bokach */
  --vm-gradient-bar: linear-gradient(90deg,
    transparent 0%,
    rgba(59, 130, 246, 0.7) 10%,
    #3b82f6 20%,
    #8b5cf6 50%,
    #ec4899 80%,
    rgba(236, 72, 153, 0.7) 90%,
    transparent 100%
  );
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #080b14;
  color: var(--vm-text-primary);
  font-family: var(--vm-font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Skip to content (a11y) */
.vm-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--vm-gradient-main);
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 0.5rem 0;
}

.vm-skip-link:focus {
  top: 0;
}

/* Container */
.vm-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--vm-space-lg) var(--vm-space-md) var(--vm-space-xl);
}

/* Screen reader only */
.vm-sr-only,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
  margin: 0 0 var(--vm-space-sm);
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 { font-size: var(--vm-text-h1); line-height: 1.02; }
h2 { font-size: var(--vm-text-h2); line-height: 1.08; }
h3 { font-size: var(--vm-text-h3); line-height: 1.1; }

p {
  margin: 0 0 var(--vm-space-sm);
  color: var(--vm-text-secondary);
  line-height: 1.6;
}

strong {
  color: var(--vm-text-primary);
  font-weight: 600;
}

/* Gradient text */
.vm-gradient-text {
  background-image: var(--vm-gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

@supports not (-webkit-background-clip: text) {
  .vm-gradient-text {
    background-image: none;
    color: #e5e7eb;
  }
}

/* Free/0 PLN styling (green) */
.vm-free,
.is-free {
  color: #10b981;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* N/A styling (muted, italic) */
.is-na {
  color: var(--vm-text-muted);
  font-style: italic;
  opacity: 0.8;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumb {
  background: transparent;
  padding: clamp(0.5rem, 1vw, 0.75rem) 0;
  font-size: clamp(0.75rem, 1.1vw, 0.85rem);
}

.breadcrumb__list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: rgba(148, 163, 184, 0.5);
}

.breadcrumb__link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb__link:hover {
  color: #fff;
}

.breadcrumb__link--active {
  color: #a78bfa;
  font-weight: 500;
}

/* ============================================
   SECTIONS
   ============================================ */

.vm-section {
  position: relative;
  border-radius: var(--vm-radius-lg);
  padding: var(--vm-space-lg);
  background: rgba(15, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-top: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin-bottom: var(--vm-space-xl);
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}
.vm-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
  z-index: 1;
}

/* Wyłącz content-visibility dla hero (above-the-fold) */
.vm-hero {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

/* ============================================
   HERO
   ============================================ */

.vm-hero {
  text-align: center;
  padding: var(--vm-space-xl);
}

.vm-hero-inner {
  position: relative;
  z-index: 1;
}

/* H1 - secondary line */
.vm-h1-secondary {
  display: block;
  color: var(--vm-text-primary);
  font-size: 0.85em;
  margin-top: 0.5rem;
}

/* Hero intro paragraph */
.vm-hero-intro {
  margin-top: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero CTA container */
.vm-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vm-space-sm);
  justify-content: center;
  margin-top: var(--vm-space-md);
}

/* ============================================
   CITATION BLOCK
   ============================================ */

.vm-citation-block {
  position: relative;
  background: rgba(15, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-top: none;
  border-radius: var(--vm-radius-lg);
  padding: var(--vm-space-md);
  margin: var(--vm-space-md) 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.vm-citation-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
  z-index: 1;
}

.vm-citation-block h4 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--vm-text-primary);
  text-align: center;
}

.vm-citation-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.vm-citation-block li {
  margin-bottom: 0.5rem;
  color: var(--vm-text-secondary);
}

.vm-citation-block li::before {
  content: '•';
  margin-right: 0.5rem;
  color: #3b82f6;
}

.vm-citation-block p {
  margin-bottom: 0.75rem;
  text-align: center;
}

.vm-source-note {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.85rem;
  color: var(--vm-text-muted);
  text-align: center;
}

.vm-source-note a {
  color: #60a5fa;
  text-decoration: none;
}

.vm-source-note a:hover {
  text-decoration: underline;
}

/* AI Crawlable marker (no visual effect) */
.ai-crawlable {
  /* Semantic marker for LLM crawlers */
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.vm-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vm-space-sm);
  justify-content: center;
  margin-top: var(--vm-space-md);
}

/* Original button style */
.vm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--vm-radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background-image: var(--vm-gradient-main);
  color: #f9fafb;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--vm-shadow-card);
  transition: transform var(--vm-duration-fast) var(--vm-ease-standard);
}

.vm-button:hover {
  transform: translateY(-1px);
}

.vm-button-secondary {
  background-image: none;
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.5);
}

/* NEW: vm-btn variant (used in chrzciny) */
.vm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--vm-radius-pill);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--vm-duration-fast) var(--vm-ease-standard);
}

/* === PREMIUM GLASS MORPHISM BUTTONS === */
.vm-btn--primary,
.vm-btn--secondary {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
              rgba(15, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-top: none;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Gradient border TOP */
.vm-btn--primary::before,
.vm-btn--secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
}

.vm-btn--primary:hover,
.vm-btn--secondary:hover {
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.3) 0%, transparent 60%),
              rgba(15, 15, 25, 0.9);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* CTA Section (final CTA) */
.vm-cta-section {
  text-align: center;
}

.vm-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vm-space-sm);
  justify-content: center;
  margin-top: var(--vm-space-md);
}

/* ============================================
   DATA TABLE
   ============================================ */

.vm-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--vm-radius-lg);
}

.vm-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--vm-radius-lg);
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
              rgba(15, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-top: none;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  table-layout: fixed;
  contain: layout style;
}

/* Gradient border TOP only */
.vm-data-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
  z-index: 2;
  pointer-events: none;
}

.vm-data-table caption {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--vm-text-muted);
  caption-side: bottom;
  text-align: left;
}

/* THEAD */
.vm-data-table thead {
  background: rgba(15, 23, 42, 0.6);
}

.vm-data-table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 0.95);
}

/* TBODY */
.vm-data-table tbody tr {
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  transition: background var(--vm-duration-normal) var(--vm-ease-standard);
}

.vm-data-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.06);
}

.vm-data-table tbody tr:last-child {
  border-bottom: none;
}

/* TD */
.vm-data-table td {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(249, 250, 251, 0.72);
  vertical-align: top;
}

/* TFOOT */
.vm-data-table tfoot {
  background: rgba(15, 23, 42, 0.4);
}

.vm-data-table tfoot td {
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--vm-text-muted);
}

.vm-data-table tfoot a {
  color: #60a5fa;
  text-decoration: none;
}

.vm-data-table tfoot a:hover {
  text-decoration: underline;
}

/* ============================================
   TABLE ROW VARIANTS
   ============================================ */

/* Highlight row */
.vm-table-highlight,
.vm-row--highlight {
  background: rgba(59, 130, 246, 0.08);
}

/* Featured row (ranking) */
.vm-row--featured {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(139, 92, 246, 0.1) 50%,
    rgba(236, 72, 153, 0.08) 100%
  );
}

.vm-row--featured td {
  color: var(--vm-text-primary);
}

/* Total row */
.vm-table-total,
.vm-row--total {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(139, 92, 246, 0.1) 50%,
    rgba(236, 72, 153, 0.08) 100%
  );
}

.vm-table-total td,
.vm-row--total td {
  color: var(--vm-text-primary);
  font-weight: 600;
}

/* Savings row */
.vm-row--savings {
  background: rgba(16, 185, 129, 0.08);
}

.vm-row--savings td {
  color: #10b981;
}

/* Subtotal row */
.vm-table-subtotal {
  background: rgba(59, 130, 246, 0.08);
}

/* ============================================
   TABLE STYLE VARIANTS
   ============================================ */

/* Warning table (amber border) */
.vm-table--warning::before {
  background: linear-gradient(
    90deg,
    #f59e0b 0%,
    #fbbf24 50%,
    #f97316 100%
  );
}

/* VS table (purple accent) */
.vm-table--vs::before {
  background: linear-gradient(
    90deg,
    #8b5cf6 0%,
    #a855f7 50%,
    #ec4899 100%
  );
}

/* Ranking table */
.vm-table--ranking::before {
  background: linear-gradient(
    90deg,
    #10b981 0%,
    #3b82f6 50%,
    #8b5cf6 100%
  );
}

/* Calculator table */
.vm-table--calculator::before {
  background: linear-gradient(
    90deg,
    #3b82f6 0%,
    #8b5cf6 50%,
    #ec4899 100%
  );
}

/* ============================================
   COST TABLE — Premium LLM-optimized
   ============================================ */

.vm-cost-table-wrapper {
  margin: 2.5rem 0;
  border-radius: var(--vm-radius-lg);
  overflow: hidden;
  position: relative;
}

.vm-cost-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
              rgba(15, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-top: none;
  border-radius: var(--vm-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Gradient border TOP only */
.vm-cost-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
  z-index: 2;
  pointer-events: none;
}

/* Caption */
.vm-cost-table caption {
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(139, 92, 246, 0.08) 100%
  );
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  caption-side: top;
}

.vm-cost-table__caption-main {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.2rem;
}

.vm-cost-table__caption-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--vm-text-muted);
  font-weight: 400;
}

/* Thead */
.vm-cost-table thead {
  background: rgba(15, 23, 42, 0.6);
}

.vm-cost-table th {
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(148, 163, 184, 0.95);
}

/* Tbody */
.vm-cost-table tbody tr {
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
  transition: background 0.2s ease;
}

.vm-cost-table tbody tr:last-child {
  border-bottom: none;
}

.vm-cost-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.06);
}

.vm-cost-table td {
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(249, 250, 251, 0.72);
  vertical-align: middle;
}

/* Highlight row */
.vm-cost-table__row--highlight {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(139, 92, 246, 0.08) 100%
  );
}

.vm-cost-table__row--highlight td {
  color: var(--vm-text-primary);
}

/* Tfoot */
.vm-cost-table tfoot {
  background: rgba(15, 23, 42, 0.5);
}

.vm-cost-table tfoot td {
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--vm-text-muted);
}

/* Links in table */
.vm-cost-table td a {
  color: #60a5fa;
  text-decoration: none;
}

.vm-cost-table td a:hover {
  text-decoration: underline;
}

/* ============================================
   BADGES
   ============================================ */

.vm-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--vm-radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.vm-badge--trend {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.vm-badge--popular {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.vm-badge--free {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ============================================
   CHECKLIST (ordered list variant)
   ============================================ */

.vm-checklist {
  padding-left: 1.5rem;
  margin: var(--vm-space-md) 0;
  counter-reset: checklist;
}

.vm-checklist li {
  margin-bottom: 0.85rem;
  color: var(--vm-text-secondary);
  line-height: 1.7;
  position: relative;
  padding-left: 0.5rem;
}

.vm-checklist li::marker {
  color: #3b82f6;
  font-weight: 600;
}

.vm-ordered-list {
  padding-left: 1.5rem;
  margin: var(--vm-space-md) 0;
}

.vm-ordered-list li {
  margin-bottom: 0.75rem;
  color: var(--vm-text-secondary);
  line-height: 1.6;
}

/* ============================================
   TIP & WARNING BOXES
   ============================================ */

.vm-tip-box {
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid #10b981;
  border-radius: 0 var(--vm-radius-md) var(--vm-radius-md) 0;
  padding: var(--vm-space-md);
  margin: var(--vm-space-md) 0;
  color: var(--vm-text-secondary);
}

.vm-warning-box {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--vm-radius-md) var(--vm-radius-md) 0;
  padding: var(--vm-space-md);
  margin: var(--vm-space-md) 0;
  color: var(--vm-text-secondary);
}

.vm-tip-box a,
.vm-warning-box a {
  color: #60a5fa;
  text-decoration: none;
}

.vm-tip-box a:hover,
.vm-warning-box a:hover {
  text-decoration: underline;
}

/* ============================================
   FAQ (details/summary)
   ============================================ */

.vm-faq-container {
  margin: var(--vm-space-md) 0;
}

details {
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1rem 0;
}

details:last-child {
  border-bottom: none;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--vm-text-primary);
  padding: 0.5rem 0;
  transition: color var(--vm-duration-fast) var(--vm-ease-standard);
  list-style: none;
  text-align: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: '▶';
  display: inline-block;
  margin-right: 0.75rem;
  transition: transform var(--vm-duration-normal) var(--vm-ease-standard);
  color: #3b82f6;
}

details[open] summary::before {
  transform: rotate(90deg);
}

summary:hover {
  color: #3b82f6;
}

details[open] summary {
  margin-bottom: 0.75rem;
}

details p,
.vm-faq-answer {
  padding-left: 0;
  text-align: center;
}

.vm-faq-answer p {
  margin: 0;
  text-align: center;
}

.vm-faq-item {
  /* Semantic class for FAQ items */
}

/* ============================================
   SEE ALSO
   ============================================ */

.vm-see-also {
  text-align: center;
}

.vm-see-also__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: var(--vm-space-md);
}

.vm-see-also__links a {
  color: #60a5fa;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--vm-radius-md);
  transition: all var(--vm-duration-fast) var(--vm-ease-standard);
}

.vm-see-also__links a:hover {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
}

.vm-see-also-list {
  list-style: none;
  padding: 0;
  margin: var(--vm-space-md) 0;
  text-align: center;
}

.vm-see-also-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.vm-see-also-list li:last-child {
  border-bottom: none;
}

.vm-see-also-list a {
  color: #60a5fa;
  text-decoration: none;
  font-size: 1rem;
}

.vm-see-also-list a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* ============================================
   ENTITY DEFINITION
   ============================================ */

.entity-definition {
  background: rgba(59, 130, 246, 0.05);
  border-left: 4px solid #3b82f6;
  border-radius: 0 var(--vm-radius-md) var(--vm-radius-md) 0;
  padding: var(--vm-space-md);
  margin: var(--vm-space-md) 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--vm-text-secondary);
}

.entity-definition dfn {
  font-style: normal;
  font-weight: 700;
  color: #60a5fa;
}

.entity-definition em {
  color: var(--vm-text-muted);
}

/* ============================================
   KEY INSIGHT — LLM Citation Target
   ============================================ */

.key-insight {
  position: relative;
  display: flex;
  gap: 1rem;
  background: rgba(15, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-top: none;
  border-radius: var(--vm-radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.key-insight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
  z-index: 1;
}

.key-insight--success {
  background:
    radial-gradient(
      circle at 20% -20%,
      rgba(16, 185, 129, 0.35) 0%,
      rgba(16, 185, 129, 0.15) 35%,
      transparent 70%
    ),
    var(--vm-bg-surface);
}

.key-insight--warning {
  background:
    radial-gradient(
      circle at 20% -20%,
      rgba(245, 158, 11, 0.35) 0%,
      rgba(245, 158, 11, 0.15) 35%,
      transparent 70%
    ),
    var(--vm-bg-surface);
}

.key-insight__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}

.key-insight__content {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.key-insight__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.key-insight--success .key-insight__title {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.key-insight--warning .key-insight__title {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.key-insight__text {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: center;
}

.key-insight__text strong {
  color: #f1f5f9;
}

.key-insight__text mark {
  background: rgba(16, 185, 129, 0.25);
  color: #10b981;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  font-weight: 600;
}

/* ============================================
   GLASS BOX — Premium Glassmorphism
   ============================================ */

.vm-glass-box {
  position: relative;
  background: rgba(15, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-top: none;
  border-radius: var(--vm-radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: var(--vm-space-lg);
  margin-bottom: var(--vm-space-xl);
}

.vm-glass-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
  z-index: 1;
}

/* ============================================
   EN BLOCK — International visitors section
   ============================================ */

.vm-en-block {
  text-align: center;
}

.vm-en-block p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   TL;DR SECTION — Quick Answer Block
   ============================================ */

.vm-tldr {
  text-align: center;
}

.vm-tldr h2,
.vm-tldr h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.vm-tldr-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto;
  max-width: 500px;
  text-align: center;
}

.vm-tldr-list li {
  padding: 0.5rem 0;
  color: var(--vm-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.vm-tldr-list li:last-child {
  border-bottom: none;
}

.vm-tldr-list li strong {
  color: var(--vm-text-primary);
}

.vm-quick-answer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  text-align: center;
}

.vm-quick-answer p:first-child {
  font-size: 1.1rem;
  color: var(--vm-text-primary);
  margin-bottom: 0.75rem;
}

.vm-quick-answer p:last-of-type {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.vm-heading-center {
  text-align: center;
}

.vm-paragraph-center {
  text-align: center;
  color: var(--vm-text-muted);
}

.vm-text-link {
  color: #3b82f6;
  text-decoration: none;
}

.vm-text-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.vm-final-cta {
  text-align: center;
}

.vm-final-cta-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.vm-final-cta-text {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* Emoji fix — prevent gradient clipping */
.vm-emoji {
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: initial;
  color: initial;
  background: none;
}

/* ============================================
   CENTROWANIE — Nagłówki i tekst
   ============================================ */

/* Nagłówki H2, H3 w sekcjach */
.vm-section h2,
.vm-section h3 {
  text-align: center;
}

/* Paragrafy bezpośrednio po nagłówkach */
.vm-section h2 + p,
.vm-section h3 + p {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SITE HEADER — Glassmorphism Navigation
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    rgba(15, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow:
    0 4px 30px rgba(139, 92, 246, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* === LOGO TEXT GRADIENT === */
.vm-logo-text {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6 50%, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.header__logo {
  text-decoration: none;
}

/* Navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  color: rgba(249, 250, 251, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.15);
}

/* Award badge */
.nav-link--award {
  color: #fbbf24;
}

.nav-link--award:hover {
  background: rgba(251, 191, 36, 0.15);
}

.award-badge {
  font-size: 1.1rem;
}

/* Dropdown arrow */
.dropdown-arrow {
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  list-style: none;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    rgba(15, 15, 25, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 0.75rem;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(139, 92, 246, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.25s ease;
}

.has-dropdown:hover .dropdown-menu,
.dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: rgba(249, 250, 251, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.2);
}

.dropdown-menu a[aria-current="page"] {
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.15);
}

/* CTA button - Glass Morphism */
.nav-cta {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
              rgba(15, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-top: none;
  border-radius: 999px;
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
}

.nav-cta:hover {
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.3) 0%, transparent 60%),
              rgba(15, 15, 25, 0.9);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* === MOBILE CTA GLASS MORPHISM PREMIUM === */
@media (max-width: 900px) {
  .nav-item--cta .nav-cta {
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
                rgba(15, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-top: none;
    border-radius: 1rem;
    padding: 1.1rem 2rem;
    overflow: hidden;
    box-shadow:
      0 0 25px rgba(139, 92, 246, 0.2),
      0 8px 20px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  
  /* Gradient border TOP - pseudo-element */
  .nav-item--cta .nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--vm-gradient-bar);
    border-radius: 1rem 1rem 0 0;
  }
  
  .nav-item--cta .nav-cta:hover {
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.35) 0%, transparent 60%),
                rgba(15, 15, 25, 0.9);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow:
      0 0 35px rgba(139, 92, 246, 0.3),
      0 12px 30px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   FOOTER
   ============================================ */

.vm-footer {
  position: relative;
  margin-top: var(--vm-space-xl);
  padding: var(--vm-space-xl) 0 var(--vm-space-lg);
  background: linear-gradient(
    180deg,
    rgba(8, 11, 20, 0.95) 0%,
    rgba(8, 11, 20, 1) 100%
  );
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.vm-footer-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--vm-space-sm);
  text-align: center;
}

.vm-footer-brand {
  margin-bottom: var(--vm-space-lg);
  padding-bottom: var(--vm-space-lg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.vm-footer-brand h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.vm-footer-tagline {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(249, 250, 251, 0.85);
}

.vm-footer-tagline--en {
  margin-top: 0.5rem;
}

.vm-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-bottom: var(--vm-space-lg);
  padding-bottom: var(--vm-space-lg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.vm-footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--vm-duration-fast) var(--vm-ease-standard);
}

.vm-footer-nav a:hover {
  color: #f9fafb;
}

.vm-footer-nav a[aria-current="page"] {
  color: #a78bfa;
  font-weight: 600;
}

.vm-footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vm-space-xl);
  margin-bottom: var(--vm-space-lg);
  padding-bottom: var(--vm-space-lg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  text-align: left;
}

.vm-footer-contact-info h3,
.vm-footer-social h3 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.vm-footer-contact-info p {
  margin: 0.65rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(249, 250, 251, 0.8);
}

.vm-footer-contact-info strong {
  color: #94a3b8;
  font-weight: 600;
}

.vm-footer-contact-info a {
  color: #60a5fa;
  text-decoration: none;
}

.vm-footer-contact-info a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.vm-footer-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.vm-footer-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  border-radius: var(--vm-radius-md);
  text-decoration: none;
  min-height: 90px;
  transition: background var(--vm-duration-normal) var(--vm-ease-standard);
}

.vm-footer-social-link:hover {
  background: rgba(59, 130, 246, 0.12);
}

.vm-footer-social-icon {
  font-size: 2rem;
}

.vm-footer-social-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
}

.vm-footer-social-link:hover .vm-footer-social-label {
  color: #f9fafb;
}

.vm-footer-maps {
  margin-bottom: var(--vm-space-lg);
  padding-bottom: var(--vm-space-lg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.vm-footer-maps h3 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.vm-footer-maps-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.vm-footer-map-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--vm-radius-pill);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-top: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
              rgba(15, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  overflow: hidden;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all var(--vm-duration-fast) var(--vm-ease-standard);
}

.vm-footer-map-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
}

.vm-footer-map-link:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
              rgba(15, 15, 25, 0.9);
  color: #fff;
  transform: translateY(-2px);
}

/* Manager Card */
.vm-footer-manager {
  position: relative;
  margin-top: var(--vm-space-xl);
  padding: var(--vm-space-lg);
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
              rgba(15, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-top: none;
  border-radius: var(--vm-radius-lg);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.vm-footer-manager::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
  z-index: 1;
}

.vm-manager-card {
  background: transparent;
  border: none;
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.vm-manager-card__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.5rem 0;
}

.vm-manager-card__role {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.vm-manager-card__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--vm-text-secondary);
  margin-bottom: 1rem;
  text-align: left;
}

.vm-manager-card__desc cite {
  font-style: italic;
  color: var(--vm-text-primary);
}

.vm-manager-card__desc a,
.vm-manager-card__doi {
  color: #60a5fa;
  text-decoration: none;
}

.vm-manager-card__desc a:hover,
.vm-manager-card__doi:hover {
  text-decoration: underline;
}

.vm-manager-card__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.vm-manager-card__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-top: none;
  border-radius: 2rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  text-decoration: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
              rgba(15, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.vm-manager-card__links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
}

.vm-manager-card__links a:hover {
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
              rgba(15, 15, 25, 0.9);
  border-color: rgba(139, 92, 246, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* Legal */
.vm-footer-legal {
  text-align: center;
  padding-top: var(--vm-space-sm);
}

.vm-footer-copyright {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.vm-footer-legal-links {
  font-size: 0.85rem;
  color: var(--vm-text-muted);
}

.vm-footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
}

.vm-footer-legal-links a:hover {
  color: #f9fafb;
  text-decoration: underline;
}

/* ============================================
   DESKTOP (≥1024px)
   ============================================ */

@media (min-width: 1024px) {
  .vm-data-table thead,
  .vm-cost-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(15, 23, 42, 0.98);
  }
}

/* ============================================
   TABLET (641px - 1023px)
   ============================================ */

@media (min-width: 641px) and (max-width: 1023px) {
  .vm-data-table th,
  .vm-data-table td,
  .vm-cost-table th,
  .vm-cost-table td {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .vm-footer-social-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* ============================================
   MOBILE (≤640px)
   ============================================ */

@media (max-width: 640px) {
  /* Breadcrumb hide on mobile */
  .breadcrumb {
    display: none;
  }

  /* Hero padding */
  .vm-hero {
    padding: var(--vm-space-md);
  }

  /* CTA stack */
  .vm-cta-group,
  .vm-hero-cta,
  .vm-cta-buttons {
    flex-direction: column;
  }

  .vm-button,
  .vm-btn {
    width: 100%;
  }

  /* TABLE - stacked cards */
  .vm-data-table thead,
  .vm-cost-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .vm-data-table tbody tr,
  .vm-cost-table tbody tr {
    display: block;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--vm-radius-md);
  }

  .vm-data-table td,
  .vm-cost-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    text-align: right;
  }

  .vm-data-table td:last-child,
  .vm-cost-table td:last-child {
    border-bottom: none;
  }

  .vm-data-table td::before,
  .vm-cost-table td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    flex-shrink: 0;
    margin-right: 1rem;
    max-width: 40%;
    text-align: left;
  }

  .vm-cost-table td:first-child {
    text-align: left;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .vm-cost-table td:first-child::before {
    display: none;
  }

  .vm-badge {
    margin-left: 0;
    margin-top: 0.25rem;
  }

  /* Footer grid mobile */
  .vm-footer-contact-grid {
    grid-template-columns: 1fr;
    gap: var(--vm-space-lg);
    text-align: center;
  }

  .vm-footer-social-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .vm-footer-social-link {
    min-height: 80px;
    padding: 0.75rem 0.5rem;
  }

  .vm-footer-social-icon {
    font-size: 1.6rem;
  }

  .vm-manager-card {
    padding: 1.5rem 1rem;
    text-align: center;
  }

  .vm-manager-card__desc {
    text-align: center;
  }

  .vm-manager-card__links {
    flex-direction: column;
    align-items: center;
  }

  .vm-manager-card__links a {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Key Insight mobile */
  .key-insight {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .key-insight__icon {
    font-size: 1.5rem;
  }

  .key-insight__title {
    font-size: 1rem;
  }

  .key-insight__text {
    font-size: 0.9rem;
    text-align: left; /* Lepsze dla długich tekstów */
  }

  /* Glass Box mobile */
  .vm-glass-box {
    padding: var(--vm-space-md); /* 1.5rem zamiast 2.25rem */
    margin-bottom: var(--vm-space-lg);
  }

  /* Citation Block mobile */
  .vm-citation-block {
    padding: var(--vm-space-sm); /* 1rem zamiast 1.5rem */
  }

  .vm-citation-block h4 {
    font-size: 1rem;
  }

  /* Tip & Warning Box mobile */
  .vm-tip-box,
  .vm-warning-box {
    padding: var(--vm-space-sm);
    font-size: 0.9rem;
  }

  /* Entity Definition mobile */
  .entity-definition {
    padding: var(--vm-space-sm);
    font-size: 0.9rem;
  }

  /* Cost Table Caption mobile */
  .vm-cost-table__caption-main {
    font-size: 1.1rem;
  }

  .vm-cost-table__caption-sub {
    font-size: 0.8rem;
  }

  /* See Also links mobile */
  .vm-see-also__links a {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  /* FAQ answer - left align for readability */
  .vm-faq-answer,
  .vm-faq-answer p,
  details p {
    text-align: left;
  }

  /* Section mobile spacing */
  .vm-section {
    padding: var(--vm-space-md);
    margin-bottom: var(--vm-space-lg);
  }
}

/* Mobile navigation */
@media (max-width: 900px) {
  .mobile-toggle {
    display: flex;
    position: fixed;
    top: 0.75rem;
    right: 1.5rem;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
        border-radius: 8px;
    cursor: pointer;
  }

  .mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* HAMBURGER → X ANIMATION */
  .mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 320px;
  }

  .nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-link {
    justify-content: center;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    width: 100%;
    max-width: 320px;
    margin: 0.5rem auto 0;
    padding: 0;
    background: rgba(139, 92, 246, 0.08);
    border: none;
    border-radius: 0.75rem;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .has-dropdown.is-open .dropdown-menu {
      max-height: 500px;
      padding: 0.5rem;
    }

  .dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    border-radius: 0.5rem;
  }

  .nav-item--cta {
    margin-top: 1rem;
  }

  .nav-cta {
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
  }

  /* Override desktop hover - force static positioning */
  .nav-item.has-dropdown .dropdown-menu,
  .nav-item.has-dropdown:hover .dropdown-menu,
  .nav-item.has-dropdown:focus-within .dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    margin: 0.5rem auto 0;
  }
}


/* ============================================
   QUICK ANSWER BOX — Glass Morphism
   ============================================ */

.vm-quick-answer-box {
  position: relative;
  background: rgba(15, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-top: none;
  border-radius: var(--vm-radius-lg);
  padding: 0;
  margin: var(--vm-space-lg) 0 var(--vm-space-xl);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Gradient border TOP only */
.vm-quick-answer-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vm-gradient-bar);
  z-index: 1;
  pointer-events: none;
}

/* Header */
.vm-quick-answer-box__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  position: relative;
  z-index: 1;
}

.vm-quick-answer-box__icon {
  font-size: 1.5rem;
}

.vm-quick-answer-box__label {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Content */
.vm-quick-answer-box__content {
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.vm-quick-answer-box__main {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--vm-text-primary);
  margin: 0 0 1.25rem;
}

.vm-quick-answer-box__main strong {
  color: #fff;
}

/* Highlight boxes */
.vm-quick-answer-box__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--vm-radius-md);
  margin-bottom: 0.75rem;
}

.vm-quick-answer-box__highlight:last-child {
  margin-bottom: 0;
}

.vm-quick-answer-box__highlight--warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.vm-quick-answer-box__highlight--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.vm-quick-answer-box__highlight-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1.5;
}

.vm-quick-answer-box__highlight p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--vm-text-secondary);
}

.vm-quick-answer-box__highlight p strong {
  color: var(--vm-text-primary);
}

/* Footer */
.vm-quick-answer-box__footer {
  padding: 0.85rem 1.5rem;
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  text-align: center;
  position: relative;
  z-index: 1;
}

.vm-quick-answer-box__source {
  font-size: 0.8rem;
  color: var(--vm-text-muted);
  font-style: italic;
}

/* Mobile */
@media (max-width: 640px) {
  .vm-quick-answer-box__content {
    padding: 1.25rem 1rem;
  }

  .vm-quick-answer-box__main {
    font-size: 1rem;
    text-align: left;
  }

  .vm-quick-answer-box__highlight {
    padding: 0.85rem 1rem;
  }

  .vm-quick-answer-box__highlight p {
    font-size: 0.9rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .vm-skip-link,
  .vm-cta-group,
  .vm-hero-cta,
  .vm-cta-buttons,
  .vm-footer-social,
  .vm-footer-maps,
  .site-header {
    display: none;
  }

  .vm-section,
  .vm-glass-box {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #fff;
  }

  .vm-gradient-text {
    background: none;
    color: #000;
    -webkit-text-fill-color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
