/* ==========================================================================
   MASTAFU DESIGN 2026 — JAPANESE AESTHETICS & ENGINEERING DESIGN SYSTEM
   Wersja: 4.1 (Wariant Jasny: Washi, Sumi & Shuniku Red + Ciemny: Cyber Obsidian)
   Identyfikacja: Autentyczny japoński sygnet pieczęci Hanko "Fu" (Shuniku Red #d91424)
   Zakres: responsywny interfejs, dwa motywy i lekki kod bez bibliotek UI
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS & SYSTEM MOTYWÓW (Domyślny: Japoński Jasny / Washi & Sumi)
   -------------------------------------------------------------------------- */

:root {
  --theme-name: "light";

  /* Kolory tła (Washi, Tatami & Natural Kozo Paper) */
  --bg-main: #fcfbf8;
  --bg-surface: #f7f4ee;
  --bg-card: #ffffff;
  --bg-card-hover: #faf8f3;
  --bg-card-active: #f3efe6;
  --bg-glass: rgba(252, 251, 248, 0.92);
  --bg-subtle: #eae5d9;

  /* Granice i podziały (Shoji & Karesansui) */
  --border-subtle: rgba(28, 25, 23, 0.08);
  --border-medium: rgba(28, 25, 23, 0.14);
  --border-strong: rgba(28, 25, 23, 0.24);
  --border-hover: rgba(217, 20, 36, 0.45);
  --border-glow-red: rgba(217, 20, 36, 0.2);
  --border-glow-cyan: rgba(217, 20, 36, 0.2);
  --border-glow-emerald: rgba(21, 128, 61, 0.2);

  /* Typografia (Tusz Sumi-e & Usuzumi - WCAG AAA) */
  --text-main: #181716;
  --text-heading: #111110;
  --text-muted: #57534e;
  --text-faint: #78736b;
  --text-inverse: #fcfbf8;

  /* Akcenty kolorystyczne (Shuniku Red z identyfikacji + Barwy Natury Japonii) */
  --accent-red: #d91424;
  --accent-red-hover: #b9101d;
  --accent-red-light: #fef2f2;
  --accent-red-glow: rgba(217, 20, 36, 0.18);

  /* Mapowanie akcentów głównych dla kompatybilności */
  --accent-cyan: #d91424;
  --accent-cyan-light: #ef4444;
  --accent-cyan-glow: rgba(217, 20, 36, 0.15);

  --accent-emerald: #15803d;
  --accent-emerald-glow: rgba(21, 128, 61, 0.18);
  --accent-blue: #1d4ed8;
  --accent-indigo: #4338ca;
  --accent-warning: #b45309;
  --accent-danger: #dc2626;
  --accent-danger-glow: rgba(220, 38, 38, 0.2);
  --accent-gold: #d97706;

  /* Przyciski */
  --btn-primary-bg: #d91424;
  --btn-primary-fg: #ffffff;
  --btn-primary-hover: #b9101d;

  /* Gradienty w estetyce japońskiej */
  --gradient-tech: linear-gradient(135deg, #d91424 0%, #b9101d 50%, #7f1d1d 100%);
  --gradient-text: linear-gradient(135deg, #181716 20%, #d91424 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(217, 20, 36, 0.08), transparent 70%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, rgba(247, 244, 238, 0.6) 100%);

  /* Czcionki */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;

  /* Zaokrąglenia (delikatne, harmonijne) */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Cienie (miękkie, papierowe, naturalne światło) */
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.05), 0 1px 2px rgba(28, 25, 23, 0.03);
  --shadow-md: 0 4px 18px rgba(28, 25, 23, 0.07), 0 2px 6px rgba(28, 25, 23, 0.03);
  --shadow-lg: 0 12px 36px rgba(28, 25, 23, 0.09), 0 4px 12px rgba(28, 25, 23, 0.04);
  --shadow-glow-cyan: 0 0 25px rgba(217, 20, 36, 0.15);
  --shadow-glow-emerald: 0 0 25px rgba(21, 128, 61, 0.15);
  --shadow-glow-danger: 0 0 25px rgba(220, 38, 38, 0.2);

  /* Elementy terminala / Tech Window */
  --terminal-bg: #f8f6f0;
  --terminal-header: #ede7dc;
  --terminal-text: #181716;
  --terminal-border: rgba(28, 25, 23, 0.12);

  /* Stopka */
  --footer-bg: #f5f1e8;
  --footer-border: #e6dfd2;
}

/* --------------------------------------------------------------------------
   Wariant Ciemny: Cyber Obsidian (Dostępny przez przełącznik motywu)
   -------------------------------------------------------------------------- */

[data-theme="dark"] {
  --theme-name: "dark";

  --bg-main: #070a10;
  --bg-surface: #0d121c;
  --bg-card: #121927;
  --bg-card-hover: #172235;
  --bg-card-active: #1c2a42;
  --bg-glass: rgba(13, 18, 28, 0.88);
  --bg-subtle: #1e293b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-hover: rgba(6, 182, 212, 0.45);
  --border-glow-red: rgba(239, 68, 68, 0.25);
  --border-glow-cyan: rgba(6, 182, 212, 0.3);
  --border-glow-emerald: rgba(16, 185, 129, 0.3);

  --text-main: #f8fafc;
  --text-heading: #ffffff;
  --text-muted: #cbd5e1;
  --text-faint: #94a3b8;
  --text-inverse: #070a10;

  --accent-red: #ef4444;
  --accent-red-hover: #dc2626;
  --accent-red-light: rgba(239, 68, 68, 0.15);
  --accent-red-glow: rgba(239, 68, 68, 0.25);

  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-cyan-glow: rgba(6, 182, 212, 0.2);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  --accent-danger-glow: rgba(239, 68, 68, 0.25);
  --accent-gold: #fbbf24;

  --btn-primary-bg: #d91424;
  --btn-primary-fg: #ffffff;
  --btn-primary-hover: #ef4444;

  --gradient-tech: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-text: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.18), transparent 70%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  --shadow-glow-emerald: 0 0 35px rgba(16, 185, 129, 0.25);
  --shadow-glow-danger: 0 0 35px rgba(239, 68, 68, 0.3);

  --terminal-bg: #090e18;
  --terminal-header: #090e18;
  --terminal-text: #f8fafc;
  --terminal-border: rgba(255, 255, 255, 0.12);

  --footer-bg: #05070c;
  --footer-border: var(--border-subtle);
}

/* ==========================================================================
   RESET & PODSTAWY
   ========================================================================== */

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% -120px, rgba(217, 20, 36, 0.035), transparent 700px),
    radial-gradient(circle at 100% 30%, rgba(247, 244, 238, 0.6), transparent 500px);
  background-attachment: fixed;
}

[data-theme="dark"] body {
  background-image: 
    radial-gradient(circle at 50% -100px, rgba(6, 182, 212, 0.12), transparent 800px),
    radial-gradient(circle at 100% 40%, rgba(59, 130, 246, 0.06), transparent 600px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Kontener */
.container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   NAGŁÓWEK & LOGO (AUTENTYCZNA PIECZĘĆ HANKO "FU" W CZERWIENI SHUNIKU)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Górna czerwona linia jak na kopertach i papierze firmowym ze zdjęcia */
  border-top: 3px solid var(--accent-red);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-medium);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo marki w estetyce japońskiej: czerwona pieczęć Hanko + typografia Sumi */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-heading);
}

.brand-logo-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-seal svg {
  display: block;
}

.seal-glyph {
  fill: var(--accent-red);
  transition: fill 0.2s ease;
}

.brand-logo:hover .brand-logo-seal {
  transform: scale(1.08) rotate(-2deg);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-masta {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
}

.brand-design {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 2px;
}

/* Nawigacja Desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--text-heading);
}

.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--accent-red);
  border-radius: var(--radius-full);
}

.nav-emergency-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-danger) !important;
  font-weight: 700;
}

.nav-emergency-link:hover {
  color: #b91c1c !important;
}

/* Akcje nagłówka */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Przełącznik motywu (Washi / Obsidian) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--bg-card);
  border-color: var(--accent-red);
  color: var(--accent-red);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Nowoczesna, czarno-biała ikonka Jing i Jang */
.icon-yinyang {
  display: inline-block;
  vertical-align: middle;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle:hover .icon-yinyang,
.theme-toggle:focus-visible .icon-yinyang {
  transform: rotate(180deg);
}

/* Wariant jasny (Jang): czarno-biały */
.icon-yinyang .yy-base {
  fill: #ffffff;
  stroke: #0f172a;
  stroke-width: 1.5;
}

.icon-yinyang .yy-half {
  fill: #0f172a;
}

.icon-yinyang .yy-dot-top {
  fill: #ffffff;
}

.icon-yinyang .yy-dot-bottom {
  fill: #0f172a;
}

/* Wariant ciemny (Jing): biało-czarny */
[data-theme="dark"] .icon-yinyang .yy-base {
  fill: #0c1017;
  stroke: #ffffff;
  stroke-width: 1.5;
}

[data-theme="dark"] .icon-yinyang .yy-half {
  fill: #ffffff;
}

[data-theme="dark"] .icon-yinyang .yy-dot-top {
  fill: #0c1017;
}

[data-theme="dark"] .icon-yinyang .yy-dot-bottom {
  fill: #ffffff;
}

.phone-quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 7px 14px;
  border-radius: var(--radius-full);
}

.phone-quick-link:hover {
  background: var(--bg-card);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

/* Przycisk Menu Mobilnego */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Menu Mobilne Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 32px 24px;
  overflow-y: auto;
  border-top: 1px solid var(--border-subtle);
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.2rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   PRZYCISKI I KOMPONENTY WSPÓLNE
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: 0 4px 18px var(--accent-red-glow);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  color: #fff;
  box-shadow: 0 6px 24px rgba(217, 20, 36, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--accent-red);
  color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-danger {
  background: var(--accent-red-light);
  color: var(--accent-danger);
  border-color: rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  background: var(--accent-danger);
  color: #fff;
  border-color: var(--accent-danger);
  box-shadow: var(--shadow-glow-danger);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-danger);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulse-red 2s infinite;
}

.status-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.7);
  animation: pulse-emerald 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@keyframes pulse-emerald {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(21, 128, 61, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Japońska pieczęć rzemieślnicza Shokunin */
.hanko-seal-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-red);
  color: #fff;
  font-family: serif;
  font-size: 0.75rem;
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(217, 20, 36, 0.3);
  margin-right: 6px;
  flex-shrink: 0;
}

.footer-shokunin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 14px;
}

/* ==========================================================================
   SEKCJA HERO (JAPOŃSKI MINIMALIZM + TERMINAL ARCHITEKTURY)
   ========================================================================== */

.hero-section {
  padding: 60px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-red-light);
  border: 1px solid rgba(217, 20, 36, 0.25);
  color: var(--accent-red);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-desc strong {
  color: var(--text-heading);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-geo-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-faint);
}

.hero-geo-note svg {
  color: var(--accent-red);
  flex-shrink: 0;
}

/* TERMINAL ARCHITEKTURY (CZYSTY MINIMALISTYCZNY DESIGN) */
.tech-window {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.tech-window-bar {
  background: var(--terminal-header);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.tech-window-content {
  padding: 22px;
}

.system-flow-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.system-nodes-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.node-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.node-item:hover, .node-item.active {
  border-color: var(--accent-red);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.node-icon {
  font-size: 1.4rem;
  color: var(--accent-red);
  width: 36px;
  height: 36px;
  background: var(--accent-red-light);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.node-details {
  flex: 1;
}

.node-details h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.node-details p {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.node-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.status-ok {
  background: rgba(21, 128, 61, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(21, 128, 61, 0.25);
}

.tech-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.metric-box .val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
}

.metric-box .lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: 2px;
}

/* ==========================================================================
   PASEK ZAUFANIA (TRUST STRIP & GOOGLE 5.0)
   ========================================================================== */

.trust-strip {
  padding: 30px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

.trust-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-step {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--bg-card) 45%, var(--accent-red-light));
  border: 1px solid var(--border-medium);
  display: grid;
  place-items: center;
  color: var(--accent-red);
  font: 700 1rem/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.trust-step::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-red);
}

.trust-info strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.trust-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.google-rating-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(66, 133, 244, 0.1);
  border: 1px solid rgba(66, 133, 244, 0.3);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
}

.stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   SEKCJE I NAGŁÓWKI TYPOWE
   ========================================================================== */

/* Globalny offset przewijania do kotwic (uwzględniający sticky header) */
section[id], div[id] {
  scroll-margin-top: 96px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-head {
  margin-bottom: 50px;
}

.section-head.center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   SIATKA USŁUG (6 MODUŁÓW Z KODAMI MOD_XX & TECH-PILLS)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  background: var(--accent-red);
}

.service-card-emergency {
  border-color: rgba(220, 38, 38, 0.3);
  background: var(--accent-red-light);
}

.service-card-emergency:hover {
  border-color: var(--accent-danger);
  box-shadow: var(--shadow-glow-danger);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--accent-red);
}

.service-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.tech-pill-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.tech-pill-link:hover {
  color: var(--accent-red);
  background: var(--accent-red-light);
  border-color: var(--border-hover);
}
.tech-pill-link:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 2px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-top: auto;
}

.service-link:hover {
  color: var(--accent-red-hover);
  gap: 12px;
}

/* ==========================================================================
   CASE STUDIES & DIAGRAMY PRZEPŁYWU SYSTEMÓW
   ========================================================================== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.case-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-visual {
  background: var(--bg-surface);
  padding: 24px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.case-badge-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 14px;
}

.case-flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0;
}

.case-flow-node {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  flex: 1;
}

.case-flow-arrow {
  color: var(--accent-red);
  font-weight: 800;
}

.case-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.case-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.case-kpi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 18px;
}

/* ==========================================================================
   PLANY OPIEKI ABONAMENTOWEJ (PRICING & PLANS)
   ========================================================================== */

.pricing-grid,
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card,
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover,
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured,
.plan-card.highlight {
  border: 2px solid var(--accent-red) !important;
  background: var(--bg-card) !important;
  box-shadow: 0 12px 36px var(--accent-red-glow), 0 2px 8px rgba(28, 25, 23, 0.06);
}

[data-theme="dark"] .pricing-card.featured,
[data-theme="dark"] .plan-card.highlight {
  background: #111726 !important;
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 35px var(--accent-red-glow);
}

.featured-ribbon,
.plan-highlight-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent-red);
  color: #fff !important;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px var(--accent-red-glow);
}

.pricing-header h3,
.plan-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.pricing-header p,
.plan-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 40px;
}

.pricing-price,
.plan-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
  min-height: 72px;
}

.pricing-price .amount,
.plan-price {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
}

.pricing-price .amount.text-custom,
.plan-price.text-custom {
  font-size: 1.75rem;
}

.pricing-price .period,
.plan-period {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.pricing-features,
.plan-features-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}

.pricing-features li,
.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-features li svg,
.plan-features-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   BLOG / BAZA WIEDZY
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-red);
  box-shadow: var(--shadow-md);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 14px;
  font-family: var(--font-mono);
}

.article-card h2, .article-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.35;
}

.article-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

/* ==========================================================================
   FORMULARZ KONTAKTOWY
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
}

.contact-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.contact-items {
  margin: 28px 0;
  display: grid;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon svg { display: block; }

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  color: var(--accent-red);
  flex-shrink: 0;
}

.contact-item-details span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item-details strong, .contact-item-details a {
  font-size: 1.05rem;
  color: var(--text-heading);
  font-weight: 600;
}

.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-heading);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px var(--accent-red-glow);
  background: var(--bg-card);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(21, 128, 61, 0.12);
  border: 1px solid rgba(21, 128, 61, 0.3);
  color: var(--accent-emerald);
}

.form-status.error {
  display: block;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--accent-danger);
}

/* ==========================================================================
   STOPKA (FOOTER)
   ========================================================================== */

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 70px 0 30px;
  margin-top: auto;
  transition: background-color 0.25s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col .footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ==========================================================================
   PASEK MOBILNY (FLOATING BOTTOM BAR)
   ========================================================================== */

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-medium);
  z-index: 95;
  padding: 10px 16px;
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mobile-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.mobile-bottom-btn.emergency {
  color: var(--accent-danger);
  border-color: rgba(220, 38, 38, 0.4);
  background: var(--accent-red-light);
}

/* ==========================================================================
   STRONY TEKSTOWE / PROSE (ARTYKUŁY I POLITYKA PRYWATNOŚCI)
   ========================================================================== */

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.prose h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 36px 0 16px;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 28px 0 12px;
}

.prose p {
  margin-bottom: 20px;
}

.prose ul, .prose ol {
  margin: 20px 0 24px 24px;
}

.prose li {
  margin-bottom: 10px;
}

.prose strong {
  color: var(--text-heading);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-red);
}

.prose a {
  color: var(--accent-red);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--accent-red-hover);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-faint);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumbs a:hover {
  color: var(--accent-red);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -200px;
  left: 20px;
  background: var(--accent-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  box-shadow: var(--shadow-md);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--text-heading);
}

/* ==========================================================================
   KOMPONENTY SZABLONÓW I STRUKTURALNE KLASY POMOCNICZE
   ========================================================================== */

.content-card-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.content-card-panel:last-child {
  margin-bottom: 0;
}

.content-card-title {
  font-size: 1.4rem;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.feature-checklist {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.feature-checklist-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-checklist-item .bullet-cyan {
  color: var(--accent-red);
  font-weight: 700;
  flex-shrink: 0;
}

.feature-checklist-item .bullet-emerald {
  color: var(--accent-emerald);
  font-weight: 700;
  flex-shrink: 0;
}

.sticky-sidebar-col {
  position: sticky;
  top: 110px;
}

.sidebar-action-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.sidebar-action-card .sidebar-title {
  font-size: 1.3rem;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.sidebar-action-card .sidebar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.sidebar-tech-stack {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.sidebar-tech-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.process-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.process-step-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-red);
  font-weight: 800;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.process-step-title {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.process-step-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.security-notice-box {
  background: var(--accent-red-light);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius-md);
  padding: 18px;
}

.security-notice-title {
  color: var(--accent-danger);
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.security-notice-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-banner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.cta-banner-title {
  font-size: 1.35rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.cta-banner-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Panel diagramu architektury w Case Studies */
.architecture-panel {
  background: var(--terminal-bg);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.architecture-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.architecture-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-red);
}

.architecture-nda {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* Metadane wdrożenia (dl/dt/dd) */
.meta-definition-list {
  display: grid;
  gap: 14px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.meta-definition-dt {
  color: var(--text-faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.meta-definition-dd {
  color: var(--text-heading);
  font-weight: 600;
  margin-top: 2px;
}

/* Karta usługi lokalnej (miasta Śląska) */
.city-service-card {
  background: var(--bg-surface);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.city-service-card strong {
  color: var(--text-heading);
  display: block;
  margin-bottom: 4px;
}

.city-service-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Opinie & Testimonials */
/* ==========================================================================
   DEDYKOWANA SEKCJA OPINII GOOGLE MAPS ZE SLIDEREM POZIOMYM
   ========================================================================== */
.testimonials-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
}

.google-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.google-icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.google-trust-badge .stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.google-trust-badge .score {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.google-trust-badge .count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-slider-wrap {
  position: relative;
  margin-top: 32px;
}

.reviews-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 18px 8px 24px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
}

.reviews-slider::-webkit-scrollbar {
  height: 6px;
}

.reviews-slider::-webkit-scrollbar-track {
  background: transparent;
}

.reviews-slider::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}

.review-card {
  flex: 0 0 380px;
  max-width: 380px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.review-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 600;
}

.review-service-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 12px;
  display: inline-block;
  letter-spacing: 0.04em;
}

.review-quote {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text-heading);
  font-size: 0.9rem;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.review-author-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.review-author-info span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.review-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-nav-btn:hover {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  box-shadow: 0 4px 12px var(--accent-red-glow);
}

.testimonials-footer {
  text-align: center;
  margin-top: 32px;
}

/* ==========================================================================
   BANER RATUNKOWY MALWARE (ELEGANCKA KARTA ALARMOWA 24H)
   ========================================================================== */
.malware-banner {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(185, 28, 28, 0.03) 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.08);
}

[data-theme="dark"] .malware-banner {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 40px rgba(220, 38, 38, 0.12);
}

.malware-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-danger);
}

.malware-banner h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.malware-banner p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.malware-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .malware-cta-box {
  background: rgba(18, 25, 39, 0.9);
  border-color: rgba(239, 68, 68, 0.25);
}

.malware-phone {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-danger);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.malware-phone:hover {
  color: #b91c1c;
  transform: scale(1.03);
}

.btn-danger {
  background: var(--accent-danger);
  color: #ffffff !important;
  border: 1px solid transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-danger-glow);
}

.btn-danger:hover {
  background: #b91c1c;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.35);
}

/* FAQ Component */
.faq-grid {
  display: grid;
  gap: 16px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.faq-card:hover {
  border-color: var(--border-medium);
}

.faq-question {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-question-badge {
  color: var(--accent-red);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--accent-red-light);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.faq-answer {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 36px;
}

/* Developer Profil Card */
.engineer-profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.engineer-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(217, 20, 36, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.engineer-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.engineer-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 0 16px var(--accent-red-glow);
  border: 2px solid rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.engineer-card-meta h3 {
  font-size: 1.25rem;
  color: var(--text-heading);
  margin: 0 0 4px 0;
}

.engineer-card-meta p {
  font-size: 0.84rem;
  color: var(--accent-red);
  font-family: var(--font-mono);
  margin: 0;
}

.engineer-stats-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
}

.engineer-stats-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.engineer-stats-item span:first-child {
  color: var(--text-faint);
}

.engineer-stats-item strong {
  color: var(--text-heading);
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

/* Pomocnicze siatki layoutowe & Sekcja Sytuacji z Praktyki (Abonament SLA) */
.pricing-scenarios-wrap {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.pricing-scenarios-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.pricing-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.support-story-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.story-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.story-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  background: var(--accent-red-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 20, 36, 0.15);
}

.story-icon {
  font-size: 1.25rem;
}

.story-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 12px;
}

.story-problem {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-subtle);
}

.story-solution {
  font-size: 0.84rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 16px;
}

.story-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .story-metric {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: start;
}

.city-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.city-services-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Klasy pomocnicze utility */
.btn-block { width: 100%; }
.gap-12 { gap: 12px; }
.text-cyan { color: var(--accent-red); }
.text-emerald { color: var(--accent-emerald); }
.text-danger { color: var(--accent-danger); }
.text-white { color: var(--text-heading); }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.mb-18 { margin-bottom: 18px; }
.mb-24 { margin-bottom: 24px; }
.mb-30 { margin-bottom: 30px; }
.mb-32 { margin-bottom: 32px; }
.mb-36 { margin-bottom: 36px; }
.mb-48 { margin-bottom: 48px; }
.d-grid { display: grid; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-14 { gap: 14px; }
.mt-2 { margin-top: 2px; }
.mt-6 { margin-top: 6px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.max-w-960 { max-width: 960px; }

/* Wariant B: przykłady prac i krótsza ścieżka do kontaktu */
.hero-proof { display: grid; gap: 14px; }
.hero-proof-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hero-proof-head .eyebrow { margin: 0; }
.hero-proof-head strong { color: var(--text-heading); font-size: .9rem; }
.hero-proof-card { padding: 23px 25px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.hero-proof-card h2 { margin: 7px 0; font-size: 1.45rem; color: var(--text-heading); }
.hero-proof-card p { margin: 0 0 13px; color: var(--text-muted); line-height: 1.55; }
.hero-proof-card a, .hero-proof-all { color: var(--accent-red); font-weight: 700; text-decoration: none; }
.hero-proof-card a:hover, .hero-proof-all:hover { text-decoration: underline; }
.hero-proof-type { color: var(--text-faint); font: 700 .73rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.hero-proof-all { justify-self: end; }
.trust-grid-v2 { grid-template-columns: repeat(3, 1fr); }
.case-visual-v2 { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; }
.case-visual-v2 strong { color: var(--text-heading); font-size: 1.55rem; line-height: 1.2; }
.case-visual-v2 > span:last-child { color: var(--text-muted); font-size: .82rem; }
.pricing-more-v2 { margin-top: 28px; text-align: center; color: var(--text-muted); }
.pricing-more-v2 .service-link { display: inline-block; margin-top: 8px; }
.review-source-v2 { background: var(--bg-surface); border-block: 1px solid var(--border-subtle); }
.review-source-inner-v2 { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.review-source-inner-v2 .section-title { margin: 10px 0; }
.review-source-inner-v2 .section-lead { margin: 0; }
.form-mailto-link { color: var(--accent-red); font-weight: 700; text-decoration: underline; }

/* Ścieżki dla klientów i ich strony szczegółowe */
.journey-section { background: var(--bg-surface); border-block: 1px solid var(--border-subtle); }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.journey-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .3s ease; }
.journey-card:hover { border-color: var(--border-medium); transform: translateY(-4px); box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.08)); }
.journey-card h3 a { color: inherit; text-decoration: none; transition: color .2s ease; }
.journey-card h3 a:hover, .journey-card h3 a:focus-visible { color: var(--accent-red); }

.journey-card .eyebrow { font-size: .72rem; }
.journey-card h3, .journey-card h2 { color: var(--text-heading); font-size: 1.35rem; line-height: 1.25; margin: 6px 0 12px; }
.journey-card p { color: var(--text-muted); line-height: 1.6; margin: 0 0 22px; flex: 1; }
.journey-icon { width: 48px; height: 48px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); display: grid; place-items: center; color: var(--accent-red); margin-bottom: 20px; }
.journey-page-head { max-width: 860px; }
.journey-page-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); gap: 30px; align-items: start; }
.journey-page-grid .content-card-panel p { color: var(--text-muted); line-height: 1.65; }
.journey-page-grid .content-card-panel .service-link { margin-top: 14px; }
.journey-page-aside { position: sticky; top: 120px; }
.journey-related { margin-top: 18px; }
.service-icon-box svg { display: block; flex: none; }

/* Hero: przenikające hasła i animowany zakres współpracy. */
.hero-rework { padding: 48px 0 64px; }
.hero-rework .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .95fr); gap: 42px; }
.hero-rework .hero-content { min-width: 0; }
.hero-intro-label { color: var(--text-faint); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; margin-bottom: 20px; }
.hero-intro-label > span { margin-inline: 6px; color: var(--accent-red); }
.hero-rework .hero-headline { display: grid; font-size: clamp(2rem, 3.4vw, 3.05rem); line-height: 1.14; letter-spacing: -.035em; margin-bottom: 12px; }
.hero-headline-slide { grid-area: 1 / 1; align-self: start; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s; pointer-events: none; }
.hero-headline-slide > span { display: block; }
.hero-headline-slide.is-current { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-rotator-controls { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.hero-rotator-controls[hidden] { display: none; }
.hero-slide-buttons { display: flex; gap: 2px; }
.hero-slide-button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 7px; cursor: pointer; }
.hero-slide-button > span { width: 20px; height: 4px; border-radius: 4px; background: var(--border-strong); transition: background .3s; }
.hero-slide-button.is-current > span { background: var(--accent-red); }
.hero-motion-toggle { display: inline-flex; gap: 7px; align-items: center; min-height: 32px; border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: .76rem; padding: 5px 8px; border-radius: 6px; cursor: pointer; }
.hero-motion-toggle:hover { color: var(--text-heading); background: var(--bg-surface); }
.hero-motion-toggle:disabled { cursor: default; }
.hero-slide-button:focus-visible, .hero-motion-toggle:focus-visible, .hero-module:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 4px; }
.hero-play-icon { display: none; }
.hero-paused .hero-play-icon { display: block; }
.hero-paused .hero-pause-icon { display: none; }
.hero-rework .hero-desc { font-size: 1.03rem; line-height: 1.68; margin-bottom: 14px; }
.hero-support-copy { color: var(--text-muted); font-size: .98rem; line-height: 1.65; margin: 0 0 26px; }
.hero-support-copy strong { color: var(--text-heading); font-weight: 600; }
.hero-rework .hero-actions { gap: 12px; margin-bottom: 20px; }
.hero-rework .hero-actions .btn { padding-inline: 18px; }
.hero-rework .hero-geo-note { font-size: .8rem; }
.hero-system { min-width: 0; }
.hero-system-window { border-radius: 20px; }
.hero-system-bar { font-size: .69rem; padding: 13px 19px; }
.hero-system-mark { color: var(--accent-red); display: flex; }
.hero-system-body { padding: 23px; }
.hero-system-heading { margin: 0 0 20px; }
.hero-system-heading .eyebrow { font-size: .65rem; margin-bottom: 7px; }
.hero-system-heading h2 { color: var(--text-heading); font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 6px; }
.hero-system-heading > p:last-child { color: var(--text-faint); font-size: .83rem; }
.hero-module-list { display: grid; gap: 13px; position: relative; }
.hero-module-list::before { content: ''; position: absolute; top: 30px; bottom: 30px; left: 32px; width: 1px; background: var(--border-strong); }
.hero-module { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 14px; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--bg-card); color: var(--text-heading); text-decoration: none; box-shadow: var(--shadow-sm); transition: background .6s ease, border-color .6s ease, box-shadow .6s ease; min-width: 0; isolation: isolate; }
.hero-module.is-current { border-color: var(--accent-red); background: var(--bg-card-hover); box-shadow: 0 0 0 1px var(--accent-red-light), var(--shadow-sm); }
.hero-module::after { content: ''; position: absolute; bottom: -1px; left: 16px; width: 25px; height: 2px; background: var(--accent-red); border-radius: 3px; opacity: 0; pointer-events: none; }
.hero-module.is-current::after { opacity: 1; animation: hero-data-travel 3.5s ease-in-out infinite; animation-play-state: paused; }
.hero-running .hero-module.is-current::after { animation-play-state: running; }
.hero-module:hover { border-color: var(--accent-red); background: var(--bg-card-hover); }
.hero-module-icon { position: relative; flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--text-muted); background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 9px; transition: color .6s, background .6s; }
.hero-module.is-current .hero-module-icon, .hero-module:hover .hero-module-icon { color: var(--accent-red); background: var(--accent-red-light); }
.hero-module-copy { display: grid; gap: 4px; flex: 1; min-width: 0; }
.hero-module-copy > strong { font-size: .87rem; line-height: 1.3; }
.hero-module-copy > span { color: var(--text-muted); font-size: .74rem; line-height: 1.45; }
.hero-module-tag { font-family: var(--font-mono); font-size: .57rem; letter-spacing: .05em; color: var(--text-muted); background: var(--bg-surface); border: 1px solid var(--border-subtle); padding: 4px 5px; border-radius: 4px; }
.hero-module-arrow { display: flex; flex: 0 0 15px; color: var(--text-faint); }
.hero-module:hover .hero-module-arrow { color: var(--accent-red); }
.hero-system-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--border-subtle); text-align: center; }
.hero-system-values > div { min-width: 0; }
.hero-system-values strong { display: block; font-size: 1rem; color: var(--text-heading); }
.hero-system-values span { display: block; margin-top: 4px; color: var(--text-faint); font-size: .69rem; }
@keyframes hero-data-travel { 0% { left: 16px; opacity: 0; } 20% { opacity: .8; } 80% { opacity: .8; } 100% { left: calc(100% - 41px); opacity: 0; } }

/* Doprecyzowanie układu na podstawie uwag do widoku B. */
#abonament { padding-bottom: 24px; }
#opinie.review-source-v2 { padding-top: 38px; padding-bottom: 50px; }

.hero-rework { min-height: 70vh; min-height: 70svh; display: flex; align-items: center; padding-block: 36px; }
.hero-rework > .container { flex: none; }
.hero-rework .hero-grid { align-items: center; }

.hero-motion-toggle { position: relative; display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 50%; }
.hero-countdown-ring { position: absolute; inset: 0; width: 36px; height: 36px; transform: rotate(-90deg); fill: none; pointer-events: none; }
.hero-countdown-track, .hero-countdown-progress { stroke-width: 2.5px; }
.hero-countdown-track { stroke: var(--border-strong); }
.hero-countdown-progress { stroke: var(--accent-red); stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 0; }
.hero-toggle-glyph { position: relative; z-index: 1; }
.hero-control-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.footer-business-details { margin-top: 20px; font-size: .82rem; color: var(--text-faint); }
.footer-review-item { margin-top: 14px; }
.footer-review-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); text-decoration: none; }
.footer-review-link svg { color: var(--accent-red); fill: var(--accent-red-light); }
.footer-review-link:hover { color: var(--accent-red); text-decoration: underline; }

/* ==========================================================================
   MODERN CASE STUDY SHOWCASE & BROWSER MOCKUPS (Mastafu Portfolio v4)
   ========================================================================== */

/* Karta w siatce (Listing / Homepage) */
.portfolio-filters {
  margin: 0 0 28px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.portfolio-filters-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.portfolio-filters-kicker {
  color: var(--accent-red);
  font: 700 .7rem var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portfolio-filters-heading h2 {
  margin: 5px 0 0;
  color: var(--text-heading);
  font-size: 1.25rem;
}

.portfolio-results {
  margin: 0;
  color: var(--text-muted);
  font-size: .85rem;
  white-space: nowrap;
}

.portfolio-results strong { color: var(--accent-red); }

.portfolio-filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
}

.portfolio-filter-field { min-width: 0; }
.portfolio-filter-field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 700;
}

.portfolio-filter-field input,
.portfolio-filter-field select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: var(--text-main);
  background: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .86rem;
}

.portfolio-filter-field input::placeholder { color: var(--text-faint); }
.portfolio-filter-field :is(input, select):hover { border-color: var(--border-strong); }
.portfolio-filter-field :is(input, select):focus-visible,
.portfolio-filter-reset:focus-visible,
.portfolio-empty button:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 2px;
}

.portfolio-filter-reset,
.portfolio-empty button {
  padding: 0;
  color: var(--accent-red);
  background: none;
  border: 0;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}

.portfolio-filter-reset { margin-top: 16px; }
.portfolio-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 16px 10px 0 0;
  padding: 7px 10px 7px 13px;
  color: var(--accent-red);
  background: var(--accent-red-light);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  font-size: .8rem;
}
.portfolio-active-tag button {
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.portfolio-active-tag button:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 2px; }
.portfolio-filter-reset:hover,
.portfolio-empty button:hover { text-decoration: underline; }
.portfolio-empty {
  margin: 0 0 28px;
  padding: 42px 20px;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}
.portfolio-empty strong { color: var(--text-heading); font-size: 1.1rem; }
.portfolio-empty p { margin: 8px 0 16px; color: var(--text-muted); }
.portfolio-empty[hidden],
.portfolio-active-tag[hidden],
.portfolio-filter-reset[hidden],
.case-card-v2[hidden] { display: none !important; }

.case-card-v2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-card-v2:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.35), 0 0 20px rgba(220, 38, 38, 0.08);
}

.case-visual-mockup {
  position: relative;
  background: #090e17;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-address {
  color: var(--text-muted);
  font-size: 0.68rem;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.mockup-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #020617;
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card-v2:hover .mockup-img {
  transform: scale(1.04);
}

/* Duży widok pojedynczego studium (Single Case Study Showcase) */
.case-showcase-container {
  margin-bottom: 40px;
}

.showcase-browser-window {
  background: #0b1120;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.showcase-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #070b14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-dots {
  display: flex;
  gap: 7px;
}

.showcase-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.showcase-dot.red { background: #ef4444; }
.showcase-dot.yellow { background: #f59e0b; }
.showcase-dot.green { background: #10b981; }

.showcase-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-address svg {
  color: var(--accent);
  flex-shrink: 0;
}

.showcase-status-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.showcase-screen {
  position: relative;
  width: 100%;
  background: #020617;
  max-height: 600px;
  overflow: hidden;
}

.showcase-desktop-img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Pływająca makieta mobilna (Floating Mobile Frame) */
.showcase-mobile-floating {
  position: absolute;
  right: 28px;
  bottom: -20px;
  width: 190px;
  background: #020617;
  border: 4px solid #1e293b;
  border-radius: 28px;
  box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 5;
  transition: transform 0.3s ease;
}

.showcase-mobile-floating:hover {
  transform: translateY(-8px) scale(1.03);
}

.phone-speaker {
  width: 36px;
  height: 4px;
  background: #334155;
  border-radius: 999px;
  margin: 8px auto 6px;
}

.phone-screen {
  width: 100%;
  aspect-ratio: 9 / 18;
  overflow: hidden;
  background: #000;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.showcase-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 8px 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.showcase-live-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.showcase-live-link:hover {
  text-decoration: underline;
}

.showcase-internal-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   HERO: zdjęcie w kształcie pieczęci (wariant v4)
   ========================================================================== */
:root { --seal-a: #fef2f2; --seal-b: #f2d6d2; --seal-c: #f7f4ee; --seal-ring: var(--accent-red); }
[data-theme="dark"] { --seal-a: #5a1119; --seal-b: #8c1a28; --seal-c: #3a0c12; --seal-ring: #ff6b7a; }
.hero-portrait { position: relative; width: min(100%, 520px); aspect-ratio: 75 / 106.62; margin-left: auto; isolation: isolate; }
/* Trzy obrysy, jeden cykl 18 s: każdy pulsuje 4 s, między pulsami 2 s przerwy. overflow: visible, żeby kreska nie była ucinana na krawędzi SVG. */
.hero-seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--seal-ring); stroke-width: .9; opacity: 0; transform-origin: 50% 50%; animation: hero-seal-pulse 18s cubic-bezier(.22,.61,.36,1) infinite; will-change: transform, opacity; z-index: 0; }
.hero-seal-ring-2 { animation-delay: 6s; }
.hero-seal-ring-3 { animation-delay: 12s; }
.hero-seal-fill { position: absolute; inset: 0; clip-path: url(#hero-seal-clip); background: linear-gradient(135deg, var(--seal-a) 0%, var(--seal-b) 45%, var(--seal-c) 100%); z-index: 0; }
/* Zdjęcie: picture jest szersze o 26% w lewo (miejsce na rękę) i zaczyna się 7% niżej (zapas nad czapką).
   Maska = pieczęć (wyrównana do kontenera) + prostokąt tylko po lewej (ręka i ramię poza blobem).
   Prawy bok i dół sylwetki przycina pieczęć. */
.hero-portrait picture { position: absolute; top: 7%; right: 0; bottom: 0; left: -26%; display: block; z-index: 1;
  -webkit-mask-image: var(--seal-mask), linear-gradient(#000, #000); mask-image: var(--seal-mask), linear-gradient(#000, #000);
  -webkit-mask-size: calc(100% / 1.26) calc(100% / 0.93), 44% 64%; mask-size: calc(100% / 1.26) calc(100% / 0.93), 44% 64%;
  -webkit-mask-position: right bottom, left top; mask-position: right bottom, left top;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: source-over; mask-composite: add; }
.hero-photo { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; display: block; }
.hero-paused .hero-seal-ring { animation-play-state: paused; }
@keyframes hero-seal-pulse { 0% { transform: scale(1); opacity: 0; } 4% { opacity: .55; } 18% { opacity: 0; } 22.2% { transform: scale(1.18); opacity: 0; } 100% { transform: scale(1.18); opacity: 0; } }

.journey-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hero-rework { overflow-x: clip; }

/* ==========================================================================
   NAWIGACJA: hover i stan aktywny (wariant v4)
   pasek na dolnej krawędzi nagłówka, w kolorze i grubości górnej belki (3px, czerwień z logo)
   ========================================================================== */
.nav-desktop .nav-link { display: inline-flex; align-items: center; height: 80px; padding: 0 2px; white-space: nowrap; transition: color .25s ease; }
.nav-desktop .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 0; background: var(--accent-red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .32s cubic-bezier(.22,.61,.36,1); }
.nav-desktop .nav-link:hover, .nav-desktop .nav-link:focus-visible, .nav-desktop .nav-link[aria-current="page"] { color: var(--text-heading); }
.nav-desktop .nav-link:hover::after, .nav-desktop .nav-link:focus-visible::after, .nav-desktop .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-desktop .nav-link:focus-visible { outline: none; }
.mobile-nav-drawer .nav-link[aria-current="page"] { color: var(--text-heading); border-left: 3px solid var(--accent-red); padding-left: 10px; }

/* ==========================================================================
   MEDIA QUERIES
   Wszystkie zapytania w jednym miejscu: najpierw min-width (rosnąco), potem
   max-width od najszerszego do najwęższego, na końcu preferencje użytkownika.
   Węższy ekran nadpisuje szerszy, więc kolejność nie może być zmieniana.
   ========================================================================== */

@media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
  }

  .mobile-nav-drawer,
  .mobile-nav-drawer.open {
    display: none !important;
  }
}

@media (max-width: 1680px) {
  .section {padding: 20px 0}
}

@media (max-width: 1200px) {
  .journey-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}

@media (max-width: 1100px) and (min-width: 1025px) {
  .hero-rework .hero-grid { gap: 24px; }

  .hero-system-body { padding: 18px; }

  .hero-module-tag { display: none; }
}

@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav-drawer.open {
    display: flex !important;
  }

  .main-content > .section:first-of-type {padding-top: 10px}

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid-v2 { grid-template-columns: repeat(2, 1fr); }

  .hero-rework .hero-grid { grid-template-columns: 1fr; gap: 36px; }

  .hero-rework .hero-headline { max-width: 700px; font-size: clamp(2rem, 5vw, 3.05rem); }

  .hero-copy { max-width: 700px; }

  .hero-system { width: 100%; max-width: 700px; }

  .hero-portrait { margin: 0 auto; width: min(100%, 300px); }

  .hero-portrait picture { left: -14%; top: 5%; -webkit-mask-size: calc(100% / 1.14) calc(100% / 0.95), 40% 64%; mask-size: calc(100% / 1.14) calc(100% / 0.95), 40% 64%; }
}

@media (max-width: 960px) {
  .pricing-grid,
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }

  .about-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .city-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .malware-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }

  .journey-grid:not(.journey-grid-4) { grid-template-columns: 1fr; }

  .journey-page-grid { grid-template-columns: 1fr; }

  .journey-page-aside { position: static; }

  .portfolio-filter-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .showcase-mobile-floating {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-actions .phone-quick-link {
    display: none !important;
  }

  .header-actions .header-cta-btn {
    display: none !important;
  }

  .theme-toggle .theme-toggle-label {
    display: none;
  }

  .theme-toggle {
    padding: 7px 10px;
  }

  .header-inner {
    height: 64px;
  }

  .brand-logo-seal svg {
    width: 22px;
    height: 31px;
  }

  .brand-masta {
    font-size: 1.25rem;
  }

  .brand-design {
    font-size: 0.6rem;
  }

  .mobile-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 680px) {
  .pricing-scenarios-grid {
    grid-template-columns: 1fr;
  }

  .form-panel,
  .sidebar-action-card,
  .content-card-panel {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex: 0 0 86vw;
    max-width: 86vw;
  }

  .faq-answer {
    padding-left: 0;
  }

  .city-services-subgrid {
    grid-template-columns: 1fr;
  }

  .service-process-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid-v2 { grid-template-columns: 1fr; }

  .review-source-inner-v2 { align-items: flex-start; flex-direction: column; }

  .hero-proof-head { flex-direction: column; gap: 4px; }

  .hero-proof-card { padding: 20px; }

  .journey-card { padding: 24px; }

  .hero-proof { display: none; }

  .hero-rework { padding: 32px 0 40px; }

  .hero-intro-label { font-size: .69rem; margin-bottom: 17px; }

  .hero-rework .hero-headline { font-size: clamp(1.85rem, 7.7vw, 2.45rem); }

  .hero-rework .hero-desc, .hero-support-copy { font-size: .97rem; }

  .hero-system-body { padding: 18px 14px; }

  .hero-system-bar { padding-inline: 14px; font-size: .61rem; }

  .hero-module { padding: 14px 11px; gap: 10px; }

  .hero-module-tag { display: none; }

  .hero-module-copy > strong { font-size: .86rem; }

  .hero-module-copy > span { font-size: .73rem; }

  .hero-module-list::before { left: 29px; }

  .hero-system-values { gap: 6px; }

  .hero-system-values strong { font-size: .95rem; }

  .hero-rework { min-height: 70svh; padding-block: 32px 40px; }

  .journey-grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .portfolio-filters { padding: 18px; }

  .portfolio-filters-heading { align-items: flex-start; flex-direction: column; gap: 8px; }

  .portfolio-filter-controls { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-card { transition: none; }

  .journey-card:hover { transform: none; }

  .hero-rework *, .hero-rework *::before, .hero-rework *::after { animation: none !important; transition: none !important; }

  .hero-seal-ring { animation: none; opacity: .3; }

  .hero-seal-ring-2, .hero-seal-ring-3 { display: none; }

  .nav-desktop .nav-link, .nav-desktop .nav-link::after { transition: none; }
}
