/* =====================================================================
 * Global Imports
 * ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Poppins:wght@600;700&display=swap');

/* =====================================================================
 * Theme Tokens (scoped to .qjk-bs container)
 * ===================================================================== */
.qjk-bs {
  --brand: #ff5e6c;
  --brand-2: #feb300;
  --muted: #6b7280;
  --card-radius: 12px;
  --card-shadow: 0 8px 24px rgba(17,24,39,0.08);
  --container-pad: 20px;
  --card-gap: 18px;
  --card-min-h: 140px;
  /* Accent tokens (hero specific) */
  --hero-accent-blue: #0b61d5;
  --hero-accent-green: #2e9d73;
  --accent-alert: #d62828; /* semantic alert / highlight red */
  --footer-bg: #181d23;
  --footer-border: #23272f;
  --footer-fg: #f3f4f6;
  --heading-color: #1f2937;
  --star-gold: #fbbc04;
  --neutral-body: #444;
  --neutral-icon: #888;
  --neutral-accent-dark: #1a2a3a;
  --border-light: #d0d7e2;
  --brand-hover: #e13c4e;
  --avatar-gray: #6c757d;
  --text-secondary: #b0b6be;
  --feature-title: #222;
  --surface: #ffffff;
  --shadow-cta: 0 2px 8px rgba(30,41,59,0.08);
  --shadow-cta-hover: 0 4px 16px rgba(30,41,59,0.13);
  --shadow-sm: 0 1px 2px rgba(60,64,67,0.06);
  --shadow-sm-alt: 0 1px 3px rgba(17,24,39,0.08);
  --shadow-md: 0 4px 16px rgba(17,24,39,0.10);
  --shadow-xl: 0 8px 32px rgba(0,0,0,0.18);
  /* Spacing scale */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
}

/* =====================================================================
 * Base / Typography Utilities
 * ===================================================================== */
.qjk-bs body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.qjk-bs h1,
.qjk-bs h2,
.qjk-bs h3,
.qjk-bs h5 {
  font-family: Poppins, Inter, system-ui, sans-serif;
}

.qjk-bs .lead {
  color: var(--muted);
}

.qjk-bs .display-5 {
  font-size: 2.4rem;
  line-height: 1.12;
}

/* =====================================================================
 * Utility Classes (new)
 * ===================================================================== */
.u-flex { display: flex !important; }
.u-flex-center { display: flex !important; align-items: center !important; justify-content: center !important; }
.u-inline-flex { display: inline-flex !important; }
.u-gap-4 { gap: 4px !important; }
.u-gap-6 { gap: 6px !important; }
.u-gap-8 { gap: 8px !important; }
.u-gap-12 { gap: 12px !important; }
.u-w-100 { width: 100% !important; }
.u-h-100 { height: 100% !important; }
.u-m0 { margin: 0 !important; }
.u-pt-0 { padding-top: 0 !important; }
.u-pb-0 { padding-bottom: 0 !important; }
.u-ml-0 { margin-left: 0 !important; }
.u-pl-0 { padding-left: 0 !important; }
.u-text-center { text-align: center !important; }
.u-text-muted { color: var(--muted) !important; }
.u-radius-full { border-radius: 9999px !important; }
.text-accent-alert { color: var(--accent-alert) !important; }
/* Inline style refactors */
.badge-inline { font-size: 1rem; font-weight: 600; line-height: 1; display: inline-block; }
.mt-spacious { margin-top: 2rem !important; }
.fs-sm { font-size: 0.95rem !important; }
.alert-note { font-size: 1rem; }

/* Spacing scale utilities (margin-top / margin-bottom / padding-y) */
.u-mt-0 { margin-top: var(--space-0) !important; }
.u-mt-1 { margin-top: var(--space-1) !important; }
.u-mt-2 { margin-top: var(--space-2) !important; }
.u-mt-3 { margin-top: var(--space-3) !important; }
.u-mt-4 { margin-top: var(--space-4) !important; }
.u-mt-5 { margin-top: var(--space-5) !important; }
.u-mt-6 { margin-top: var(--space-6) !important; }
.u-mt-7 { margin-top: var(--space-7) !important; }
.u-mb-0 { margin-bottom: var(--space-0) !important; }
.u-mb-1 { margin-bottom: var(--space-1) !important; }
.u-mb-2 { margin-bottom: var(--space-2) !important; }
.u-mb-3 { margin-bottom: var(--space-3) !important; }
.u-mb-4 { margin-bottom: var(--space-4) !important; }
.u-mb-5 { margin-bottom: var(--space-5) !important; }
.u-mb-6 { margin-bottom: var(--space-6) !important; }
.u-mb-7 { margin-bottom: var(--space-7) !important; }
.u-py-0 { padding-top: var(--space-0) !important; padding-bottom: var(--space-0) !important; }
.u-py-1 { padding-top: var(--space-1) !important; padding-bottom: var(--space-1) !important; }
.u-py-2 { padding-top: var(--space-2) !important; padding-bottom: var(--space-2) !important; }
.u-py-3 { padding-top: var(--space-3) !important; padding-bottom: var(--space-3) !important; }
.u-py-4 { padding-top: var(--space-4) !important; padding-bottom: var(--space-4) !important; }
.u-py-5 { padding-top: var(--space-5) !important; padding-bottom: var(--space-5) !important; }
.u-py-6 { padding-top: var(--space-6) !important; padding-bottom: var(--space-6) !important; }
.u-py-7 { padding-top: var(--space-7) !important; padding-bottom: var(--space-7) !important; }

/* Typography scale utilities */
.u-text-xs { font-size: 0.75rem !important; }
.u-text-sm { font-size: 0.875rem !important; }
.u-text-base { font-size: 1rem !important; }
.u-text-lg { font-size: 1.125rem !important; }
.u-text-xl { font-size: 1.25rem !important; }
.u-text-2xl { font-size: 1.5rem !important; }
.u-text-3xl { font-size: 1.875rem !important; line-height: 1.15 !important; }

/* Font weight helpers */
.u-fw-400 { font-weight: 400 !important; }
.u-fw-500 { font-weight: 500 !important; }
.u-fw-600 { font-weight: 600 !important; }
.u-fw-700 { font-weight: 700 !important; }

/* Line-height helpers */
.u-lh-1 { line-height: 1 !important; }
.u-lh-tight { line-height: 1.2 !important; }
.u-lh-relaxed { line-height: 1.6 !important; }

/* Letter-spacing helpers */
.u-tracking-tight { letter-spacing: -0.5px !important; }
.u-tracking-wide { letter-spacing: 0.5px !important; }

/* Helper: commonly repeated "margin-left:0; padding-left:0" */
.u-reset-left { margin-left: 0 !important; padding-left: 0 !important; }

/* Images / object-fit helpers */
.u-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.qjk-bs .object-cover { object-fit: cover; }
.qjk-bs .object-contain {
  object-fit: contain;
  width: 100%;
  height: auto;
  display: block;
  object-position: center;
}

/* Layout helpers */
.qjk-bs .container {
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* =====================================================================
 * Cookies Popup
 * ===================================================================== */
.qjk-cookies-popup {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(24,29,35,0.98);
  color: #f3f4f6;
  padding: 0.7rem 0;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.10);
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.4s cubic-bezier(.4,0,.2,1);
}

.qjk-cookies-popup.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.qjk-cookies-popup-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.qjk-cookies-popup-text {
  flex: 1 1 300px;
  font-size: 1rem;
}

.qjk-cookies-popup a {
  color: #7ec3ff;
  text-decoration: underline;
}

.qjk-cookies-accept {
  white-space: nowrap;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* =====================================================================
 * Footer
 * ===================================================================== */
.qjk-footer a {
  color: var(--footer-fg);
  opacity: 0.92;
  transition: opacity 0.2s;
}

.qjk-footer a:hover,
.qjk-footer a:focus {
  opacity: 1;
  text-decoration: underline;
}

.qjk-footer .fw-semibold { font-weight: 600; }
.qjk-footer svg { vertical-align: middle; }
.qjk-footer .text-secondary { color: var(--text-secondary) !important; }
.qjk-footer .me-2 { margin-right: 0.5rem !important; }
.qjk-footer .me-3 { margin-right: 1rem !important; }
.qjk-footer .mb-2 { margin-bottom: 0.5rem !important; }
.qjk-footer .mb-1 { margin-bottom: 0.25rem !important; }
.qjk-footer .mt-5 { margin-top: 3rem !important; }
.qjk-footer .pt-5 { padding-top: 3rem !important; }
.qjk-footer .pb-3 { padding-bottom: 1.25rem !important; }
/* (footer small-screen styles consolidated in global responsive section) */

/* =====================================================================
 * Scroll To Top Button
 * ===================================================================== */
.scroll-to-top-btn,
#scrollToTop {
  /* Positioning */
  position: fixed !important;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  
  /* Appearance */
  width: 56px;
  height: 56px;
  background: #ff5e6c;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  
  /* Flexbox for centering icon */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  
  /* Smooth transitions */
  transition: all 0.3s ease;
}

.scroll-to-top-btn.is-visible,
#scrollToTop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top-btn:hover,
#scrollToTop:hover {
  background: #e04d5d;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.scroll-to-top-btn svg,
#scrollToTop svg {
  width: 24px;
  height: 24px;
  color: #fff;
  stroke: currentColor;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .scroll-to-top-btn,
  #scrollToTop {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
  
  .scroll-to-top-btn svg,
  #scrollToTop svg {
    width: 20px;
    height: 20px;
  }
}

/* =====================================================================
 * Modal Component
 * ===================================================================== */
.modal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity .25s ease;
}

.modal.open { display: flex; opacity: 1; }
.modal:not(.open) { pointer-events: none; }

.modal-dialog {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  padding: 1.8rem 1.6rem 1.6rem;
  max-width: 540px;
  width: 95vw;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
}

.modal.open .modal-dialog { transform: translateY(0); opacity: 1; }

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--neutral-icon);
  cursor: pointer;
  z-index: 3;
  line-height: 1;
  transition: color 0.18s;
}

.modal-close:hover { color: #ff5e6c; }

#modal-title {
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.5px;
}

#modal-desc {
  font-size: 1.08rem;
  color: var(--neutral-body);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.modal-cta {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.6rem;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: background .18s, color .18s, box-shadow .18s;
}

.modal-cta:hover {
  background: var(--brand-hover);
  color: #fff;
  box-shadow: var(--shadow-cta-hover);
}

@media (max-width: 600px) {
  .modal-dialog {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    max-width: 99vw;
  }
}

/* =====================================================================
 * Contact / Oferta Cards
 * ===================================================================== */
.qjk-bs #oferta .card > .row > .col-3,
.qjk-bs #oferta .card > .row > .col-4 { position: relative; padding: 0; }

.qjk-bs #oferta .card {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  min-height: 140px;
}

.qjk-bs #oferta .card img { border-radius: 6px; transition: transform .28s ease; }

.qjk-bs #oferta .card > .row > .col-4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,94,108,0.12), rgba(254,179,0,0.06));
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.qjk-bs #oferta .card:hover > .row > .col-4::before { opacity: 0.6; }
.qjk-bs #oferta .card:hover img { transform: scale(1.04); }

.qjk-bs #oferta .card-grid { gap: var(--card-gap); }

.qjk-bs #kontakt aside .card { padding: 1rem; }

.qjk-bs .contact-card {
  --contact-card-w: 100%;
  --contact-card-h: 220px; /* fallback token; not fixed on desktop */
  width: var(--contact-card-w);
  height: auto;
  max-height: none;
  overflow: hidden;
  display: block;
  box-sizing: border-box;
}

.qjk-bs .contact-card .row {
  display: flex;
  flex-direction: row;
  height: 100%;
  align-items: stretch;
}

.qjk-bs .contact-card .image-col,
.qjk-bs .contact-card .content-col {
  height: 100%;
  padding: 0;
  box-sizing: border-box;
}

.qjk-bs .contact-card .image-col {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 50%;
}

.qjk-bs .contact-card .content-col { flex: 1 1 50%; }

.qjk-bs .contact-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  padding: 1rem;
}
/* Images inside cards */
.qjk-bs #kontakt .contact-card .image-col img,
.qjk-bs #oferta .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 769px) {
  .qjk-bs #kontakt .contact-card {
    --contact-card-h: 140px;
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    overflow: hidden;
  }
  .qjk-bs #kontakt .contact-card .row.h-100,
  .qjk-bs #kontakt .contact-card .image-col,
  .qjk-bs #kontakt .contact-card .content-col { height: 100%; }
}

/* (contact-card small-screen styles consolidated in global responsive section) */

@media (min-width: 992px) {
  .qjk-bs #oferta .card.h-100 .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .qjk-bs #kontakt aside { position: relative; }
  .qjk-bs #kontakt aside .card { position: sticky; top: 96px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .qjk-bs #oferta .card img,
  .qjk-bs #oferta .card > .row > .col-4::before { transition: none; }
}

/* =====================================================================
 * Responsive (max-width: 768px) - Consolidated
 * ===================================================================== */
@media (max-width: 768px) {
  /* Footer */
  .qjk-footer { font-size: 0.97rem; }
  .qjk-footer .row > div { margin-bottom: 1.2rem; }

  /* Scroll To Top */
  #scrollToTop {
    position: fixed; /* ensure mobile keeps fixed positioning */
    right: 12px;
    bottom: 18px;
    width: 52px; /* keep larger button on mobile */
    height: 52px;
    background: rgba(255,94,108,0.95); /* ensure mobile override keeps color */
    border: 2px solid #ff5e6c;
  }

  /* Generic contact card adjustments */
  .qjk-bs .contact-card { height: auto; }
  .qjk-bs .contact-card .row { display: block; }
  .qjk-bs .contact-card .image-col,
  .qjk-bs .contact-card .content-col { width: 100%; }
  .qjk-bs .contact-card .image-col img { width: 60%; height: auto; max-height: none; object-fit: contain; }

  /* Kontakt specific contact card layout */
  .qjk-bs #kontakt .contact-card {
    --contact-card-h: 220px;
    display: flex;
    flex-direction: column;
    min-height: var(--contact-card-h);
    border-radius: var(--card-radius);
    overflow: hidden;
  }
  .qjk-bs #kontakt .contact-card .row.h-100 {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .qjk-bs #kontakt .contact-card .image-col {
    flex: 0 0 var(--contact-card-h);
    height: var(--contact-card-h);
    width: 100%;
    overflow: hidden;
  }
  .qjk-bs #kontakt .contact-card .content-col { flex: 1 1 auto; width: 100%; }
  .qjk-bs #kontakt .contact-card .image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
  }
  .qjk-bs #kontakt .contact-card .card-body { padding-top: .9rem; padding-bottom: .9rem; }
}

/* =====================================================================
 * Opinie (Reviews)
 * ===================================================================== */
.qjk-bs #opinie .review-card {
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid rgba(60,64,67,0.06);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.qjk-bs #opinie .review-avatar {
  width: 44px;
  height: 44px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--avatar-gray);
  position: absolute;
  left: 12px;
  top: 12px;
  margin: 0;
  z-index: 2;
  pointer-events: none;
  border: 3px solid #fff;
  box-shadow: 0 1px 3px rgba(17,24,39,0.08);
  box-sizing: border-box;
  border-radius: 50%;
  overflow: hidden;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
}

.qjk-bs #opinie .review-stars {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0;
}

.qjk-bs #opinie .review-stars svg {
  width: 12px;
  height: 12px;
  fill: var(--star-gold);
  display: inline-block;
  vertical-align: middle;
}

.qjk-bs #opinie .rating-summary .review-summary-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--star-gold);
  margin-right: 6px;
}

.qjk-bs #opinie .rating-summary .rating-value {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
}

.qjk-bs #opinie .rating-summary .text-muted { color: #5f6368; }
.qjk-bs #opinie .review-card > .d-flex { display: flex; }
.qjk-bs #opinie .review-card header { display: flex; gap: 8px; align-items: center; }
.qjk-bs #opinie .review-card header strong { font-weight: 600; }

.qjk-bs #opinie .review-card .small.text-muted {
  display: block;
  margin-top: 4px;
}

.qjk-bs #opinie .review-card .small.text-muted .review-stars { vertical-align: middle; }
.qjk-bs #opinie .review-meta,
.qjk-bs #opinie .google-clamp { text-align: left; }
.qjk-bs #opinie .review-meta,
.qjk-bs #opinie .google-clamp,
.qjk-bs #opinie .review-card .flex-fill { /* consolidated */
  margin-left: 0;
  padding-left: 0;
}
.qjk-bs #opinie .review-card .review-stars svg:first-child { transform: translateX(-1px); margin-left: 0; }
.qjk-bs #opinie .review-card p { margin-bottom: 0; }
.qjk-bs #opinie .review-card p.small,
.qjk-bs #opinie .google-clamp { display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.qjk-bs #opinie .rating-summary { display: flex; align-items: center; gap: 8px; }
.qjk-bs #opinie .review-count { color: #6b7280; }
.qjk-bs #opinie .review-meta { display: flex; gap: 8px; align-items: center; color: #6b7280; line-height: 1; }
.qjk-bs #opinie .review-meta .review-stars { margin-right: 6px; }
.qjk-bs #opinie .review-meta .review-stars svg { transform: translateY(1px); }
.qjk-bs #opinie .review-card .fw-bold,
.qjk-bs #opinie .review-card .review-count { margin-left: calc(44px + 12px); }
.qjk-bs #opinie .review-card .review-meta { width: auto; }
.qjk-bs #opinie .review-card .google-clamp { width: auto; }
.qjk-bs #opinie .review-card .small .review-stars { display: inline-flex; gap: 4px; margin-left: 0; vertical-align: middle; }

/* =====================================================================
 * Features List
 * ===================================================================== */
.qjk-bs .features-surface { max-width: 1100px; margin: 0 auto; }

.qjk-bs .features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

.qjk-bs .features-list > li { display: flex; width: 100%; }
.qjk-bs .features-list > .feature { flex-direction: row; }
.qjk-bs .feature > .d-flex { display: flex; gap: 12px; align-items: center; width: 100%; }

.qjk-bs .feature .ico {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand);
  background: transparent;
  font-family: Poppins, Inter, system-ui;
  font-size: 0;
  flex: 0 0 auto;
}

.qjk-bs .feature .ico svg { width: 40px; height: 40px; display: block; }
.qjk-bs .feature .ico svg text { font-family: Poppins, Inter, system-ui, Arial, sans-serif; font-size: 16px; fill: currentColor; }
.qjk-bs .feature .txt { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.qjk-bs .feature .title { font-weight: 700; color: var(--feature-title); margin-bottom: 6px; font-size: 1rem; }
.qjk-bs .feature .desc { color: var(--muted); font-size: .95rem; line-height: 1.36; }

@media (min-width: 768px) {
  .qjk-bs .features-list > li { width: 50%; }
  .qjk-bs .features-list > .feature { width: 100%; }
  .qjk-bs .feature .ico { width: 64px; height: 64px; }
  .qjk-bs .feature .ico svg { width: 48px; height: 48px; }
  .qjk-bs .feature .ico svg text { font-size: 18px; }
}

@media (min-width: 992px) {
  .qjk-bs .features-list > li { width: 25%; }
  .qjk-bs .features-list > .feature { width: 100%; }
  .qjk-bs .feature .ico { width: 72px; height: 72px; }
  .qjk-bs .feature .ico svg { width: 52px; height: 52px; }
  .qjk-bs .feature .ico svg text { font-size: 20px; }
}

@media (max-width: 560px) {
  .qjk-bs .features-list { gap: 12px; }
  .qjk-bs .feature { align-items: center; padding: 14px; }
  .qjk-bs .feature > .d-flex { align-items: center; }
  .qjk-bs .feature .txt { justify-content: center; }
}

.qjk-bs .features-list > .col-12,
.qjk-bs .features-list > .col-md-6,
.qjk-bs .features-list > .col-lg-3 { padding-left: 0.5rem; padding-right: 0.5rem; box-sizing: border-box; }

/* =====================================================================
 * Buttons / Interactive
 * ===================================================================== */
.qjk-bs .btn-primary { background: var(--brand); border-color: var(--brand); }
.qjk-bs .btn-primary:hover,
.qjk-bs .btn-primary:focus { background: color-mix(in srgb, var(--brand) 85%, black 15%); }

/* =====================================================================
 * Hero Accents
 * ===================================================================== */
/* =====================================================================
 * Hero Accents (unified via data attribute fallback)
 * ===================================================================== */
 .hero-accent { font-weight: 700; }
 .hero-accent[data-color="blue"] { color: var(--hero-accent-blue); }
 .hero-accent[data-color="green"] { color: var(--hero-accent-green); }
  .hero-accent[data-color="red"] { color: #dc2626; }
  .hero-accent[data-color="yellow"] { color: #f59e0b; }

.mx-2 {
  margin-right: 2rem !important;
  margin-left: 2rem !important;
}

/* =====================================================================
 * Page Fade Transitions (for main pages)
 * ===================================================================== */
.page-fade-init {
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(.4,0,.2,1);
}

.page-fade-in {
  opacity: 1;
}

.page-fade-out {
  opacity: 0;
}

/* Fallback for cached pages - auto-show after 100ms */
.page-fade-init:not(.page-fade-in) {
  animation: page-fade-fallback 0.1s ease-in-out 0.1s forwards;
}

@keyframes page-fade-fallback {
  to { opacity: 1; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .page-fade-init,
  .page-fade-in,
  .page-fade-out {
    transition: none !important;
  }
}

/* =====================================================================
 * Layout: Sticky Footer (ensures footer stays at bottom on short pages)
 * ---------------------------------------------------------------------
 * We use flex column on the body so that <main> grows and footer pushes
 * to the bottom when content is short (e.g. promocje.html with dynamic
 * data still loading or minimal text). Limited to body.qjk-bs to avoid
 * interfering with any admin/panel layouts that might differ.
 * ===================================================================== */
html, body { height: 100%; }
body.qjk-bs { min-height: 100vh; display: flex; flex-direction: column; }
body.qjk-bs > main { flex: 1 0 auto; }
/* Footer keeps natural height; any margin-top utilities still apply. */