/* ==========================================================================
   NOWA SEKCJA CASE STUDIES (GLASSMORPHISM)
   ========================================================================== */

/* Nagłówek sekcji */
.proof-heading {
  margin-bottom: 48px;
}
.proof-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold-text, #a3895c);
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.eyebrow-line {
  display: none;
  height: 1px;
  width: 48px;
  background: linear-gradient(90deg, transparent, var(--gold-text), transparent);
  opacity: 0.5;
}
.proof-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin: 16px 0 24px;
}
.hl-blue {
  color: var(--blue, #5b8dc9);
}
.proof-sub {
  color: var(--steel-400);
  font-size: 1.125rem;
  max-width: 680px;
  margin: 0 auto 40px;
}
.proof-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #9ab4d6;
  text-transform: uppercase;
  padding: 8px 20px;
  background: rgba(91, 141, 201, 0.08);
  border: 1px solid rgba(91, 141, 201, 0.2);
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.badge-item svg {
  color: var(--blue, #5b8dc9);
}

/* Karty */
.cases-glass {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.case-study-glass {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(8, 14, 32, 0.6);
  border: 1px solid rgba(91, 141, 201, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.case-study-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--fx-sx, 50%) var(--fx-sy, 50%), rgba(91, 141, 201, 0.08), transparent 60%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.case-study-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(91, 141, 201, 0.6);
}
.case-study-glass:hover::before {
  opacity: 1;
}

/* Kolumny w karcie */
.glass-col {
  padding: 40px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.glass-profile-col {
  border-right: 1px solid rgba(91, 141, 201, 0.15);
}
.case-reverse-glass .glass-profile-col {
  border-right: none;
  border-left: 1px solid rgba(91, 141, 201, 0.15);
}

/* Informacje o profilu */
.glass-profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.case-reverse-glass .glass-profile-header {
  justify-content: flex-end;
  text-align: right;
}
.glass-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(91, 141, 201, 0.5);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.glass-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-text, #a3895c);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.glass-name {
  font-size: 2.25rem;
  font-family: 'Manrope', sans-serif;
  margin: 0;
  line-height: 1.1;
  color: #fff;
}
.glass-short-quote {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 28px;
  color: #dbe6f4;
}

/* Oś czasu (Timeline) */
.timeline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-top: auto;
}
.timeline-row::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: calc((100% - 48px) / 3 - 6px);
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 141, 201, 0.15), rgba(91, 141, 201, 0.5), rgba(91, 141, 201, 0.15));
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
}
.timeline-step::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: var(--blue, #5b8dc9);
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 0 12px rgba(91, 141, 201, 0.6);
}
.step-title {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue, #5b8dc9);
  margin-bottom: 8px;
}
.timeline-step p {
  font-size: 0.875rem;
  color: var(--steel-300, #aab6c9);
  line-height: 1.5;
  margin: 0;
}

/* Kolumna z pełnym cytatem */
.glass-quote-col {
  justify-content: center;
  background: radial-gradient(circle at center, rgba(91, 141, 201, 0.03), transparent);
}
.testimonial-box {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(2, 5, 12, 0.4);
  box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}
.testimonial-box::before {
  content: "❝";
  position: absolute;
  top: -24px;
  left: -12px;
  font-size: 80px;
  line-height: 1;
  color: rgba(91, 141, 201, 0.15);
  font-family: serif;
  pointer-events: none;
}
.testimonial-box p {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--steel-300, #aab6c9);
  margin-bottom: 16px;
}
.testimonial-box p:last-child {
  margin-bottom: 0;
}
.glass-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #9ab4d6;
  text-transform: uppercase;
  padding: 12px 24px;
  background: rgba(91, 141, 201, 0.1);
  border: 1px solid rgba(91, 141, 201, 0.25);
  border-radius: 8px;
  align-self: flex-start;
}
.case-reverse-glass .glass-tag {
  align-self: flex-end;
}

/* Responsywność */
@media (max-width: 1024px) {
  .case-study-glass {
    grid-template-columns: 1fr;
  }
  .glass-profile-col,
  .case-reverse-glass .glass-profile-col {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid rgba(91, 141, 201, 0.15);
  }
  .case-reverse-glass .glass-profile-header {
    justify-content: flex-start;
    text-align: left;
  }
  .case-reverse-glass .glass-tag {
    align-self: flex-start;
  }
}
@media (max-width: 768px) {
  .glass-col {
    padding: 32px 24px;
  }
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .timeline-row::before {
    top: 12px;
    left: 5px;
    right: auto;
    width: 1px;
    height: calc(100% - 24px);
  }
}

.cta-block-bottom {
  margin-top: 64px;
  text-align: center;
}
.proof-consent-note {
  font-size: 0.9rem;
  color: var(--steel-400);
  margin-bottom: 24px;
}
.proof-consent-sub {
  font-size: 0.85rem;
  color: var(--steel-500);
  margin-top: 16px;
}
