/*
Theme Name: Strefa Wizerunku
Theme URI: https://strefawizerunku.pl
Author: Strefa Wizerunku
Description: Profesjonalny motyw dla Strefa Wizerunku — strony internetowe i zarządzanie reputacją online.
Version: 2.0
License: Private
Text Domain: strefawizerunku
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --bg:        10, 10, 15;
  --fg:        250, 250, 255;
  --primary:   6, 182, 212;
  --accent:    14, 165, 233;
  --muted:     30, 30, 40;
  --muted-fg:  156, 163, 175;
  --border:    45, 45, 60;
  --input:     20, 20, 30;
  --card:      20, 20, 30;
  --success:   34, 197, 94;
  --error:     239, 68, 68;
  --warning:   251, 191, 36;
  --grid:      30, 30, 40;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: rgb(var(--bg));
  color: rgb(var(--fg));
  cursor: default;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
.sw-footer { margin-top: auto; width: 100%; }

/* Background grid as fixed pseudo-layer — stable on Safari (background-attachment:fixed is buggy there) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: rgb(var(--bg));
  background-image:
    linear-gradient(rgba(var(--grid), 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--grid), 0.8) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: -1px -1px;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgb(var(--muted)); }
::-webkit-scrollbar-thumb { background: rgb(var(--primary)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--primary), .8); }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
@media (max-width: 768px) { .section { padding: 4rem 0; } }

.section-dark { background-color: transparent; position: relative; }
.section-red  { background-color: rgba(var(--error), .05); border-top: 1px solid rgba(var(--error), .2); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ═══════════════════════════════════════════
   GLASSMORPHISM
═══════════════════════════════════════════ */
.glass {
  background: rgba(20, 20, 30, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(var(--border), 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

/* ═══════════════════════════════════════════
   CARDS
═══════════════════════════════════════════ */
.card {
  background: linear-gradient(135deg, rgba(20,20,30,.9) 0%, rgba(30,30,40,.8) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(var(--border));
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  color: rgb(var(--fg));
}

.card-hover {
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary), .4);
  box-shadow: 0 20px 40px rgba(var(--primary), .1);
}

.card-featured {
  border: 2px solid rgba(var(--primary), .3);
}
.card-featured:hover {
  border-color: rgb(var(--primary));
  box-shadow: 0 20px 40px rgba(var(--primary), .15);
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .9375rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, rgb(var(--primary)), rgb(var(--accent)));
  color: rgb(var(--bg));
  box-shadow: 0 10px 25px rgba(var(--primary), .3);
}
.btn-primary:hover {
  background: linear-gradient(to right, rgba(var(--primary),.9), rgba(var(--accent),.9));
  box-shadow: 0 20px 40px rgba(var(--primary), .4);
  transform: translateY(-2px) scale(1.02);
}

.btn-outline {
  background: transparent;
  color: rgb(var(--primary));
  border: 1px solid rgb(var(--primary));
}
.btn-outline:hover {
  background: rgb(var(--primary));
  color: rgb(var(--bg));
}

.btn-ghost {
  background: transparent;
  color: rgb(var(--fg));
}
.btn-ghost:hover { background: rgba(var(--muted), 1); }

.btn-danger {
  background: rgba(var(--error), .1);
  color: rgb(var(--error));
  border: 1px solid rgba(var(--error), .3);
}

.btn-sm  { padding: .5rem 1rem; font-size: .875rem; border-radius: .375rem; }
.btn-lg  { padding: 1rem 2rem; font-size: 1.125rem; border-radius: .75rem; }

/* ═══════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════ */
.input, .textarea, .select {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: .5rem;
  border: 1px solid rgb(var(--border));
  background: rgb(var(--input));
  color: rgb(var(--fg));
  font-family: inherit;
  font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/* Restore dropdown arrow for selects (removed by appearance:none) */
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2306b6d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: rgb(var(--primary));
  box-shadow: 0 0 0 3px rgba(var(--primary), .2);
}
.input::placeholder, .textarea::placeholder { color: rgba(var(--muted-fg), .8); }
.textarea { resize: vertical; min-height: 120px; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════════ */
.text-primary  { color: rgb(var(--primary)); }
.text-accent   { color: rgb(var(--accent)); }
.text-muted    { color: rgb(var(--muted-fg)); }
.text-success  { color: rgb(var(--success)); }
.text-error    { color: rgb(var(--error)); }
.text-warning  { color: rgb(var(--warning)); }
.text-fg       { color: rgb(var(--fg)); }
.font-bold     { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-center   { text-align: center; }
.text-sm       { font-size: .875rem; }
.text-xs       { font-size: .75rem; }
.text-lg       { font-size: 1.125rem; }
.text-xl       { font-size: 1.25rem; }
.text-2xl      { font-size: 1.5rem; }
.text-3xl      { font-size: 1.875rem; }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp  { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn  { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pulsate  { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes ping     { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes blobPulse{ 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.animate-fade-in   { animation: fadeIn   .6s ease-out; }
.animate-slide-up  { animation: slideUp  .6s ease-out; }
.animate-scale-in  { animation: scaleIn  .4s ease-out; }
.animate-pulse     { animation: pulsate  3s infinite; }
.animate-ping      { animation: ping     1s cubic-bezier(0, 0, .2, 1) infinite; }
.animate-spin      { animation: spin     .6s linear infinite; }

/* Scroll-triggered fade-in — only when JS is ready */
body.js-ready .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
body.js-ready .fade-up.visible {
  opacity: 1;
  transform: none;
}

/* Reveal variants — share the same IntersectionObserver (.visible) */
body.js-ready .reveal { opacity: 0; transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
body.js-ready .reveal-scale  { transform: scale(.92); }
body.js-ready .reveal-left   { transform: translateX(-40px); }
body.js-ready .reveal-right  { transform: translateX(40px); }
body.js-ready .reveal-up     { transform: translateY(40px); }
body.js-ready .reveal.visible { opacity: 1; transform: none; }

/* Stagger: children animate in sequence when parent is revealed */
body.js-ready .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1); }
body.js-ready .stagger.visible > * { opacity: 1; transform: none; }
body.js-ready .stagger.visible > *:nth-child(1) { transition-delay: .00s; }
body.js-ready .stagger.visible > *:nth-child(2) { transition-delay: .07s; }
body.js-ready .stagger.visible > *:nth-child(3) { transition-delay: .14s; }
body.js-ready .stagger.visible > *:nth-child(4) { transition-delay: .21s; }
body.js-ready .stagger.visible > *:nth-child(5) { transition-delay: .28s; }
body.js-ready .stagger.visible > *:nth-child(6) { transition-delay: .35s; }

/* ═══════════════════════════════════════════
   3D TILT CARDS
═══════════════════════════════════════════ */
.tilt {
  transform-style: preserve-3d;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
  will-change: transform;
}
.tilt-inner { transform: translateZ(40px); transform-style: preserve-3d; }
.tilt.tilting { transition: box-shadow .25s ease; }
.tilt-glare {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,.18), transparent 45%);
  transition: opacity .25s ease;
  z-index: 2;
}
.tilt:hover .tilt-glare { opacity: 1; }

/* ═══════════════════════════════════════════
   GLOW ACCENTS (hero / CTA)
═══════════════════════════════════════════ */
.glow-accent { position: relative; }
.glow-accent::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -30%;
  width: 60%; height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--primary),.35), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  animation: pulsate 4s ease-in-out infinite;
}

/* Section smooth transitions — gradient bleed */
.section + .section-dark,
.section-dark + .section {
  border-top: none;
}
.section::after,
.section-dark::after,
.section-sm::after {
  content: '';
  display: block;
  height: 0;
}

/* Smooth colour bleed between adjacent sections */
.section + .section-dark { box-shadow: inset 0 8px 32px rgba(0,0,0,.18); }
.section-dark + .section { box-shadow: inset 0 8px 32px rgba(0,0,0,.12); }

/* ═══════════════════════════════════════════
   ACTIVE NAV STATE
═══════════════════════════════════════════ */
.sw-nav-links a.active,
.sw-nav-links a.current-menu-item,
.sw-nav-links a[aria-current="page"] {
  color: rgb(var(--primary));
  background: rgba(var(--primary), .1);
}
.sw-mobile-nav a.active,
.sw-mobile-nav a.current-menu-item {
  color: rgb(var(--primary));
  background: rgba(var(--primary), .08);
  border-left-color: rgb(var(--primary));
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.sw-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgb(var(--border));
  transition: box-shadow .3s;
}
.sw-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.5); }

.sw-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .sw-nav-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .sw-nav-inner { padding: 0 2rem; } }

/* Logo */
.sw-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  transition: opacity .2s;
}
.sw-logo:hover { opacity: .8; }

.sw-logo-icon {
  width: 2.5rem; height: 2.5rem;
  background: rgb(var(--primary));
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
  flex-shrink: 0;
}
.sw-logo:hover .sw-logo-icon { transform: scale(1.05); }
.sw-logo-icon svg { width: 1.5rem; height: 1.5rem; color: #fff; }

.sw-logo-text { line-height: 1.2; }
.sw-logo-name { font-weight: 700; font-size: 1.125rem; color: rgb(var(--fg)); display: block; }
.sw-logo-sub  { font-size: .75rem; color: rgb(var(--primary)); font-weight: 500; display: block; }

/* Desktop links */
.sw-nav-links {
  display: none;
  align-items: center;
  gap: .25rem;
}
@media (min-width: 768px) { .sw-nav-links { display: flex; } }

.sw-nav-links a {
  padding: .5rem 1rem;
  border-radius: .5rem;
  font-weight: 500;
  font-size: .9375rem;
  color: rgb(var(--fg));
  text-decoration: none;
  transition: color .2s, background .2s;
}
.sw-nav-links a:hover,
.sw-nav-links a.current-menu-item { color: rgb(var(--primary)); background: rgba(var(--primary), .1); }

/* CTA group */
.sw-nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sw-nav-phone {
  display: none;
}
@media (min-width: 640px) { .sw-nav-phone { display: inline-flex; } }

/* Hamburger */
.sw-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 2.5rem; height: 2.5rem;
  background: none; border: none;
  padding: .375rem;
  cursor: pointer;
  align-items: center; justify-content: center;
}
@media (min-width: 768px) { .sw-hamburger { display: none; } }
.sw-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgb(var(--fg));
  border-radius: 9999px;
  transition: all .3s;
}
.sw-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sw-hamburger.open span:nth-child(2) { opacity: 0; }
.sw-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.sw-overlay {
  display: none;
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,.6);
  z-index: 90;
}
.sw-overlay.open { display: block; }

/* Mobile drawer */
.sw-mobile-nav {
  display: none;
  position: fixed;
  top: 5rem; left: 0; right: 0;
  z-index: 95;
  background: rgba(20,20,30,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgb(var(--border));
  padding: 1.5rem;
  flex-direction: column;
  gap: .5rem;
  transform: translateX(100%);
  transition: transform .3s ease, opacity .3s ease;
  opacity: 0;
}
.sw-mobile-nav.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.sw-mobile-nav a {
  display: block;
  padding: .875rem 1rem;
  border-radius: .75rem;
  font-weight: 500;
  color: rgb(var(--fg));
  text-decoration: none;
  transition: all .2s;
  border-left: 3px solid transparent;
}
.sw-mobile-nav a:hover,
.sw-mobile-nav a.current-menu-item {
  color: rgb(var(--primary));
  background: rgba(var(--primary), .08);
  border-left-color: rgb(var(--primary));
}
.sw-mobile-nav .btn { text-align: center; margin-top: .5rem; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, rgba(var(--primary),.1) 0%, transparent 50%, rgba(var(--accent),.1) 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(100px);
  pointer-events: none;
}
.hero-blob-1 {
  top: 25%; left: 25%;
  width: 24rem; height: 24rem;
  background: rgba(var(--primary), .2);
  animation: blobPulse 3s ease-in-out infinite;
}
.hero-blob-2 {
  bottom: 25%; right: 25%;
  width: 38rem; height: 38rem;
  background: rgba(var(--accent), .2);
  filter: blur(120px);
  animation: blobPulse 3s ease-in-out infinite;
  animation-delay: 2s;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) { .hero-content { padding: 4rem 1.5rem; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: rgba(var(--primary), .1);
  border: 1px solid rgba(var(--primary), .3);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  color: rgb(var(--primary));
  margin-bottom: 2rem;
}
.hero-badge-dot { width: 8px; height: 8px; background: rgb(var(--primary)); border-radius: 9999px; animation: pulsate 2s infinite; }

.hero-title {
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 700;
  color: rgb(var(--fg));
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-title .highlight { color: rgb(var(--primary)); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgb(var(--muted-fg));
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  background: rgb(var(--card));
  border: 1px solid rgb(var(--border));
  border-radius: 9999px;
  font-size: .875rem;
  color: rgb(var(--muted-fg));
}
.hero-tag svg { width: .875rem; height: .875rem; color: rgb(var(--primary)); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

.stat-val   { font-size: 1.875rem; font-weight: 700; color: rgb(var(--primary)); margin-bottom: .25rem; display: block; }
.stat-label { font-size: .875rem; color: rgb(var(--muted-fg)); display: block; }

/* ═══════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 4rem; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .875rem;
  background: rgba(var(--primary), .1);
  border: 1px solid rgba(var(--primary), .2);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  color: rgb(var(--primary));
  margin-bottom: 1rem;
}
.section-badge svg { width: 1rem; height: 1rem; }

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: rgb(var(--fg));
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.125rem;
  color: rgb(var(--muted-fg));
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   SERVICE CARDS
═══════════════════════════════════════════ */
.service-featured {
  padding: 2rem;
  transition: all .3s;
}
.service-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(var(--primary), .15);
}

.icon-box-lg {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgb(var(--primary)), #2563eb);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(var(--primary), .3);
}
.icon-box-lg svg { width: 1.75rem; height: 1.75rem; color: #fff; }

.icon-box-sm {
  width: 2.5rem; height: 2.5rem;
  border-radius: .75rem;
  background: rgba(var(--primary), .1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box-sm svg { width: 1.25rem; height: 1.25rem; color: rgb(var(--primary)); }

.icon-box-success {
  width: 2.75rem; height: 2.75rem;
  border-radius: .75rem;
  background: rgba(var(--success), .1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box-success svg { width: 1.25rem; height: 1.25rem; color: rgb(var(--success)); }

.service-sm {
  padding: 1.5rem;
  transition: all .3s;
}
.service-sm:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,0,0,.2); }
.service-sm svg { width: 2.5rem; height: 2.5rem; color: rgb(var(--primary)); margin-bottom: 1rem; }
.service-sm h3 { font-weight: 600; color: rgb(var(--fg)); margin-bottom: .5rem; }
.service-sm p  { font-size: .875rem; color: rgb(var(--muted-fg)); margin-bottom: 1rem; line-height: 1.6; }

/* ═══════════════════════════════════════════
   4 PILLAR CARDS
═══════════════════════════════════════════ */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  perspective: 1200px;
}
@media (min-width: 768px)  { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .pillar-grid { grid-template-columns: repeat(4, 1fr); } }

.pillar-card { padding: 1.75rem; position: relative; overflow: hidden; display: flex; }
.pillar-card .tilt-inner { display: flex; flex-direction: column; width: 100%; }
.pillar-head { display: flex; align-items: flex-start; gap: .875rem; margin-bottom: 1.1rem; }
.pillar-badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .03em;
  background: rgba(var(--primary),.12); color: rgb(var(--primary));
  padding: .2rem .55rem; border-radius: 9999px; display: inline-block;
}
.pillar-title { font-size: 1.25rem; font-weight: 700; margin-top: .4rem; line-height: 1.2; }
.pillar-desc  { color: rgb(var(--muted-fg)); line-height: 1.65; font-size: .9rem; margin-bottom: 1.1rem; }
.pillar-card .checklist { margin-bottom: 1.25rem; margin-top: auto; }
.pillar-card .checklist li { font-size: .82rem; }

/* Reputation (secondary) */
.reputation-block { margin-top: 3.5rem; }
.reputation-label {
  text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgb(var(--muted-fg)); margin-bottom: 1.5rem;
}
.rep-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.5rem; text-decoration: none;
}
.rep-card svg { color: rgb(var(--primary)); flex-shrink: 0; margin: 0; }
.rep-card h3 { font-size: .95rem; font-weight: 700; color: rgb(var(--fg)); margin-bottom: .25rem; }
.rep-card p  { font-size: .82rem; color: rgb(var(--muted-fg)); line-height: 1.55; margin: 0; }

.checklist { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.checklist li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: rgb(var(--muted-fg));
}
.checklist li svg { width: 1rem; height: 1rem; color: rgb(var(--success)); flex-shrink: 0; }

/* ═══════════════════════════════════════════
   WHY US
═══════════════════════════════════════════ */
.why-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.why-item h3 { font-weight: 600; color: rgb(var(--fg)); margin-bottom: .25rem; }
.why-item p  { font-size: .875rem; color: rgb(var(--muted-fg)); }

.case-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem;
}
.case-result { font-size: .875rem; font-weight: 600; color: rgb(var(--success)); }
.case-label  { font-size: .875rem; font-weight: 500; color: rgb(var(--fg)); }

.testimonial { padding: 1.5rem; border: 1px solid rgba(var(--primary),.3); text-align: center; }
.stars { display: flex; justify-content: center; gap: .25rem; margin-bottom: .75rem; }
.stars svg { width: 1rem; height: 1rem; color: rgb(var(--warning)); fill: rgb(var(--warning)); }
.testimonial q  { font-size: .875rem; color: rgb(var(--muted-fg)); font-style: italic; quotes: none; }
.testimonial cite { font-size: .75rem; color: rgb(var(--muted-fg)); display: block; margin-top: .5rem; }

/* ═══════════════════════════════════════════
   PLATFORMS GRID
═══════════════════════════════════════════ */
.platforms-label {
  text-align: center;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: rgb(var(--muted-fg));
  margin-bottom: 2rem;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (min-width: 480px) { .platform-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .platform-grid { grid-template-columns: repeat(6, 1fr); } }

.platform-item {
  padding: .75rem .5rem;
  text-align: center;
  transition: all .2s;
}
.platform-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.28); border-color: rgba(var(--primary),.35); }
.platform-icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; margin: 0 auto .5rem;
  transition: transform .2s ease;
}
.platform-item:hover .platform-icon { transform: scale(1.12); }
.platform-icon svg { width: 2rem; height: 2rem; display: block; }
.platform-item span { font-size: .75rem; font-weight: 600; color: rgb(var(--fg)); display: block; }

/* Partners / trust row */
.partners-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}
.partner-badge {
  display: flex; align-items: center; gap: .75rem;
  padding: .875rem 1.25rem; border-radius: .75rem;
  background: rgba(20,20,30,.7); border: 1px solid rgb(var(--border));
}
.partner-icon { width: 2rem; height: 2rem; flex-shrink: 0; }
.partner-icon svg { width: 2rem; height: 2rem; }
.partner-badge strong { display: block; font-size: .875rem; color: rgb(var(--fg)); }
.partner-badge span { font-size: .72rem; color: rgb(var(--muted-fg)); }

.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2rem;
}
.trust-logo { width: 2.5rem; height: 2.5rem; display: inline-flex; opacity: .85; transition: opacity .2s, transform .2s; }
.trust-logo:hover { opacity: 1; transform: translateY(-3px); }
.trust-logo svg { width: 2.5rem; height: 2.5rem; }

/* ═══════════════════════════════════════════
   CTA BLOCK
═══════════════════════════════════════════ */
.cta-block {
  padding: 2.5rem;
  text-align: center;
  border: 2px solid rgba(var(--primary),.3);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, rgba(var(--primary),.05), rgba(var(--accent),.05));
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
.cta-block p  { color: rgb(var(--muted-fg)); max-width: 40rem; margin: 0 auto 2rem; font-size: 1.125rem; }
.cta-block .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ═══════════════════════════════════════════
   PORTFOLIO CAROUSEL
═══════════════════════════════════════════ */
.portfolio-carousel-wrap {
  position: relative;
  padding: 0 2.5rem;
}
@media (max-width: 480px) { .portfolio-carousel-wrap { padding: 0; } }

.portfolio-carousel {
  overflow: hidden;
}
.portfolio-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}

.portfolio-slide {
  flex-shrink: 0;
  width: calc(33.333% - 1rem);
  overflow: hidden;
  transition: all .3s;
}
@media (max-width: 1024px) { .portfolio-slide { width: calc(50% - .75rem); } }
@media (max-width: 640px)  { .portfolio-slide { width: calc(100% - 0px); } }

.portfolio-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(var(--primary),.1);
}
.portfolio-slide:hover .portfolio-overlay { opacity: 1; }

.portfolio-preview {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: rgb(var(--muted));
  border-bottom: 1px solid rgb(var(--border));
}
.portfolio-iframe-container {
  position: absolute;
  top: 0; left: 0;
  width: 300%; height: 600px;
  overflow: hidden;
}
.portfolio-iframe {
  width: 100%;
  height: 600px;
  border: none;
  pointer-events: none;
  transform: scale(.3333);
  transform-origin: top left;
  opacity: 0;
  transition: opacity .5s ease;
  background: rgb(var(--card));
}
.portfolio-iframe.loaded { opacity: 1; }

/* Branded gradient placeholder (behind iframe / shown when embed blocked) */
.portfolio-ph,
.portfolio-mobile-preview .portfolio-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(var(--primary), .28), transparent 55%),
    radial-gradient(120% 120% at 80% 90%, rgba(var(--accent), .22), transparent 55%),
    linear-gradient(135deg, rgb(18,18,28), rgb(26,26,38));
}
.portfolio-ph-letter {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  color: rgb(var(--fg));
  text-shadow: 0 4px 24px rgba(var(--primary), .5);
}
.portfolio-ph-name {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(var(--fg), .85);
}
.portfolio-mobile-preview .portfolio-ph-letter { font-size: 1.75rem; }
.portfolio-mobile-preview .portfolio-ph-name   { font-size: .7rem; }
/* iframe container sits above placeholder */
.portfolio-iframe-container,
.portfolio-mobile-iframe-wrap { z-index: 1; }
.portfolio-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(0,0,0,.3), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.portfolio-info { padding: 1.25rem; }
.portfolio-cat {
  font-size: .7rem; font-weight: 700;
  background: rgba(var(--primary),.1); color: rgb(var(--primary));
  padding: .15rem .625rem; border-radius: 9999px;
  text-transform: uppercase; letter-spacing: .05em;
}
.portfolio-title { font-weight: 700; color: rgb(var(--fg)); margin: .5rem 0 .375rem; transition: color .2s; }
.portfolio-slide:hover .portfolio-title { color: rgb(var(--primary)); }
.portfolio-desc  { font-size: .875rem; color: rgb(var(--muted-fg)); margin-bottom: 1rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.portfolio-link  { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; color: rgb(var(--primary)); transition: gap .2s; }
.portfolio-link:hover { gap: .625rem; }
.portfolio-link svg { width: .875rem; height: .875rem; }

/* Arrow buttons */
.carousel-btn {
  position: absolute;
  top: 100px;
  width: 2.5rem; height: 2.5rem;
  background: rgb(var(--card));
  border: 1px solid rgb(var(--border));
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
  z-index: 10;
  color: rgb(var(--fg));
}
.carousel-btn:hover { border-color: rgb(var(--primary)); color: rgb(var(--primary)); }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-btn svg { width: 1.25rem; height: 1.25rem; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}
.carousel-dot {
  height: .5rem;
  border-radius: 9999px;
  background: rgb(var(--border));
  border: none;
  cursor: pointer;
  transition: all .3s;
  width: .5rem;
}
.carousel-dot.active { background: rgb(var(--primary)); width: 1.5rem; }

/* Mobile grid fallback */
.portfolio-mobile {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 480px) {
  .portfolio-carousel-wrap { display: none; }
  .portfolio-mobile { display: grid; }
}
.portfolio-mobile-item { overflow: hidden; text-decoration: none; transition: border-color .2s; }
.portfolio-mobile-item:hover { border-color: rgb(var(--primary)); }
.portfolio-mobile-preview { height: 100px; overflow: hidden; background: rgb(var(--muted)); position: relative; }
.portfolio-mobile-iframe-wrap { position: absolute; top: 0; left: 0; width: 300%; height: 300px; }
.portfolio-mobile-iframe { width: 100%; height: 300px; border: none; pointer-events: none; transform: scale(.3333); transform-origin: top left; }
.portfolio-mobile-info { padding: .75rem; }
.portfolio-mobile-info .portfolio-cat { display: block; margin-bottom: .25rem; }
.portfolio-mobile-title { font-size: .875rem; font-weight: 700; color: rgb(var(--fg)); }

/* ═══════════════════════════════════════════
   CRISIS LINE
═══════════════════════════════════════════ */
.crisis-section {
  padding: 3rem 0;
  background: rgba(var(--error), .05);
  border-top: 1px solid rgba(var(--error), .2);
  text-align: center;
}
.crisis-title { font-size: 1.25rem; font-weight: 700; color: rgb(var(--error)); }
.crisis-number {
  font-size: 2rem; font-weight: 700;
  color: rgb(var(--error));
  text-decoration: none;
  transition: opacity .2s;
  display: inline-block; margin-top: .5rem;
}
.crisis-number:hover { opacity: .8; }
.crisis-icon { width: 1.5rem; height: 1.5rem; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .contact-wrap { grid-template-columns: 1fr 1.5fr; } }

.contact-info { padding: 2rem; border-radius: 1rem; }
.contact-info h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }

.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item .ci-icon { flex-shrink: 0; margin-top: .2rem; color: rgb(var(--primary)); }
.contact-item .ci-icon svg { width: 1.125rem; height: 1.125rem; }
.contact-item strong { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .2rem; }
.contact-item a, .contact-item span { font-size: .875rem; color: rgb(var(--muted-fg)); }
.contact-item a:hover { color: rgb(var(--primary)); }

.contact-form-wrap { padding: 2rem; border-radius: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: .75rem; }
.form-group label { font-size: .8rem; font-weight: 600; color: rgb(var(--muted-fg)); }

#form-message {
  min-height: 1.25rem;
  font-size: .875rem;
  border-radius: .5rem;
  margin-bottom: .75rem;
  padding: .375rem .75rem;
}
.form-success { background: rgba(var(--success),.1); color: rgb(var(--success)); }
.form-error   { background: rgba(var(--error),.1);   color: rgb(var(--error)); }

/* ═══════════════════════════════════════════
   BLOG
═══════════════════════════════════════════ */
.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(var(--primary),.3); }

.blog-thumb { overflow: hidden; height: 180px; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }

.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; font-size: .75rem; color: rgb(var(--muted-fg)); margin-bottom: .75rem; }
.blog-cat { background: rgba(var(--primary),.1); color: rgb(var(--primary)); padding: .15rem .5rem; border-radius: 9999px; font-weight: 700; }
.blog-body h2, .blog-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: .75rem; }
.blog-body h2 a, .blog-body h3 a { color: rgb(var(--fg)); text-decoration: none; }
.blog-body h2 a:hover, .blog-body h3 a:hover { color: rgb(var(--primary)); }
.blog-body p  { font-size: .875rem; color: rgb(var(--muted-fg)); flex: 1; margin-bottom: 1rem; line-height: 1.6; }
.blog-link { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; color: rgb(var(--primary)); margin-top: auto; transition: gap .2s; }
.blog-link:hover { gap: .625rem; }
.blog-link svg { width: .875rem; height: .875rem; }

/* Single post */
.single-post { max-width: 760px; margin: 0 auto; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: rgb(var(--muted-fg)); margin-bottom: 2rem; flex-wrap: wrap; }
.breadcrumb a { color: rgb(var(--muted-fg)); text-decoration: none; }
.breadcrumb a:hover { color: rgb(var(--primary)); }
.post-meta-top { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; font-size: .8rem; color: rgb(var(--muted-fg)); margin-bottom: 1.25rem; }
.post-header h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.3; margin-bottom: 1rem; }
.post-lead { font-size: 1.125rem; color: rgb(var(--muted-fg)); line-height: 1.7; margin-bottom: 2rem; }
.post-featured-img { margin-bottom: 2.5rem; border-radius: 1rem; overflow: hidden; }
.post-featured-img img { width: 100%; height: auto; }
.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2rem; }
.post-tag { background: rgb(var(--muted)); border: 1px solid rgb(var(--border)); padding: .25rem .75rem; border-radius: 9999px; font-size: .8rem; color: rgb(var(--muted-fg)); text-decoration: none; }
.post-tag:hover { border-color: rgb(var(--primary)); color: rgb(var(--primary)); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgb(var(--border)); }
.post-nav a { text-decoration: none; display: flex; flex-direction: column; gap: .4rem; }
.post-nav-next { text-align: right; align-items: flex-end; }
.post-nav .nav-label { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: rgb(var(--muted-fg)); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.post-nav-next .nav-label { flex-direction: row-reverse; }
.post-nav a span.nav-title { font-size: .9rem; font-weight: 600; color: rgb(var(--fg)); line-height: 1.3; }
.post-nav a:hover .nav-title { color: rgb(var(--primary)); }

/* ═══════════════════════════════════════════
   BLOG PROSE
═══════════════════════════════════════════ */
.prose-article { color: rgb(var(--muted-fg)); line-height: 1.8; font-size: 1.0625rem; }
.prose-article p     { margin-bottom: 1.25rem; }
.prose-article h2    { color: rgb(var(--fg)); font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.prose-article h3    { color: rgb(var(--fg)); font-size: 1.2rem; font-weight: 600; margin: 2rem 0 .75rem; }
.prose-article ul, .prose-article ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose-article ul    { list-style-type: disc; }
.prose-article ol    { list-style-type: decimal; }
.prose-article li    { margin-bottom: .5rem; }
.prose-article strong{ color: rgb(var(--fg)); font-weight: 600; }
.prose-article a     { color: rgb(var(--primary)); text-decoration: underline; }
.prose-article em    { font-style: italic; }
.prose-article blockquote { border-left: 4px solid rgb(var(--primary)); padding-left: 1.5rem; margin: 1.5rem 0; color: rgb(var(--muted-fg)); font-style: italic; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   MEGA FOOTER (pływające nazwy usług)
═══════════════════════════════════════════ */
.sw-megafooter {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(var(--primary),.14), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(var(--accent),.12), transparent 55%),
    rgb(var(--card));
  border-top: 1px solid rgb(var(--border));
}
.sw-megafooter-label {
  text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgb(var(--primary)); margin-bottom: 1.5rem;
}
.sw-megafooter-links {
  display: flex; flex-direction: column; gap: .25rem;
  max-width: 900px; margin: 0 auto 2.5rem;
}
.sw-megafooter-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem .5rem;
  border-bottom: 1px solid rgba(var(--border),.6);
  text-decoration: none;
  color: rgba(var(--fg),.55);
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.01em;
  transition: color .3s ease, padding-left .3s ease;
}
.sw-megafooter-link svg { flex-shrink: 0; opacity: 0; transform: translateX(-12px); transition: opacity .3s ease, transform .3s ease, color .3s; }
.sw-megafooter-link:hover {
  color: rgb(var(--fg));
  padding-left: 1.25rem;
  text-shadow: 0 0 40px rgba(var(--primary),.4);
}
.sw-megafooter-link:hover svg { opacity: 1; transform: translateX(0); color: rgb(var(--primary)); }
.sw-megafooter-cta { display: flex; width: fit-content; margin: 0 auto; }

.sw-footer {
  background: rgb(var(--card));
  border-top: 1px solid rgb(var(--border));
}
.sw-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 0;
}
@media (min-width: 768px)  { .sw-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sw-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .footer-stars { display: flex; gap: .25rem; margin-bottom: .5rem; }
.footer-brand .footer-stars svg { width: 1rem; height: 1rem; color: rgb(var(--warning)); fill: rgb(var(--warning)); }
.footer-brand-name { font-size: 1.25rem; font-weight: 700; color: rgb(var(--fg)); }
.footer-brand-sub  { font-size: .875rem; color: rgb(var(--primary)); font-weight: 500; }
.footer-brand-desc { color: rgb(var(--muted-fg)); margin: 1.25rem 0; font-size: .9rem; line-height: 1.6; max-width: 28rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-badge { display: flex; align-items: center; gap: .5rem; font-size: .8rem; }
.footer-badge-dot { width: .5rem; height: .5rem; background: rgb(var(--success)); border-radius: 9999px; flex-shrink: 0; }
.footer-badge span { color: rgb(var(--muted-fg)); }

.footer-col h4 { font-weight: 600; color: rgb(var(--fg)); margin-bottom: 1rem; font-size: .9375rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col ul a { font-size: .875rem; color: rgb(var(--muted-fg)); text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: rgb(var(--primary)); }

.footer-contact-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: rgb(var(--muted-fg)); text-decoration: none; margin-bottom: .75rem; transition: color .2s; }
.footer-contact-item:hover { color: rgb(var(--primary)); }
.footer-contact-item svg { width: 1rem; height: 1rem; transition: transform .2s; }
.footer-contact-item:hover svg { transform: scale(1.1); }

.footer-admin { padding-top: .75rem; margin-top: .75rem; border-top: 1px solid rgb(var(--border)); font-size: .75rem; color: rgba(var(--muted-fg),.7); line-height: 1.6; }
.footer-admin a { transition: color .2s; }
.footer-admin a:hover { color: rgb(var(--primary)); }

.sw-footer-bottom {
  border-top: 1px solid rgb(var(--border));
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) { .sw-footer-bottom { flex-direction: row; justify-content: space-between; } }
.sw-footer-bottom p { font-size: .875rem; color: rgb(var(--muted-fg)); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .875rem; color: rgb(var(--muted-fg)); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: rgb(var(--primary)); }

/* ═══════════════════════════════════════════
   PHONE WIDGET
═══════════════════════════════════════════ */
.sw-phone-widget {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
}
.sw-phone-widget a {
  position: relative;
  display: block;
  text-decoration: none;
}
.sw-phone-ring {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgb(var(--primary)), rgb(var(--accent)));
  animation: ping 1s cubic-bezier(0,0,.2,1) infinite;
  opacity: .4;
}
.sw-phone-glow {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgb(var(--primary)), rgb(var(--accent)));
  animation: pulsate 3s ease-in-out infinite;
  opacity: .6;
}
.sw-phone-btn {
  position: relative;
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgb(var(--primary)), rgb(var(--accent)));
  box-shadow: 0 1rem 2.5rem rgba(var(--primary), .6);
  display: flex; align-items: center; justify-content: center;
  border: 4px solid rgb(var(--bg));
  transition: transform .3s;
}
.sw-phone-btn:hover { transform: scale(1.1); }
.sw-phone-btn svg { width: 2rem; height: 2rem; color: #fff; transition: transform .3s; }
.sw-phone-btn:hover svg { transform: rotate(12deg); }

.sw-phone-tooltip {
  position: absolute;
  right: calc(100% + 1rem);
  top: 50%; transform: translateY(-50%) translateX(.5rem);
  opacity: 0; pointer-events: none;
  transition: all .3s;
  white-space: nowrap;
}
.sw-phone-widget a:hover .sw-phone-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.sw-phone-tooltip-inner {
  background: rgb(var(--card));
  border: 2px solid rgba(var(--primary), .5);
  border-radius: 1rem;
  padding: .75rem 1rem;
  box-shadow: 0 1.5rem 3rem rgba(var(--primary), .3);
}
.sw-phone-tooltip-inner strong { font-size: .875rem; color: rgb(var(--fg)); display: block; }
.sw-phone-tooltip-inner span   { font-size: .75rem; color: rgb(var(--muted-fg)); }

/* ═══════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════ */
.sw-cookie {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(150%);
  z-index: 300;
  width: calc(100% - 2rem);
  max-width: 42rem;
  background: rgba(20,20,30,.95);
  border: 1px solid rgb(var(--border));
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.5);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.sw-cookie.visible { transform: translateX(-50%) translateY(0); }
.sw-cookie-body { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sw-cookie p { font-size: .875rem; color: rgb(var(--muted-fg)); line-height: 1.5; }
.sw-cookie p a { color: rgb(var(--primary)); text-decoration: underline; }
.sw-cookie p strong { color: rgb(var(--fg)); }
.sw-cookie-btns { display: flex; gap: .75rem; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-item {
  border: 1px solid rgba(var(--border), .5);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: rgba(var(--card), 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s;
}
.faq-item:hover {
  background: rgba(var(--card), 0.8);
  border-color: rgb(var(--primary));
}
.faq-q {
  width: 100%;
  background: transparent !important;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgb(var(--fg));
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: color .2s;
}
.faq-q::after { content: '+'; font-size: 1.5rem; color: rgb(var(--primary)); transition: transform .25s; line-height: 1; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.25rem 1rem; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: .9rem; color: rgb(var(--muted-fg)); line-height: 1.7; }

/* ═══════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════ */
.pagination { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 3rem; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem;
  border-radius: .5rem;
  background: rgb(var(--card)); border: 1px solid rgb(var(--border));
  color: rgb(var(--fg)); text-decoration: none; font-size: .875rem; transition: all .2s;
}
.page-numbers.current, .page-numbers:hover { background: rgb(var(--primary)); color: rgb(var(--bg)); border-color: rgb(var(--primary)); }
.page-numbers.dots { background: none; border: none; }

/* ═══════════════════════════════════════════
   WORDPRESS SPECIFICS
═══════════════════════════════════════════ */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: rgb(var(--muted-fg)); text-align: center; margin-top: .5rem; }

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.w-full  { width: 100%; }
.mt-2    { margin-top: .5rem; }
.mt-4    { margin-top: 1rem; }
.mt-8    { margin-top: 2rem; }
.mb-4    { margin-bottom: 1rem; }
.mb-8    { margin-bottom: 2rem; }
.gap-4   { gap: 1rem; }
.flex    { display: flex; }
.items-center { align-items: center; }
.flex-wrap    { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.rounded-full { border-radius: 9999px; }
.rounded-xl   { border-radius: .75rem; }
.rounded-2xl  { border-radius: 1rem; }

/* ═══════════════════════════════════════════
   LEGAL MODAL (Regulamin / Polityka / Cookies)
═══════════════════════════════════════════ */
.sw-modal-backdrop {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,.7);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, visibility .25s;
}
.sw-modal-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }

.sw-modal {
  background: rgb(var(--card));
  border: 1px solid rgb(var(--border));
  border-radius: 1rem;
  width: 100%; max-width: 680px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  transform: translateY(20px); opacity: 0;
  transition: transform .3s, opacity .3s;
  overflow: hidden;
}
.sw-modal-backdrop.open .sw-modal { transform: none; opacity: 1; }

.sw-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgb(var(--border));
  flex-shrink: 0;
}
.sw-modal-head h2 { font-size: 1.125rem; font-weight: 700; margin: 0; }
.sw-modal-close {
  width: 2rem; height: 2rem;
  background: rgba(var(--muted),1); border: none; border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgb(var(--muted-fg)); transition: all .2s;
  font-size: 1.25rem; line-height: 1;
}
.sw-modal-close:hover { background: rgba(var(--error),.1); color: rgb(var(--error)); }
.sw-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.sw-modal-body p  { color: rgb(var(--muted-fg)); font-size: .9rem; line-height: 1.8; margin-bottom: 1rem; }
.sw-modal-body h3 { font-size: 1rem; font-weight: 700; color: rgb(var(--fg)); margin: 1.5rem 0 .5rem; }

/* ═══════════════════════════════════════════
   SERVICE HERO (podstrony usług)
═══════════════════════════════════════════ */
.service-hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(135deg, rgba(var(--primary),.08) 0%, transparent 60%, rgba(var(--accent),.06) 100%);
  position: relative; overflow: hidden;
}
.service-hero-badge { margin-bottom: 1.5rem; }
.service-hero h1  { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; }
.service-hero p   { font-size: 1.125rem; color: rgb(var(--muted-fg)); line-height: 1.7; max-width: 42rem; margin-bottom: 2rem; }
.service-hero .btns { display: flex; flex-wrap: wrap; gap: 1rem; }

.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-item { display: flex; gap: .875rem; align-items: flex-start; padding: 1.25rem; }
.benefit-item h3 { font-size: .9375rem; font-weight: 600; margin-bottom: .25rem; }
.benefit-item p  { font-size: .85rem; color: rgb(var(--muted-fg)); line-height: 1.6; }

.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step  { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem 0; border-bottom: 1px solid rgb(var(--border)); }
.process-step:last-child { border-bottom: none; }
.step-num { font-size: 2rem; font-weight: 900; color: rgba(var(--primary),.25); line-height: 1; flex-shrink: 0; min-width: 3rem; text-align: center; }
.process-step h3 { font-weight: 600; margin-bottom: .375rem; }
.process-step p  { font-size: .875rem; color: rgb(var(--muted-fg)); line-height: 1.7; }

/* ═══════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  /* Show all reveal content immediately, disable 3D/parallax */
  body.js-ready .fade-up,
  body.js-ready .reveal,
  body.js-ready .reveal-scale,
  body.js-ready .reveal-left,
  body.js-ready .reveal-right,
  body.js-ready .reveal-up,
  body.js-ready .stagger > * { opacity: 1 !important; transform: none !important; }
  .tilt, .tilt-inner { transform: none !important; }
  .tilt-glare, .glow-accent::after { display: none !important; }
}
