/* =============================================
   BESTCLEAN24 — CONTENT BLOCKS
   25 reusable blocks for Gutenberg editor.
   Add CSS class in block Advanced settings.
   Works on: blog posts, service pages, city
   pages, taxonomy archives, static pages.
   ============================================= */


/* =============================================================
   BLOCK 1: TL;DR
   Usage: <div class="bc-tldr">
   ============================================================= */
.bc-tldr {
  background: var(--bc-blue);
  color: var(--bc-white);
  border-radius: var(--bc-radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bc-tldr:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 49, 244, 0.2);
}

.bc-tldr-label {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.bc-tldr ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bc-tldr li {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
}

.bc-tldr li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  transform: rotate(45deg);
}


/* =============================================================
   BLOCK 2: TOC (Table of Contents)
   Usage: <div class="bc-toc">
   ============================================================= */
.bc-toc {
  background: var(--bc-gray-bg);
  border-radius: var(--bc-radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.bc-toc-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bc-gray-mid);
  margin-bottom: 0.75rem;
}

.bc-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
}

.bc-toc li {
  counter-increment: toc;
  margin-bottom: 0.35rem;
}

.bc-toc a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bc-black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.bc-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--bc-blue);
  min-width: 1.5rem;
}

.bc-toc a:hover {
  color: var(--bc-blue);
}


/* =============================================================
   BLOCKS 3-6: CALLOUTS
   Usage: <div class="bc-callout bc-callout--tip">
   Variants: --tip (green), --info (blue),
             --warning (amber), --danger (red)
   ============================================================= */
.bc-callout {
  border-radius: var(--bc-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bc-callout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.bc-callout-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.bc-callout-body {
  flex: 1;
}

.bc-callout-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.bc-callout-text {
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0 !important;
}

/* Tip — green */
.bc-callout--tip {
  background: var(--bc-green-bg);
  border-color: var(--bc-green);
}

.bc-callout--tip .bc-callout-title,
.bc-callout--tip .bc-callout-icon {
  color: var(--bc-green);
}

.bc-callout--tip .bc-callout-text {
  color: #1a5c3a;
}

/* Info — blue */
.bc-callout--info {
  background: var(--bc-info-bg);
  border-color: var(--bc-blue);
}

.bc-callout--info .bc-callout-title,
.bc-callout--info .bc-callout-icon {
  color: var(--bc-blue);
}

.bc-callout--info .bc-callout-text {
  color: #1a2e6e;
}

/* Warning — amber */
.bc-callout--warning {
  background: var(--bc-amber-bg);
  border-color: var(--bc-amber);
}

.bc-callout--warning .bc-callout-title,
.bc-callout--warning .bc-callout-icon {
  color: var(--bc-amber);
}

.bc-callout--warning .bc-callout-text {
  color: #6b4e0a;
}

/* Danger — red */
.bc-callout--danger {
  background: var(--bc-red-bg);
  border-color: var(--bc-red);
}

.bc-callout--danger .bc-callout-title,
.bc-callout--danger .bc-callout-icon {
  color: var(--bc-red);
}

.bc-callout--danger .bc-callout-text {
  color: #7a1a1a;
}


/* =============================================================
   BLOCK 7: FAQ ACCORDION
   Usage: <div class="bc-faq">
   ============================================================= */
.bc-faq {
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.bc-faq-item {
  border-bottom: 1px solid var(--bc-border);
}

.bc-faq-item:last-child {
  border-bottom: none;
}

.bc-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  font-family: var(--bc-font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bc-black);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}

.bc-faq-q:hover {
  background: var(--bc-blue);
  color: var(--bc-white);
}

.bc-faq-q:hover svg {
  stroke: var(--bc-white);
}

.bc-faq-q svg {
  width: 18px;
  height: 18px;
  stroke: var(--bc-gray-mid);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform 0.3s, stroke 0.2s;
}

.bc-faq-item.is-open .bc-faq-q svg {
  transform: rotate(180deg);
}

.bc-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.bc-faq-item.is-open .bc-faq-a {
  max-height: 500px;
  padding: 0.75rem 1.5rem 1.25rem;
}

.bc-faq-a p {
  font-size: 0.84rem;
  color: var(--bc-gray);
  line-height: 1.7;
  margin: 0;
}


/* =============================================================
   BLOCK 8: TABLE
   Usage: <div class="bc-table">
   ============================================================= */
.bc-table {
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bc-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.bc-table thead th {
  background: var(--bc-blue);
  color: var(--bc-white);
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bc-table thead th:first-child {
  border-radius: var(--bc-radius-sm) 0 0 0;
}

.bc-table thead th:last-child {
  border-radius: 0 var(--bc-radius-sm) 0 0;
}

.bc-table tbody td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--bc-border);
  color: var(--bc-gray);
  font-weight: 500;
}

.bc-table tbody tr:hover {
  background: var(--bc-blue-10);
}


/* =============================================================
   BLOCK 9: PROS / CONS
   Usage: <div class="bc-proscons">
   ============================================================= */
.bc-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.bc-proscons-col {
  border-radius: var(--bc-radius);
  padding: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bc-proscons-col:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.bc-proscons--pros {
  background: var(--bc-green-bg);
}

.bc-proscons--cons {
  background: var(--bc-red-bg);
}

.bc-proscons-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.bc-proscons--pros .bc-proscons-label {
  color: var(--bc-green);
}

.bc-proscons--cons .bc-proscons-label {
  color: var(--bc-red);
}

.bc-proscons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bc-proscons-list li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
}

.bc-proscons-list li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
  font-size: 0.9rem;
}

.bc-proscons--pros .bc-proscons-list li {
  color: #1a5c3a;
}

.bc-proscons--pros .bc-proscons-list li::before {
  content: "+";
  color: var(--bc-green);
}

.bc-proscons--cons .bc-proscons-list li {
  color: #7a1a1a;
}

.bc-proscons--cons .bc-proscons-list li::before {
  content: "\2212";
  color: var(--bc-red);
}

@media (max-width: 540px) {
  .bc-proscons {
    grid-template-columns: 1fr;
  }
}


/* =============================================================
   BLOCK 10: CHECKLIST
   Usage: <div class="bc-checklist">
   ============================================================= */
.bc-checklist {
  background: var(--bc-gray-bg);
  border-radius: var(--bc-radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bc-checklist:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.bc-checklist-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bc-blue);
  margin-bottom: 0.75rem;
}

.bc-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bc-checklist li {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--bc-gray);
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  cursor: pointer;
  transition: color 0.2s;
  -webkit-user-select: none;
  user-select: none;
}

.bc-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 16px;
  height: 16px;
  border: 2px solid var(--bc-border);
  border-radius: 4px;
  transition: all 0.2s;
}

.bc-checklist li.is-checked::before {
  background: var(--bc-blue);
  border-color: var(--bc-blue);
}

.bc-checklist li.is-checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.58rem;
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.bc-checklist li.is-checked {
  color: var(--bc-gray-mid);
  text-decoration: line-through;
}


/* =============================================================
   BLOCK 11: STATYSTYKA
   Usage: <div class="bc-stat">
   ============================================================= */
.bc-stat {
  text-align: center;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  border-top: 2px solid var(--bc-blue-20);
  border-bottom: 2px solid var(--bc-blue-20);
  transition: border-color 0.25s ease;
}

.bc-stat:hover {
  border-color: var(--bc-blue);
}

.bc-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--bc-blue);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bc-stat:hover .bc-stat-number {
  transform: scale(1.08);
}

.bc-stat-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bc-blue);
}

.bc-stat-desc {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--bc-gray);
  margin-top: 0.5rem;
}

.bc-stat-source {
  font-size: 0.68rem;
  color: var(--bc-gray-mid);
  margin-top: 0.25rem;
}


/* =============================================================
   BLOCK 12: KEY TAKEAWAY
   Usage: <div class="bc-takeaway">
   ============================================================= */
.bc-takeaway {
  background: var(--bc-blue-light);
  border-radius: var(--bc-radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--bc-blue);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bc-takeaway:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 49, 244, 0.1);
}

.bc-takeaway-label {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bc-blue);
  margin-bottom: 0.5rem;
}

.bc-takeaway p {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bc-black);
  line-height: 1.65;
  margin: 0 !important;
}


/* =============================================================
   BLOCK 13: CYTAT EKSPERTA
   Usage: <div class="bc-quote">
   ============================================================= */
.bc-quote {
  padding: 1.5rem 0 1.5rem 1.5rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--bc-blue);
  position: relative;
}

.bc-quote-mark {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--bc-blue-20);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
}

.bc-quote-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--bc-black);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  padding-top: 1rem;
}

.bc-quote-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bc-blue);
}

.bc-quote-role {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--bc-gray-mid);
}


/* =============================================================
   BLOCK 14: TIMELINE
   Usage: <div class="bc-timeline">
   ============================================================= */
.bc-timeline {
  margin-bottom: 2rem;
  padding-left: 2rem;
  position: relative;
}

.bc-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--bc-blue-20);
}

.bc-timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.bc-timeline-item:last-child {
  padding-bottom: 0;
}

.bc-timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--bc-blue);
  border-radius: 50%;
  border: 3px solid var(--bc-white);
  box-shadow: 0 0 0 2px var(--bc-blue);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.bc-timeline-item:hover::before {
  transform: scale(1.35);
  box-shadow: 0 0 0 3px var(--bc-blue), 0 0 0 6px rgba(0, 49, 244, 0.15);
}

.bc-timeline-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bc-black);
  margin-bottom: 0.2rem;
  transition: color 0.2s;
}

.bc-timeline-item:hover .bc-timeline-title {
  color: var(--bc-blue);
}

.bc-timeline-text {
  font-size: 0.8rem;
  color: var(--bc-gray);
  line-height: 1.6;
}


/* =============================================================
   BLOCK 15: CTA BANNER
   Usage: <div class="bc-cta">
   ============================================================= */
.bc-cta {
  background: var(--bc-blue);
  border-radius: var(--bc-radius);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.bc-cta-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bc-white);
  margin-bottom: 0.5rem;
}

.bc-cta-text {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.bc-cta-btn {
  display: inline-block;
  background: var(--bc-white);
  color: var(--bc-blue);
  font-family: var(--bc-font);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--bc-blue);
}


/* =============================================================
   BLOCK 16: SEPARATOR
   Usage: <div class="bc-sep">
   ============================================================= */
.bc-sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.bc-sep::before,
.bc-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bc-border);
}

.bc-sep-dot {
  width: 6px;
  height: 6px;
  background: var(--bc-blue);
  border-radius: 50%;
}


/* =============================================================
   BLOCK 17: ZRODLA (Sources)
   Usage: <div class="bc-sources">
   ============================================================= */
.bc-sources {
  background: var(--bc-gray-bg);
  border-radius: var(--bc-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.bc-sources-label {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bc-gray-mid);
  margin-bottom: 0.5rem;
}

.bc-sources ol {
  padding-left: 1.25rem;
  margin: 0;
}

.bc-sources li {
  font-size: 0.72rem;
  color: var(--bc-gray);
  line-height: 1.6;
  margin-bottom: 0.2rem;
}

.bc-sources a {
  color: var(--bc-blue);
  text-decoration: none;
}

.bc-sources a:hover {
  text-decoration: underline;
}


/* =============================================================
   BLOCK 18: KARTA USLUGI (Service Card)
   Usage: <div class="bc-service-card">
   ============================================================= */
.bc-service-card {
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bc-service-card:hover {
  border-color: var(--bc-blue);
  box-shadow: var(--bc-shadow-hover);
}

.bc-service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bc-blue-10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--bc-blue);
}

.bc-service-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--bc-blue);
  fill: none;
  stroke-width: 2;
}

.bc-service-card-body {
  flex: 1;
}

.bc-service-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bc-black);
  margin-bottom: 0.25rem;
}

.bc-service-card-desc {
  font-size: 0.8rem;
  color: var(--bc-gray);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.bc-service-card-btn {
  display: inline-block;
  background: var(--bc-blue);
  color: var(--bc-white);
  font-family: var(--bc-font);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.bc-service-card-btn:hover {
  background: var(--bc-blue-hover);
  color: var(--bc-white);
}

@media (max-width: 480px) {
  .bc-service-card {
    flex-direction: column;
    gap: 0.75rem;
  }
}


/* =============================================================
   BLOCK 19: CENNIK (Pricing Table)
   Usage: <div class="bc-pricing">
   ============================================================= */
.bc-pricing {
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.bc-pricing-header {
  background: var(--bc-blue);
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bc-pricing-header-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bc-white);
}

.bc-pricing-header-note {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
}

.bc-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--bc-border);
  transition: background 0.15s;
}

.bc-pricing-row:last-child {
  border-bottom: none;
}

.bc-pricing-row:hover {
  background: var(--bc-blue-10);
}

.bc-pricing-service {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bc-black);
}

.bc-pricing-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bc-pricing-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--bc-blue);
}

.bc-pricing-btn {
  font-family: var(--bc-font);
  font-size: 0.65rem;
  font-weight: 700;
  background: none;
  color: var(--bc-blue);
  border: 1.5px solid var(--bc-blue);
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.bc-pricing-btn:hover {
  background: var(--bc-blue);
  color: var(--bc-white);
}

@media (max-width: 540px) {
  .bc-pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
  }

  .bc-pricing-right {
    width: 100%;
    justify-content: space-between;
  }
}


/* =============================================================
   BLOCK 20: BEFORE / AFTER
   Usage: <div class="bc-ba">
   ============================================================= */
.bc-ba {
  margin-bottom: 2rem;
}

.bc-ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  border-radius: var(--bc-radius);
  overflow: hidden;
}

.bc-ba-item {
  position: relative;
  overflow: hidden;
}

.bc-ba-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.bc-ba-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  color: white;
}

.bc-ba--before .bc-ba-label {
  background: var(--bc-red);
}

.bc-ba--after .bc-ba-label {
  background: var(--bc-green);
}

.bc-ba-caption {
  font-size: 0.72rem;
  color: var(--bc-gray-mid);
  text-align: center;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .bc-ba-grid {
    grid-template-columns: 1fr;
  }
}


/* =============================================================
   BLOCK 21: ETAPY PROCESU (Process Steps)
   Usage: <div class="bc-steps">
   ============================================================= */
.bc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.bc-step {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bc-gray-bg);
  border-radius: var(--bc-radius);
  position: relative;
  transition: background 0.2s;
}

.bc-step:hover {
  background: var(--bc-blue-10);
}

.bc-step-num {
  width: 32px;
  height: 32px;
  background: var(--bc-blue);
  color: var(--bc-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0 auto 0.6rem;
}

.bc-step-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bc-black);
  margin-bottom: 0.15rem;
}

.bc-step-desc {
  font-size: 0.65rem;
  color: var(--bc-gray-mid);
  line-height: 1.4;
}

.bc-step-arrow {
  position: absolute;
  right: -0.55rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bc-blue-20);
  font-size: 0.9rem;
  font-weight: 800;
  z-index: 1;
}

.bc-step:last-child .bc-step-arrow {
  display: none;
}

@media (max-width: 600px) {
  .bc-steps {
    grid-template-columns: 1fr 1fr;
  }

  .bc-step:nth-child(2) .bc-step-arrow,
  .bc-step:nth-child(4) .bc-step-arrow {
    display: none;
  }
}

@media (max-width: 380px) {
  .bc-steps {
    grid-template-columns: 1fr;
  }

  .bc-step .bc-step-arrow {
    display: none;
  }
}


/* =============================================================
   BLOCK 22: BOX ZADZWON (Phone CTA)
   Usage: <div class="bc-phone-box">
   ============================================================= */
.bc-phone-box {
  position: relative;
  border-radius: var(--bc-radius);
  overflow: hidden;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #0031F4 0%, #001EA0 50%, #0031F4 100%);
  background-size: 200% 200%;
  animation: bc-phoneGradient 6s ease infinite;
  box-shadow: 0 8px 32px rgba(0, 49, 244, 0.3);
  transition: box-shadow 0.3s, transform 0.3s;
}

.bc-phone-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0, 49, 244, 0.45);
}

@keyframes bc-phoneGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Subtle overlay texture */
.bc-phone-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* Animated rings */
.bc-phone-box-rings {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
}

.bc-phone-box-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: bc-phoneRing 2.5s ease-out infinite;
}

.bc-phone-box-ring:nth-child(2) { animation-delay: 0.8s; }
.bc-phone-box-ring:nth-child(3) { animation-delay: 1.6s; }

@keyframes bc-phoneRing {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.bc-phone-box-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 1.75rem 2rem 1.75rem 7rem;
  gap: 1.5rem;
}

/* Pulsing icon */
.bc-phone-box-icon {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: bc-phonePulse 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes bc-phonePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

.bc-phone-box-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
  animation: bc-phoneShake 3s ease-in-out infinite;
}

@keyframes bc-phoneShake {
  0%, 100% { transform: rotate(0deg); }
  5% { transform: rotate(15deg); }
  10% { transform: rotate(-12deg); }
  15% { transform: rotate(10deg); }
  20% { transform: rotate(-8deg); }
  25% { transform: rotate(5deg); }
  30%, 100% { transform: rotate(0deg); }
}

.bc-phone-box-content {
  flex: 1;
}

.bc-phone-box-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.15rem;
}

.bc-phone-box-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.bc-phone-box-number a {
  color: inherit;
  text-decoration: none;
}

.bc-phone-box-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.2rem;
}

.bc-phone-box-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.bc-phone-box-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  backdrop-filter: blur(4px);
}

.bc-phone-box-dot {
  width: 7px;
  height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: bc-phoneDotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px #4ADE80;
}

@keyframes bc-phoneDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.bc-phone-box-hours {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.bc-phone-box-cta {
  display: inline-block;
  background: white;
  color: var(--bc-blue);
  font-family: var(--bc-font);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 0.2rem;
}

.bc-phone-box-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: var(--bc-blue);
}

@media (max-width: 600px) {
  .bc-phone-box-inner {
    flex-direction: column;
    padding: 1.5rem 1.5rem;
    text-align: center;
    gap: 0.75rem;
  }

  /* Hide absolute rings on mobile - they overlap badly */
  .bc-phone-box-rings {
    display: none;
  }

  .bc-phone-box-icon {
    position: static;
    transform: none;
    margin: 0 auto;
    width: 48px;
    height: 48px;
  }

  .bc-phone-box-icon svg {
    width: 20px;
    height: 20px;
  }

  .bc-phone-box-number {
    font-size: 1.3rem;
  }

  .bc-phone-box-right {
    align-items: center;
  }

  .bc-phone-box-cta {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1.5rem;
  }
}


/* =============================================================
   BLOCK 23: KARTA REALIZACJI (Case Study)
   Usage: <div class="bc-case">
   ============================================================= */
.bc-case {
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.2s;
}

.bc-case:hover {
  box-shadow: var(--bc-shadow-hover);
}

.bc-case-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.bc-case-body {
  padding: 1.25rem 1.5rem;
}

.bc-case-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.bc-case-tag {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--bc-blue-10);
  color: var(--bc-blue);
}

.bc-case-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bc-black);
  margin-bottom: 0.35rem;
}

.bc-case-desc {
  font-size: 0.8rem;
  color: var(--bc-gray);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.bc-case-meta {
  font-size: 0.68rem;
  color: var(--bc-gray-mid);
  font-weight: 500;
}

.bc-case-meta span + span::before {
  content: " \00B7 ";
  color: var(--bc-border);
}


/* =============================================================
   BLOCK 24: CERTYFIKATY (Certificates)
   Usage: <div class="bc-certs">
   ============================================================= */
.bc-certs {
  background: var(--bc-gray-bg);
  border-radius: var(--bc-radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.bc-certs-label {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bc-green);
  margin-bottom: 1rem;
}

.bc-certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.bc-cert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem;
  background: var(--bc-white);
  border-radius: 8px;
}

.bc-cert-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bc-green);
  font-size: 1.1rem;
  font-weight: 700;
}

.bc-cert-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bc-black);
  line-height: 1.4;
}

.bc-cert-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--bc-gray-mid);
  margin-top: 0.1rem;
}

@media (max-width: 540px) {
  .bc-certs-grid {
    grid-template-columns: 1fr;
  }
}


/* =============================================================
   BLOCK 25: KALKULATOR WYCENY (Calculator)
   Usage: <div class="bc-calc">
   ============================================================= */
.bc-calc {
  border: 2px solid var(--bc-blue);
  border-radius: var(--bc-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.bc-calc-header {
  background: var(--bc-blue);
  padding: 1rem 1.5rem;
  color: var(--bc-white);
}

.bc-calc-header-title {
  font-size: 0.88rem;
  font-weight: 800;
}

.bc-calc-header-sub {
  font-size: 0.68rem;
  opacity: 0.7;
  margin-top: 0.15rem;
}

.bc-calc-body {
  padding: 1.5rem;
}

.bc-calc-row {
  margin-bottom: 1rem;
}

.bc-calc-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bc-black);
  margin-bottom: 0.4rem;
}

.bc-calc-select,
.bc-calc-input {
  width: 100%;
  font-family: var(--bc-font);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--bc-border);
  border-radius: 8px;
  background: var(--bc-white);
  color: var(--bc-black);
  outline: none;
  transition: border-color 0.2s;
  line-height: 1.4;
}

.bc-calc-select {
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  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='%23555' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  cursor: pointer;
}

.bc-calc-select:focus,
.bc-calc-input:focus {
  border-color: var(--bc-blue);
}

.bc-calc-result {
  background: var(--bc-blue-light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-align: center;
  margin-top: 1rem;
}

.bc-calc-result-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--bc-gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bc-calc-result-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bc-blue);
  margin: 0.25rem 0;
}

.bc-calc-result-note {
  font-size: 0.65rem;
  color: var(--bc-gray-mid);
}

.bc-calc-cta {
  display: block;
  width: 100%;
  background: var(--bc-blue);
  color: var(--bc-white);
  font-family: var(--bc-font);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.bc-calc-cta:hover {
  background: var(--bc-blue-hover);
  color: var(--bc-white);
}
