/* ============================================================
   Case Study – specifické styly
   ============================================================ */

/* ── HUB — rozcestník případových studií ── */
.cs-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  text-align: left;
}

.cs-hub-card {
  border: 1px solid rgba(200, 150, 12, 0.15);
  background: rgba(200, 150, 12, 0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cs-hub-card:hover {
  border-color: rgba(200, 150, 12, 0.3);
  box-shadow: 0 0 40px rgba(200, 150, 12, 0.06);
}

.cs-hub-card-inner {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cs-hub-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0.5;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.6rem;
}

.cs-hub-category {
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  font-style: italic;
  color: #FF4466;
  text-shadow: 0 0 10px rgba(255, 68, 102, 0.25);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1.2rem;
}

.cs-hub-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--ghost);
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

.cs-hub-desc {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ghost);
  opacity: 0.82;
  margin-bottom: 1.8rem;
  flex: 1;
}

.cs-hub-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.2rem;
  border-top: 1px solid rgba(200, 150, 12, 0.1);
  border-bottom: 1px solid rgba(200, 150, 12, 0.1);
}

.cs-hub-stat {
  text-align: center;
}

.cs-hub-stat-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: var(--pale-gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.cs-hub-stat-label {
  font-family: 'Lora', serif;
  font-size: 0.75rem;
  color: var(--ghost);
  opacity: 0.65;
  display: block;
}

.cs-hub-cta {
  align-self: flex-start;
}

/* ── STATISTIKY ── */
.cs-stats {
  padding: 4rem 2rem;
  position: relative;
  background: none;
  border: none;
}

.cs-stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cs-stat {
  text-align: center;
}

.cs-stat-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--pale-gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cs-stat-label {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  color: var(--ghost);
  opacity: 0.7;
  letter-spacing: 0.03em;
  max-width: 180px;
  display: block;
}

.cs-stat-divider {
  color: var(--gold);
  opacity: 0.3;
  font-size: 0.8rem;
}

/* ── ORNAMENT-DIVIDER — transparentní pozadí ── */
.cs-stats ~ .ornament-divider,
.cs-section ~ .ornament-divider,
.cs-stats + .ornament-divider {
  background: transparent;
}

/* ── SEKCE ── */
.cs-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
}


/* ── STŘÍDAVÉ POZADÍ ── */
/* Purple sekce — full width s plynulými přechody */
.cs-bg-purple {
  max-width: none;
  padding: 6rem calc((100% - 900px) / 2 + 2rem);
  background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-purple) 50%, var(--midnight) 100%);
}

/* ── TEXT CONTENT ── */
.cs-content {
  max-width: 700px;
  margin: 2rem auto 0;
  text-align: left;
}

.cs-content p {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ghost);
  opacity: 0.88;
  margin-bottom: 1rem;
}

.cs-content strong {
  color: var(--pale-gold);
  font-weight: 600;
}

/* ── CS-LIST — bullet seznam v case study ── */
.cs-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ghost);
}

.cs-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  opacity: 0.88;
}

.cs-list li::before {
  content: "\2666";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pale-gold);
  font-size: 0.9rem;
  opacity: 0.8;
}

.cs-list strong {
  color: var(--pale-gold);
  font-weight: 600;
}

/* ── SPLIT LAYOUT (text + obrázek) ── */
.cs-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 2.5rem auto 0;
  text-align: left;
}

.cs-reverse {
  direction: rtl;
}

.cs-reverse > * {
  direction: ltr;
}

.cs-text p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ghost);
  opacity: 0.88;
  margin-bottom: 1rem;
}

.cs-text strong {
  color: var(--pale-gold);
  font-weight: 600;
}

.cs-image {
  border: 1px solid rgba(200, 150, 12, 0.15);
  overflow: hidden;
}

.cs-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.cs-image:hover img {
  transform: scale(1.03);
}

/* ── BLOCKQUOTE ── */
.cs-quote {
  max-width: 700px;
  margin: 2.5rem auto 0;
  padding: 2.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(200, 150, 12, 0.03);
  text-align: left;
}

.cs-quote p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--pale-gold);
  margin-bottom: 0.8rem;
}

.cs-quote cite {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  color: var(--ghost);
  opacity: 0.6;
  font-style: normal;
  display: block;
  margin-top: 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .cs-stats-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cs-stat-divider {
    display: none;
  }

  .cs-section {
    padding: 3.5rem 1.2rem;
  }

  .cs-bg-purple {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .cs-content-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cs-reverse {
    direction: ltr;
  }

  .cs-quote {
    padding: 1.5rem;
  }

  .cs-section::before {
    margin-bottom: 2rem;
  }

  .cs-hub-grid {
    grid-template-columns: 1fr;
  }

  .cs-hub-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
