/* =========================================
   Trusted by People in the Spotlight
   ========================================= */
.spotlight-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(100px, 12vh, 160px);
  padding-bottom: clamp(100px, 12vh, 160px);
}

.spotlight-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(900px, 85vw);
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: floatGlow 10s ease-in-out infinite;
}

.spotlight-header {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.spotlight-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--color-primary);
}

.spotlight-title {
  margin-bottom: 24px;
}

.spotlight-intro {
  max-width: 720px;
  margin: 0 auto;
}

.spotlight-carousel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
}

.spotlight-viewport {
  min-width: 0;
  overflow: hidden;
  padding: 12px 4px 28px;
}

.spotlight-track {
  display: flex;
  gap: 24px;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.spotlight-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(106, 27, 154, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 50px rgba(106, 27, 154, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.spotlight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 28px 60px rgba(106, 27, 154, 0.14);
}

.spotlight-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.34), transparent 45%),
    linear-gradient(145deg, rgba(106, 27, 154, 0.96), rgba(74, 20, 140, 0.82));
}

.spotlight-media img,
.spotlight-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.spotlight-media video { display: block; }

.spotlight-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.92);
}

.spotlight-media-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(18, 8, 28, 0.42);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.spotlight-media-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.spotlight-body {
  padding: 24px 24px 26px;
}

.spotlight-name {
  margin-bottom: 6px;
  font-size: clamp(20px, 1.8vw, 25px);
}

.spotlight-role {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.spotlight-coaching {
  padding-top: 16px;
  border-top: 1px solid rgba(106, 27, 154, 0.11);
  font-size: 0.92rem;
  line-height: 1.65;
}

.spotlight-coaching strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

.spotlight-arrow {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  color: var(--color-primary);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(106, 27, 154, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.spotlight-arrow:hover:not(:disabled) {
  transform: scale(1.08);
  background: var(--color-primary);
  color: #fff;
}

.spotlight-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.spotlight-progress {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.spotlight-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(106, 27, 154, 0.2);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.spotlight-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--color-bright);
}

.spotlight-cta {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 68px auto 0;
  padding: 42px 28px;
  text-align: center;
  border: 1px solid rgba(106, 27, 154, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.spotlight-cta-title {
  margin-bottom: 24px;
  font-size: clamp(24px, 3vw, 38px);
}

@media (max-width: 1100px) {
  .spotlight-card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 768px) {
  .spotlight-carousel { display: block; }
  .spotlight-viewport { padding-bottom: 18px; }
  .spotlight-track { gap: 16px; }
  .spotlight-card { flex-basis: 100%; }
  .spotlight-arrow { position: absolute; top: 34%; z-index: 3; width: 46px; height: 46px; }
  .spotlight-prev { left: 10px; }
  .spotlight-next { right: 10px; }
  .spotlight-body { padding: 22px 20px 24px; }
  .spotlight-cta { margin-top: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight-track,
  .spotlight-card,
  .spotlight-arrow,
  .spotlight-dot { transition: none; }
}

/* Main client image + secondary testimonial video */
.spotlight-main-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}
.spotlight-main-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.spotlight-video {
  position: relative;
  margin: 14px 14px 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #111;
}
.spotlight-video video {
  width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92;
}
.spotlight-video > span {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  padding: 6px 9px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff;
  font: 700 .62rem/1 var(--font-body); letter-spacing: .08em;
}
.spotlight-play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); z-index: 3;
  width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  background: rgba(20,10,30,.58); color: #fff; cursor: pointer; font-size: 18px;
  backdrop-filter: blur(8px); transition: transform .25s ease, background .25s ease;
}
.spotlight-play:hover { transform: translate(-50%,-50%) scale(1.08); background: var(--color-primary); }
.spotlight-video.is-playing .spotlight-play { opacity: .35; }
.spotlight-video.is-missing { display: none; }
.spotlight-instagram {
  display: inline-block; margin: -8px 0 18px; color: var(--color-primary); font: 700 .78rem/1.4 var(--font-body); text-decoration: none;
}
.spotlight-instagram:hover { text-decoration: underline; }


/* Media fit: every spotlight card shows the full supplied image, then the full vertical video. */
.spotlight-main-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(20, 10, 30, 0.08);
}

.spotlight-main-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.spotlight-video {
  position: relative;
  width: 100%;
  aspect-ratio: 1170 / 2532;
  overflow: hidden;
  background: #111;
}

.spotlight-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #111;
}

.spotlight-video video::-webkit-media-controls-panel {
  opacity: 1;
}

.spotlight-instagram {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.spotlight-instagram:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .spotlight-track { gap: 16px; }
  .spotlight-card { flex-basis: 100%; }
  .spotlight-main-media { aspect-ratio: 4 / 5; }
  .spotlight-video { aspect-ratio: 1170 / 2532; }
}

/* =========================================
   Spotlight: image thumbnail -> video modal
   ========================================= */
.spotlight-main-media.spotlight-video-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.spotlight-main-media.spotlight-video-trigger::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 20, 0.02) 35%, rgba(10, 8, 20, 0.18) 100%);
  transition: background .25s ease;
  pointer-events: none;
}

.spotlight-main-media.spotlight-video-trigger:hover::after,
.spotlight-main-media.spotlight-video-trigger:focus-visible::after {
  background: linear-gradient(180deg, rgba(10, 8, 20, 0.08) 25%, rgba(10, 8, 20, 0.28) 100%);
}

.spotlight-main-media.spotlight-video-trigger:focus-visible {
  outline: 3px solid var(--color-bright);
  outline-offset: -3px;
}

.spotlight-watch-overlay {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 150px;
  padding: 14px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(30, 12, 55, .16);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.spotlight-main-media.spotlight-video-trigger:hover .spotlight-watch-overlay,
.spotlight-main-media.spotlight-video-trigger:focus-visible .spotlight-watch-overlay {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 42px rgba(30, 12, 55, .22);
}

.spotlight-play-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 17px;
  line-height: 1;
}

/* Full-screen video viewer, matching the supplied reference */
body.spotlight-modal-open { overflow: hidden; }

.spotlight-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.spotlight-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.spotlight-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 34, .72);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.spotlight-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, 94vw);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(151, 71, 255, .34);
  border-radius: 20px;
  background: #0c1324;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
}

.spotlight-modal.is-open .spotlight-modal-dialog {
  transform: translateY(0) scale(1);
}

.spotlight-modal-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: #17172b;
  color: #fff;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.spotlight-modal-close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
}

.spotlight-modal-close:hover,
.spotlight-modal-close:focus-visible {
  background: rgba(255,255,255,.08);
  outline: none;
}

.spotlight-modal-content {
  display: grid;
  place-items: center;
  min-height: min(600px, calc(92vh - 64px));
  max-height: calc(92vh - 64px);
  padding: 0;
  background: #0c1324;
}

.spotlight-modal-content video {
  display: block;
  width: 100%;
  height: min(78vh, 720px);
  max-height: calc(92vh - 64px);
  object-fit: contain;
  background: #0c1324;
}

@media (max-width: 768px) {
  .spotlight-watch-overlay {
    min-width: 130px;
    padding: 11px 18px 13px;
    border-radius: 15px;
    font-size: .72rem;
  }

  .spotlight-modal { padding: 10px; }
  .spotlight-modal-dialog { width: 100%; max-height: 94vh; border-radius: 15px; }
  .spotlight-modal-header { height: 56px; padding: 0 14px; font-size: .78rem; }
  .spotlight-modal-content { min-height: calc(94vh - 56px); max-height: calc(94vh - 56px); }
  .spotlight-modal-content video { height: calc(94vh - 56px); max-height: calc(94vh - 56px); }
}
