/* Cases & Doctor Section */
.cases-doctor-section {
  padding: 64px 20px 40px;
  background: var(--white);
}

.case-title {
  font-size: 50px;
}
.cases-doctor-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cases-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cases-header .eyebrow {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--haiti);
  opacity: 0.7;
}

.cases-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--haiti);
  margin: 0;
}

.cases-subtitle {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(21, 20, 57, 0.7);
  margin: 0;
}

.cases-groups {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-section-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-section-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: var(--haiti);
  margin: 0;
  text-align: center;
}

.premium-cases-slider {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.cases-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.cases-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.case-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.case-slide img,
.case-slide video {
  width: min(92vw, 880px);
  height: auto;
  max-height: min(72vh, 880px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.case-slide video {
  border: none;
}

.slider-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 14px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(201, 161, 61, 0.5);
  background: rgba(255, 255, 255, 0.9);
  color: #c9a13d;
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease;
}

.slider-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.98);
  color: #9f7b1c;
}

.slider-btn:focus-visible {
  outline: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #c9a13d;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider-dots button.active {
  background: #c9a13d;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .cases-doctor-section {
    padding: 48px 16px 32px;
  }

  .cases-title {
    font-size: 24px;
  }

  .cases-groups {
    gap: 32px;
  }

  .case-section-group {
    gap: 16px;
  }

  .case-section-title {
    font-size: 20px;
  }

  .premium-cases-slider {
    padding: 0;
  }

  .slider-controls {
    display: none;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(21, 20, 57, 0.12);
  }
}
