/* ==========================================================================
   Instagram video strip — arch-shaped, auto-scrolling
   Clean vertical video cards in an arch silhouette. No overlays, no icons.
   Each card is a link that opens the reel on Instagram.
   Marquee + autoplay handled by Swiper (see [data-swiper] in index.html) and
   assets/js/reel-testimonials.js (muted autoplay + staggered start frames).
   ========================================================================== */

.reels-container {
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

.reels-head {
  text-align: center;
  margin-bottom: 34px;
}

.reels-head .reels-tag {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E45424;
  font-weight: 600;
  margin-bottom: 8px;
}

.reels-head h3 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #27272f;
}

.reels-head p {
  max-width: 540px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: #6d7480;
}

/* ----- Carousel (continuous horizontal marquee) ----- */
.reels-carousel {
  position: relative;
  padding: 10px 4px 14px;
}

.reels-carousel .swiper-slide {
  height: auto;
}

/* Manual carousel: 5 in view, smooth easing on arrow / drag navigation */
.reels-carousel .swiper-wrapper {
  transition-timing-function: cubic-bezier(.22,.61,.36,1) !important;
}

/* wrap that holds the carousel between the prev/next push buttons */
.reels-carousel-wrap {
  position: relative;
  padding: 0 8px;
}
.reels-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #3C2454;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(24,24,36,.22);
  transition: background .25s ease, transform .2s ease;
}
.reels-nav:hover { background: #E45424; }
.reels-nav:active { transform: translateY(-50%) scale(.94); }
.reels-prev { left: -10px; }
.reels-next { right: -10px; }
.reels-nav.swiper-button-disabled { opacity: .35; cursor: default; }
@media (max-width: 575px) {
  .reels-nav { width: 38px; height: 38px; font-size: 20px; }
  .reels-prev { left: -4px; } .reels-next { right: -4px; }
}

/* brand logo interstitial card (kept among the reels) */
.reel-card--logo {
  background: #F4EFDD;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.reel-card--logo .reel-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px;
}
.reel-card--logo .reel-logo img { width: 76%; max-width: 150px; height: auto; }
.reel-card--logo .reel-logo b {
  font-family: 'Alegreya Sans', sans-serif;
  letter-spacing: .22em;
  font-size: 12px;
  color: #3C2454;
}
.reel-card--logo .reel-logo em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .06em;
  color: #6d7480;
}

/* ----- The card: vertical 9:16 video in an ARCH shape ----- */
.reel-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;      /* full vertical reel */
  overflow: hidden;
  background: #111;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: none;          /* no shadow */
}

/* aspect-ratio fallback */
@supports not (aspect-ratio: 9 / 16) {
  .reel-card { height: 0; padding-bottom: 177.78%; }
}

/* "View All" button under the reel grid */
.reels-viewall {
  text-align: center;
  margin-top: 34px;
}

.reel-card:focus-visible {
  outline: 3px solid #E45424;
  outline-offset: 2px;
}

.reel-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none; /* let clicks fall through to the <a> */
}

@media (prefers-reduced-motion: reduce) {
  .reel-card { transition: none; }
}
