/* ============================================
   JAK DZIAŁAMY - style specyficzne dla podstrony
   ============================================ */
.section-intro { margin-top: 12px; }

/* ============================================
   HERO (ciemny, z wideo)
   ============================================ */
.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); }

.hero-video-play {
  width: 64px; height: 64px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.hero-video-play svg { width: 24px; height: 24px; color: #fff; margin-left: 3px; stroke-width: 2; fill: #fff; }
.hero-video-title { color: #fff; font-weight: 500; font-size: 16px; margin-bottom: 6px; }

@media (min-width: 901px) {
  .page-hero-media .media-placeholder { min-height: 340px; }
}
@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; }
  .hero-video-play { margin-left: auto; margin-right: auto; }
}

/* ============================================
   FOTO PEŁNOEKRANOWE
   ============================================ */
.fullwidth-media img { display: block; width: 100%; height: auto; }

/* ============================================
   TIMELINE - współpraca w 5 krokach
   ============================================ */
.timeline { margin-top: 40px; }
.timeline-item { display: grid; grid-template-columns: 48px 1fr; gap: 24px; }
.timeline-badge-col { display: flex; flex-direction: column; align-items: center; }
.timeline-badge {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.timeline-badge.is-final { background: var(--dark); }
.timeline-line { width: 2px; flex: 1; background: var(--border); margin-top: 4px; }
.timeline-item:last-child .timeline-line { display: none; }
.timeline-card {
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
  padding: 24px 28px; margin-bottom: 24px;
}
.timeline-item:last-child .timeline-card { border-bottom: 3px solid var(--red); margin-bottom: 0; }
.timeline-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.timeline-card-head svg { width: 22px; height: 22px; color: var(--dark); stroke-width: 2; flex-shrink: 0; }
.timeline-card-head h3 { font-size: 19px; }
.timeline-time {
  font-size: 12px; font-weight: 600; color: var(--red); background: var(--red-tint);
  padding: 4px 12px; border-radius: var(--radius-pill); white-space: nowrap;
}
.timeline-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.timeline-card .arrow-link { margin-top: 10px; display: inline-flex; }

/* Numer widoczny obok ikony wewnątrz karty - używany tylko na mobile (patrz niżej) */
.timeline-badge-inline {
  display: none; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  align-items: center; justify-content: center;
}
.timeline-badge-inline.is-final { background: var(--dark); }

@media (max-width: 600px) {
  /* Bez lewej kolumny z numerem i łączącą linią - numer wraca w nagłówku karty, obok ikony */
  .timeline-badge-col { display: none; }
  .timeline-item { display: block; }
  .timeline-card { padding: 20px; }
  .timeline-badge-inline { display: inline-flex; }
  .timeline-card-head { justify-content: center; text-align: center; }
  .timeline-card-head h3, .timeline-card-head .timeline-time { flex-basis: 100%; }
  .timeline-card p, .timeline-card .arrow-link { text-align: center; }
  .timeline-card .arrow-link { display: flex; justify-content: center; }
}

/* ============================================
   CO ZAPEWNIAMY MY, A CO FIRMA
   ============================================ */
#co-zapewniamy .section-header { margin-bottom: 24px; }
.provide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 0; align-items: start; }
.provide-card { border-radius: var(--radius-card); padding: 28px 32px; }
.provide-card.is-dark { background: var(--dark); color: #fff; }
.provide-card.is-light { background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.provide-card-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.provide-card.is-light .provide-card-head { border-bottom-color: var(--border-light); }
.provide-card-head-icon { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.provide-card.is-dark .provide-card-head-icon { background: var(--red); color: #fff; }
.provide-card.is-light .provide-card-head-icon { border-radius: 8px; background: var(--red-tint); color: var(--red); }
.provide-card-head-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.provide-card-head h3 { font-size: 19px; }
.provide-card.is-dark .provide-card-head h3 { color: #fff; }
.provide-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 15px; }
.provide-card.is-light .provide-row { border-bottom-color: var(--border-light); color: var(--text-muted); }
.provide-card.is-dark .provide-row { color: rgba(255,255,255,0.85); }
.provide-row:last-child { border-bottom: none; }
.provide-row svg { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 2; }
.provide-card.is-dark .provide-row svg { color: #E8908E; }
.provide-card.is-light .provide-row svg { color: var(--red); }
.provide-note { margin-top: 20px; background: var(--red-tint); color: var(--text-muted); font-size: 14px; line-height: 1.6; padding: 18px 20px; border-radius: var(--radius-card); }
.provide-note strong { color: var(--dark); }

@media (max-width: 768px) { .provide-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  #co-zapewniamy .section-header-desc { text-align: center; margin-left: auto; margin-right: auto; }
  .provide-card-head { justify-content: center; text-align: center; }
  .provide-row { justify-content: center; text-align: center; }
}

/* ============================================
   STAŁA OBSŁUGA PO WDROŻENIU
   ============================================ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.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; }

.note-dark {
  background: var(--dark); color: rgba(255,255,255,0.9); border-left: 4px solid var(--red);
  border-radius: var(--radius-card); padding: 24px 32px; margin-top: 24px; font-size: 16px; line-height: 1.6;
}

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

/* ============================================
   DLACZEGO FIRMY WYBIERAJĄ AUTOMAT
   ============================================ */
#dlaczego-my .models-grid { margin-top: 32px; }
.dlaczego-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* proporcja 2.6/1 dawała w kolumnie ok. 155 px wysokości - za mało, żeby cokolwiek
   było widać na zdjęciu; 3/2 mieści się w sekcji, a zdjęcie jest czytelne.
   min-height tylko od 901px - niżej aspect-ratio + min-height przeliczają
   szerokość z min-height*ratio i wypychają zdjęcie poza kolumnę. */
#stala-obsluga .split-media .media-placeholder,
#dlaczego-my .split-media .media-placeholder { aspect-ratio: 3/2; }
@media (min-width: 901px) {
  #stala-obsluga .split-media .media-placeholder,
  #dlaczego-my .split-media .media-placeholder { min-height: 260px; }
}

@media (max-width: 600px) {
  #dlaczego-my .btn { width: 100%; justify-content: center; }
}
