/* ── Carousel Header ─────────────────────────────────────── */
.carousel-header {
  width: 100%;
  padding: 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  background: linear-gradient(
    to bottom,
    rgba(243, 243, 243, 0.583),
    rgba(47, 6, 80, 0.9) 25%,
    rgba(88, 24, 140, 0.135) 65%,
    rgba(0, 0, 0, 0.596) 85%
  );
  color: #f0ece6;
}

/* Top text */
.carousel-header__top {
  text-align: center;
  max-width: 760px;
}

.carousel-header__title {
  font-family: var(--f-display);
  font-size: 2rem;
  margin: 0 0 0.4rem 0;
  line-height: 3rem;
}

.carousel-header__lead {
  margin: 0;
  color: rgba(240, 236, 230, 0.7);
  font-size: 1rem;
}

/* Carousel viewport */
.carousel-wrap {
  width: min(1200px, 94%);
  max-width: 1400px;
  height: 550px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  background: #111;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.78s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide .cv-video,
.carousel-slide .cv-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/* Nav arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(240, 236, 230, 0.06);
  color: rgba(240, 236, 230, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background var(--t-sm);
}

.carousel-nav:hover { background: rgba(240, 236, 230, 0.14); }
.carousel-nav--left  { left: 12px; }
.carousel-nav--right { right: 12px; }

/* Dots */
.carousel-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 6;
}

.carousel-dot {
  width: 36px;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t-sm);
}

.carousel-dot--active { background: rgba(255, 255, 255, 0.95); }

/* CTA */
.carousel-header__button {
  text-align: center;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.carousel-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--yellow);
  font-family: inherit;
  border-radius: 8px;
  color: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}

.carousel-header__cta:hover {
  color: #000;
  background-color: #fff;
}

/* Responsive */
@media (max-width: 1100px) {
  .carousel-wrap { height: 400px; width: 90%; }
  .carousel-header__title { font-size: 2rem; line-height: 1.5rem; }
  .carousel-header__lead  { font-size: 0.9rem; }
  .carousel-header__top   { max-width: 480px; }
}

@media (max-width: 768px) {
  .carousel-header { padding: 2rem 1.25rem; gap: 1.25rem; }
  .carousel-header__top { max-width: 380px; }
  .carousel-header__lead { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .carousel-wrap   { height: 400px; width: 100%; border-radius: 6px; }
  .carousel-header__top { max-width: 350px; }
  .carousel-header__title { font-size: 1.5rem; }
  .carousel-header__lead  { font-size: 0.8rem; }
}
