/* Homepage-style carousel + reel modal for experience (funnel) pages */

.carousel-section.funnel-carousel {
  margin-top: 0;
  padding: 48px 0 40px;
  background: transparent;
  position: relative;
  z-index: 4;
}
.carousel-section.funnel-carousel::before {
  display: none;
}

.carousel-section.funnel-carousel .carousel-label {
  padding: 0 32px 12px;
  max-width: 1160px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
  z-index: 2;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  padding-top: 2px;
  padding-bottom: 12px;
}
@media (max-width: 768px) {
  .carousel-viewport {
    touch-action: pan-y;
  }
}

.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--dark, #2d2d2d);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  pointer-events: auto;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.car-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.car-arrow.left { left: 16px; }
.car-arrow.right { right: 16px; }

.carousel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 15;
  pointer-events: none;
}
.carousel-fade.left { left: 0; background: linear-gradient(to right, transparent, transparent); }
.carousel-fade.right { right: 0; background: linear-gradient(to left, transparent, transparent); }

.carousel-belt {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 14px 40px 16px;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  -webkit-user-select: none;
  user-select: none;
}

.car-card {
  position: relative;
  width: 220px;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  transform-origin: center center;
  background-size: cover;
  background-position: center;
}
.car-card:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  z-index: 30;
}
@media (hover: none) {
  .car-card:hover {
    transform: none;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  }
}
.car-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
}
.car-card:hover video {
  opacity: 1;
}
/* Video cards: still is native poster / frame from the clip, not a duplicate marketing image */
.car-card:not(:has(img.car-poster)):has(video) video {
  opacity: 1;
}
.car-card:not(:has(img.car-poster)):has(video):hover video {
  opacity: 1;
}
/* Video cards without a separate poster image: show native video poster / first frame only */
.car-card:not(:has(img.car-poster)):has(video) video {
  opacity: 1;
}
.car-card img.car-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.car-card-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 2;
}
.car-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 2;
}
.car-card:hover .car-card-play {
  opacity: 0;
}
.car-card--image .car-card-play {
  display: none;
}

.car-card .car-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  z-index: 3;
  transition: opacity 0.3s;
}
.car-card .car-spinner.hidden {
  opacity: 0;
  pointer-events: none;
}
.car-spinner-ring {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spz-spin 0.8s linear infinite;
}
@keyframes spz-spin {
  to {
    transform: rotate(360deg);
  }
}

.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.reel-modal.open {
  opacity: 1;
  pointer-events: all;
}
.reel-inner {
  position: relative;
  width: min(400px, 92vw);
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  animation: spz-reelIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes spz-reelIn {
  from {
    transform: scale(0.85) translateY(30px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
.reel-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  flex-shrink: 0;
}
.reel-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-video-wrap .reel-lightbox-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.reel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  line-height: 1;
}
.reel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 11;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  transition: background 0.2s, transform 0.2s;
}
.reel-nav-btn:hover {
  background: rgba(232, 95, 160, 0.55);
  transform: translateY(-50%) scale(1.05);
}
.reel-nav-prev {
  left: 10px;
}
.reel-nav-next {
  right: 10px;
}
.reel-info {
  padding: 20px 22px 24px;
  background: #111;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e85fa0;
}
.reel-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: white;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.reel-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}
.reel-cta {
  display: block;
  text-align: center;
  background: #e85fa0;
  color: white;
  border-radius: 100px;
  padding: 13px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.15s;
}
.reel-cta:hover {
  opacity: 0.85;
}
