/* ============================================
   PRODUKCJA I MAGAZYNY - style specyficzne dla podstrony (segment)
   ============================================ */
.section-intro { margin-top: 12px; }

/* ============================================
   HERO (ciemny)
   ============================================ */
.page-hero { background: var(--dark); color: #fff; padding: 48px 0 64px; }
.page-hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb strong { color: rgba(255,255,255,0.9); font-weight: 500; }
.breadcrumb span { margin: 0 6px; }
.page-hero h1 { color: #fff; margin-bottom: 20px; }
.page-hero-desc { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.75); max-width: 520px; margin-bottom: 32px; }
.page-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.page-hero-media .media-placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius-media);
  background: repeating-linear-gradient(135deg, #4a4a49 0, #4a4a49 10px, #444443 10px, #444443 20px);
}
.page-hero-media .media-placeholder-label { color: rgba(255,255,255,0.4); }
.page-hero-media .media-placeholder-icon { color: rgba(255,255,255,0.35); }

@media (min-width: 901px) { .page-hero-media .media-placeholder { min-height: 320px; } }
@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-media .media-placeholder { min-height: 220px; }
}
@media (max-width: 600px) {
  .breadcrumb { display: none; }
  .page-hero-content { text-align: center; }
  .page-hero-desc { margin-left: auto; margin-right: auto; }
  .page-hero-actions { flex-direction: column; align-items: stretch; }
  .page-hero-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================
   DLA KOGO - 2 karty + zdjęcie
   ============================================ */
.dla-kogo-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 32px; align-items: stretch; }
.num-card { background: var(--white); border-top: 3px solid var(--red); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: 26px 28px; }
.num-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.num-card-top .step-badge { margin-bottom: 0; flex-shrink: 0; }
.num-card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--red-tint); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.num-card-icon svg { width: 20px; height: 20px; stroke-width: 2; }
.num-card h3 { font-size: 18px; margin-bottom: 8px; }
.num-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.dla-kogo-grid .split-media { height: 100%; }
.dla-kogo-grid .media-placeholder { height: 100%; border-radius: var(--radius-media); }

@media (max-width: 900px) {
  .dla-kogo-grid { grid-template-columns: 1fr; }
  .dla-kogo-grid .media-placeholder { aspect-ratio: 4/3; min-height: 220px; }
}
@media (max-width: 600px) {
  .num-card-top { justify-content: center; }
  /* nadpisuje sitewide ".step-badge{margin:auto}" (components.css) - tu badge
     musi zostać obok ikony, a nie wycentrować się osobno w wierszu flex */
  .num-card-top .step-badge { margin-left: 0; margin-right: 0; }
  .num-card, .num-card p { text-align: center; }
}

/* ============================================
   KIEDY WARTO / DLACZEGO - feature grid (współdzielone w obu sekcjach)
   ============================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.feature-grid.is-4col { grid-template-columns: repeat(4, 1fr); }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px; }
.feature-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--red-tint); color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 900px) { .feature-grid, .feature-grid.is-4col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .feature-grid, .feature-grid.is-4col { grid-template-columns: 1fr; }
  .feature-card { text-align: center; }
  .feature-card-icon { margin-left: auto; margin-right: auto; }
}

/* ============================================
   JAK WYGLĄDA WDROŻENIE
   ============================================ */
#wdrozenie .page-hero-actions,
#wdrozenie .split-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
#wdrozenie .split-actions .btn { flex: 1 1 0; justify-content: center; text-align: center; }

#wdrozenie .split { align-items: stretch; }
#wdrozenie .split-media .media-placeholder { height: 100%; border-radius: var(--radius-media); }

@media (max-width: 900px) {
  #wdrozenie .split-media .media-placeholder { height: auto; aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  #wdrozenie .split-actions { flex-direction: column; align-items: stretch; }
  #wdrozenie .split-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================
   EFEKT WDROŻENIA (sekcja ciemna, 4 kolumny)
   ============================================ */
#efekt h2 { color: #fff; }
#efekt .section-intro { color: rgba(255,255,255,0.7); }
.effect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.effect-card { background: var(--white); border-top: 3px solid var(--red); border-radius: var(--radius-card); padding: 24px 26px; }
.effect-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.effect-card-head svg { width: 22px; height: 22px; color: var(--red); stroke-width: 2; flex-shrink: 0; }
.effect-card-head h3 { font-size: 19px; }
/* Wiersze efektu jako accordion - reużywa .check-row-item/.check-row (JS już podpięty
   globalnie w main.js), tylko dopasowane rozmiarowo do wąskiej karty w ciemnej sekcji. */
.effect-card .check-row-item { background: none; border-left: none; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--border-light); }
.effect-card .check-row-item:last-child { border-bottom: none; }
.effect-card .check-row { min-height: 0; padding: 12px 0; gap: 10px; }
.effect-card .check-row-text { font-size: 14px; color: var(--text-muted); line-height: 1.4; }
.effect-card .check-icon { width: 16px; height: 16px; margin-top: 1px; }
.effect-card .check-row-chevron { width: 15px; height: 15px; }
.effect-card .check-row-answer-inner { padding: 0 0 14px 26px; font-size: 13px; }

@media (max-width: 900px) { .effect-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .effect-grid { grid-template-columns: 1fr; }
  .effect-card-head { justify-content: center; text-align: center; }
  .effect-card .check-row { justify-content: center; text-align: center; }
  .effect-card .check-row-answer-inner { text-align: center; padding-left: 0; }
}

/* ============================================
   DOWÓD Z REALIZACJI (case study)
   ============================================ */
.case-proof {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch;
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); overflow: hidden; margin-top: 32px;
}
.case-proof-media.media-placeholder { position: relative; border-radius: 0; height: 100%; min-height: 280px; }
.case-proof-body { padding: 40px 44px; }
.case-proof-body h2 { margin-bottom: 16px; }
.case-proof-body p { font-size: 15px; color: var(--text-muted); line-height: 1.65; margin-bottom: 24px; }
.case-proof-stats { display: flex; gap: 32px; margin-bottom: 28px; flex-wrap: wrap; }
.case-proof-stat-value { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--red); }
.case-proof-stat-label { font-size: 13px; color: var(--text-light); line-height: 1.4; }

@media (max-width: 900px) {
  .case-proof { grid-template-columns: 1fr; }
  /* aspect-ratio + min-height razem wymuszają szerokość większą niż kolumna (przelicza width z min-height*ratio) - tylko aspect-ratio */
  .case-proof-media.media-placeholder { aspect-ratio: 2/1; height: auto; min-height: 0; }
}
@media (max-width: 600px) {
  .case-proof-body { padding: 32px 24px; text-align: center; }
  .case-proof-stats { justify-content: center; }
}

/* ============================================
   FAQ - lista pojedyncza (styl check-row)
   ============================================ */
.faq-simple-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin-top: 32px; }
