/* ========================================
   Spark Services — Brand Overrides & Animations
   Bootstrap 5 handles everything else.
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --accent-orange: #F7941E;
  --accent-yellow: #FFD275;
  --radius-xl: 32px;
}

/* ---------- Font Override ---------- */
html, body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* ---------- Brand Buttons ---------- */
.btn-accent {
  background: var(--accent-orange);
  color: #fff;
  border: none;
}

.btn-accent:hover {
  background: #e8850f;
  color: #fff;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

/* ---------- Liquid Glass Navbar ---------- */
.navbar-liquid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;

  /* Startujemy jako przezroczysty */
  background: transparent !important;
  backdrop-filter: none;
  border-bottom: none;

  will-change: top, width, left, background-color, backdrop-filter, border-radius;
  /* Płynne przejście - selektywne dla wydajności */
  transition: 
    top 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    left 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    background 0.4s ease,
    height 0.4s ease,
    padding 0.4s ease,
    border-radius 0.4s ease,
    backdrop-filter 0.4s ease;
}

/* Offset dla topbaru na desktopie w stanie nieprzewiniętym */
@media (min-width: 768px) {
  .navbar-liquid:not(.scrolled) {
    top: 42px;
  }
}

/* STAN PO ZESCROLLOWANIU (Kapsułka) - Glass Surface */
.navbar-liquid.scrolled {
  top: 15px;
  width: 95%;
  left: 2.5%;
  height: 64px;
  border-radius: 50px;
  padding: 0 1.5rem; 
  /* Ultra-nowoczesne szkło */
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08), 
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(255, 255, 255, 0.05);
}

.glass-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0; /* poniżej kontenera d-flex */
  opacity: 0;
  transition: opacity 0.5s ease;
}

.navbar-liquid.scrolled:hover .glass-glare {
  opacity: 1;
}

/* Odblask podążający za myszką */
.glass-glare::before {
  content: "";
  position: absolute;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.45) 0%,
    transparent 70%
  );
}

/* Wewnętrzna ramka odbijająca światło */
.glass-glare::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 992px) {
  .navbar-liquid.scrolled {
    width: 60%;
    left: 20%;
  }
}

/* ---- Mobile navbar overrides ---- */
@media (max-width: 991px) {

  /* Navbar: auto-height żeby collapse się nie obcinał */
  .navbar-liquid {
    height: auto !important;
    min-height: 80px;
    padding: 0.5rem 1rem;
  }

  /* Scrolled na mobile: pełna szerokość, bez kapsułki */
  .navbar-liquid.scrolled {
    width: 100% !important;
    left: 0 !important;
    border-radius: 0 !important;
    top: 0 !important;
    height: auto !important;
    min-height: 64px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  }

  /* Collapse: domyślnie przezroczyste */
  .navbar-liquid .navbar-collapse {
    background: transparent !important;
  }

  /* Collapse: wspólne style fullscreen */
  .navbar-liquid .navbar-collapse.show,
  .navbar-liquid .navbar-collapse.collapsing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 0;
    margin-top: 0;
    padding: 6rem 2rem 2rem;
    box-shadow: none;
    border: none;
    z-index: 999;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    /* Nadpisanie Bootstrap collapse height animation */
    transition: opacity 0.35s ease, transform 0.35s ease !important;
  }

  /* Collapsing (otwieranie/zamykanie) — fade in/out */
  .navbar-liquid .navbar-collapse.collapsing {
    opacity: 0;
    transform: translateY(-20px);
    overflow: hidden;
  }

  /* Show (w pełni otwarte) */
  .navbar-liquid .navbar-collapse.show {
    opacity: 1;
    transform: translateY(0);
  }

  /* Przycisk zamknięcia (X) */
  .mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #18181b;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 1001;
  }

  .mobile-nav-close:hover {
    background: rgba(247, 148, 30, 0.15);
    color: var(--accent-orange);
  }

  /* Social media — przyklejone do dołu */
  .mobile-nav-socials {
    margin-top: auto;
    text-align: center;
    padding-top: 1.5rem;
  }

  .mobile-nav-socials__divider {
    width: 48px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 9999px;
    margin: 0 auto 1rem;
  }

  .mobile-nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    color: #18181b;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mobile-nav-social-link:hover {
    background: var(--accent-orange);
    color: #fff;
  }

  /* Nav linki — wycentrowane, pełna szerokość */
  .navbar-liquid .navbar-nav {
    gap: 0 !important;
    text-align: center;
    width: 100%;
    margin: 0 !important;
  }

  .navbar-liquid .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .navbar-liquid .nav-item:last-child {
    border-bottom: none;
  }

  .navbar-liquid .nav-link {
    font-size: 1.05rem;
    padding: 0.85rem 1rem !important;
    color: #18181b !important;
    font-weight: 500;
    border-radius: 8px !important;
    transition: background 0.2s ease;
  }

  .navbar-liquid .nav-link:hover,
  .navbar-liquid .nav-link:focus {
    background: rgba(247, 148, 30, 0.08);
  }

  .navbar-liquid .nav-link.fw-semibold.bg-light {
    background: rgba(247, 148, 30, 0.12) !important;
    color: var(--accent-orange) !important;
  }

  /* CTA przycisk — pełna szerokość */
  .navbar-liquid .btn-accent {
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
    margin-left: 0 !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    box-shadow: 0 6px 20px rgba(247, 148, 30, 0.3);
  }

  /* Hamburger — ciemna ikona, dopasowane obramowanie */
  .navbar-liquid .navbar-toggler {
    border: 2px solid rgba(0, 0, 0, 0.15) !important;
    padding: 0.4rem 0.55rem;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .navbar-liquid .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(247, 148, 30, 0.25);
    border-color: var(--accent-orange) !important;
  }

  .navbar-liquid .navbar-toggler-icon {
    filter: invert(0) !important;
    opacity: 0.7;
  }

  /* Ukryj glass-glare na mobile */
  .navbar-liquid .glass-glare {
    display: none;
  }
}

/* ---------- Hero Background ---------- */
.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-section--full {
    min-height: 100vh;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Zdjęcia tła na podstronach */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

/* Canvas Dark Veil na stronie głównej */
.dark-veil-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay-base {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255,255,255,0.2) 100%);
}

@media (min-width: 768px) {
  .hero-overlay-gradient {
    width: 65%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 60%, transparent 100%);
  }
}

/* ---------- Section Spacing ---------- */
.section-padding {
  padding: 4rem 0;
  /* ZMNIEJSZONO: Odstępy pionowe */
}

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

/* ---------- Section Headers ---------- */
.section-kicker {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717a;
}

.section-title {
  font-size: clamp(2.125rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #18181b;
}

/* ---------- Process Steps — Zigzag ---------- */
.process-steps-wrap {
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-top: 2rem;
}

.process-step-row {
  max-width: 1440px; /* POWIĘKSZONO dla maksymalnego efektu dużych obrazów */
  margin: 0 auto;
  align-items: center;
  /* Wyśrodkowanie pionowe */
}

/* Wrapper obrazu */
.process-img-wrap {
  position: relative;
  overflow: visible;
  width: 100%;
}

/* Placeholder obrazu */
.process-img-placeholder {
  /* POWIĘKSZONO proporcje dla jeszcze większego rozmiaru */
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Cyfra watermark */
.process-num {
  position: absolute;
  font-weight: 900;
  line-height: 0.85;
  color: #F5C878;
  /* ZMNIEJSZONO: Skalowanie cyfry */
  font-size: clamp(100px, 15vw, 200px);
  pointer-events: none;
  user-select: none;
  z-index: 2;
  opacity: 0.7;
  /* Lekko bardziej przezroczyste */
}

/* Pozycjonowanie cyfr (dostosowane do mniejszych foto) */
.process-num--tl {
  top: -20%;
  left: -5%;
}

.process-num--tr {
  top: -20%;
  right: -5%;
}

/* Global Mobile Fix for Bootstrap large vertical gaps */
@media (max-width: 767px) {
  .gy-5 {
    --bs-gutter-y: 1.5rem !important;
  }
}

/* Teksty w krokach */
.process-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.process-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  /* ZMNIEJSZONO */
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #18181b;
  margin-bottom: 1rem;
}

/* ---------- Marquee (Logo Bar) ---------- */
.marquee-wrapper {
  padding: 2rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding-right: 2rem;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  height: 4rem;
  width: 10rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Visual alignment fix for different logo aspect ratios */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Comparison Card Redesign ---------- */
.comparison-card {
  display: flex !important;
  flex-direction: column !important;
  border-radius: 1rem;
  overflow: hidden;
  border: none;
  height: 100%;
}

.comparison-img-wrap {
  position: relative;
  width: 100%;
  /* ZMNIEJSZONO: Proporcje na mobile (niższe foto) */
  aspect-ratio: 2/1;
  overflow: hidden;
  background: #e5e7eb;
}

.comparison-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-text-wrap {
  flex: 1;
  padding: 2rem;
  /* ZMNIEJSZONO padding */
  background: #f4f4f4;
}

@media (min-width: 992px) {
  .comparison-card {
    flex-direction: row !important;
    align-items: center;
    /* Środkowanie foto do tekstu */
  }

  .comparison-img-wrap {
    /* ZMNIEJSZONO: Foto zajmuje 40% szerokości zamiast 50% */
    flex: 0 0 40%;
    aspect-ratio: auto;
    /* Dodano padding, żeby foto nie dotykało krawędzi karty (opcjonalne, daje oddech) */
    padding: 1rem;
  }

  .comparison-img-wrap img {
    border-radius: 0.75rem;
    /* Zaokrąglenie samego zdjęcia wewnątrz */
  }

  .comparison-text-wrap {
    /* ZMNIEJSZONO: Tekst zajmuje 60% */
    flex: 0 0 60%;
  }
}

/* Reszta stylów pozostaje bez zmian */
/* ---------- Icon Box, CTA, Animations, etc. ---------- */
.icon-box-accent {
  width: 44px;
  height: 44px;
  background: var(--accent-orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

/* ZMNIEJSZONO wys. CTA */
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  transform: translateX(-15px);
}

.slide-right {
  transform: translateX(15px);
}

@media (min-width: 768px) {
  .slide-left {
    transform: translateX(-30px);
  }
  .slide-right {
    transform: translateX(30px);
  }
}

.slide-left.visible,
.slide-right.visible {
  transform: translateX(0);
}

.page {
  animation: fadePage 0.38s ease;
}

@keyframes fadePage {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-bar {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--accent-orange);
  opacity: 0.4;
  z-index: -1;
  border-radius: 2px;
  transform: rotate(-1deg);
}

.title-underline-accent {
  position: relative;
  display: inline-block;
}

.title-underline-accent::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent-orange);
  z-index: -1;
  border-radius: 4px;
}

.card-service {
  background: #666666;
  border: none;
  min-height: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ---------- Producer Cards ---------- */
.producer-card {
  position: relative;
  min-height: 480px;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  background: #666; /* Base color if image fails */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.producer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.producer-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ========================================
   Wireframe Components
   ======================================== */
.split-action {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  height: 48px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.split-action:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.split-action__label {
  padding: 0 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-right: 1px solid rgba(0,0,0,0.1);
  height: 100%;
  display: flex;
  align-items: center;
  color: #18181b;
}

.split-action__link {
  padding: 0 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  height: 100%;
  display: flex;
  align-items: center;
  color: #18181b;
}

.split-action__link span {
  color: var(--accent-orange);
  margin-left: 0.5rem;
  font-size: 1.2rem;
  line-height: 1;
}

.producer-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.producer-card:hover .producer-card-bg img {
  transform: scale(1.05);
}

.producer-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.producer-card-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
}

.producer-kicker {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: none; /* Aligning with design which shows mixed case */
}

.producer-title {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.producer-text {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.producer-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.producer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- Advantage Section ---------- */
.advantage-main-card {
  position: relative;
  height: 100%;
  min-height: 600px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.advantage-main-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.advantage-main-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.advantage-main-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.advantage-main-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 500px;
}

.advantage-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.advantage-main-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.advantage-main-text {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 400;
}

/* Side Cards */
.advantage-side-card {
  background: #fff;
  border: 2px solid #18181b;
  padding: 3.5rem 2.5rem;
  border-radius: 4px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.advantage-side-card:hover {
  transform: translateY(-5px);
}

.advantage-side-icon {
  margin-bottom: 1.5rem;
  color: #18181b;
}

.advantage-side-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #18181b;
}

.advantage-side-text {
  font-size: 0.95rem;
  color: #52525b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.advantage-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #18181b;
  text-decoration: none;
  line-height: 1.4;
}

.advantage-link:hover {
  text-decoration: underline;
}

/* ---------- Spark Notifications (Premium Popups) ---------- */
.spark-notification-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  width: calc(100% - 4rem);
}

.spark-notification {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(120%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  opacity: 0;
}

.spark-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.spark-notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spark-notification-content {
  flex: 1;
}

.spark-notification-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #18181b;
  margin-bottom: 0.15rem;
}

.spark-notification-message {
  display: block;
  font-size: 0.85rem;
  color: #52525b;
  line-height: 1.4;
}

/* Status Variations */
.notification-warning .spark-notification-icon {
  background: rgba(247, 148, 30, 0.15);
  color: var(--accent-orange);
}

.notification-error .spark-notification-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.notification-success .spark-notification-icon {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

@media (max-width: 576px) {
  .spark-notification-container {
    top: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
  }
}

/* ========================================
   Blog Article Template Styles
   ======================================== */
.breadcrumb {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #6f6f78;
  text-transform: uppercase;
}

.meta-card {
  background: #ffffff;
  border: 1px solid #e7e7ea;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #ededf0;
  font-size: 15px;
}

.meta-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.meta-label {
  color: #6f6f78;
  font-weight: 600;
}

.category-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid #dedee2;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #55565f;
  background: #fafafa;
}

.article-wrap {
  padding: 48px 0 80px;
}

.article-content {
  background: #ffffff;
  border: 1px solid #e7e7ea;
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .article-content {
    padding: 26px;
  }
}

.article-cover {
  width: 100%;
  min-height: 360px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f4f4f5, #eaeaec);
  border: 1px solid #e8e8eb;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8a93;
  font-size: 18px;
  text-align: center;
  padding: 24px;
}

.article-content h2 {
  font-size: 1.875rem;
  margin: 40px 0 16px;
  line-height: 1.2;
}

.article-content p {
  margin: 0 0 18px;
  color: #44454d;
  font-size: 1.05rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px 22px;
  color: #44454d;
  font-size: 1.05rem;
}

.article-content li {
  margin-bottom: 12px;
}

.quote-box {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--accent-orange);
  background: #fcfaf7;
  border-radius: 14px;
  color: #383941;
  font-size: 1.125rem;
  font-weight: 600;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid #e7e7ea;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.sidebar-card h3 {
  margin: 0 0 16px;
  font-size: 1.375rem;
  line-height: 1.2;
}

.sidebar-card p {
  margin: 0 0 14px;
  color: #5c5d66;
  font-size: 0.95rem;
}

.toc {
  padding-left: 18px;
  margin: 0;
}

.toc li {
  margin-bottom: 10px;
  color: #45464f;
}

.toc a {
  color: #45464f;
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent-orange);
}

.contact-box a {
  color: var(--accent-orange);
  font-weight: 700;
  text-decoration: none;
}

.related-card {
  background: #ffffff;
  border: 1px solid #dfdfe3;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
}

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

.article-tag {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #dddddf;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #fafafa;
  color: #5d5e66;
}

.article-date {
  font-size: 0.875rem;
  color: #6b6c75;
}

.related-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.related-card p {
  margin: 0 0 18px;
  color: #5a5b63;
}

.read-more {
  color: var(--accent-orange);
  font-weight: 700;
  text-decoration: none;
}

/* ============================================
   MOBILE FIXES — strona główna
   ============================================ */

/* --- 1. Hero: tekst na środku, obraz pod spodem --- */
@media (max-width: 991px) {
  .hero-section--full .row.min-vh-100 {
    min-height: auto !important;
    align-items: flex-start !important;
  }
  .hero-text-col {
    text-align: center;
    padding-top: 8rem;
  }
  .hero-text-col .d-inline-flex {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-text-col p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-text-col .d-flex.flex-wrap {
    justify-content: center;
  }
  .hero-img-col {
    align-self: auto !important;
    padding-bottom: 0;
  }
  .hero-img-col .hero-product-img {
    max-height: 50vh !important;
  }
}

/* --- 3. Offer Comparison: mniejsze zdjęcia na mobile --- */
@media (max-width: 575px) {
  .custom-card-bg .row.g-0 {
    flex-direction: column;
  }
  .custom-card-bg .custom-img-bg {
    max-height: 200px;
    overflow: hidden;
  }
  .custom-card-bg .custom-img-bg img {
    height: 200px;
    object-fit: cover;
  }
}

/* --- 4. How We Work: mniejsze odstępy na mobile --- */
@media (max-width: 767px) {
  .process-steps-wrap {
    gap: 0.5rem !important;
    padding-top: 0 !important;
  }
  .process-step-row.mt-5 {
    margin-top: 1rem !important;
  }
}

/* --- 5. CTA formularz: padding boczny na mobile --- */
@media (max-width: 767px) {
  .cta-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .cta-section .bg-white.rounded-4 {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }
}