/* ==========================================================================
   Futurio Learning — enhancements.css
   NEW additions only. Layered on top of futurio-design-system.css.
   Covers the §5 media & design enhancements from the build instructions.
   Do NOT edit futurio-design-system.css — all new CSS lives here.
   ========================================================================== */

/* §5.1 — Social Proof Strip */
.fl-proof-strip {
  background: var(--fl-teal-dark);
  padding: 14px 0;
  overflow: hidden;
}
.fl-proof-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.fl-proof-strip__item {
  font-family: var(--fl-font-heading);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fl-proof-strip__stars {
  color: var(--fl-gold);
  letter-spacing: 1px;
}
.fl-proof-strip__divider {
  color: rgba(255,255,255,0.25);
  font-size: 18px;
}
@media (max-width: 639px) {
  .fl-proof-strip__divider { display: none; }
  .fl-proof-strip__inner { flex-direction: column; gap: 8px; }
}

/* §5.2 — Kit Tabs Strip */
.fl-kit-tabs__strip {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--fl-gray-100);
  overflow-x: auto;
}
.fl-kit-tab {
  font-family: var(--fl-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--fl-gray-500);
  padding: 12px 22px;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -2px;
}
.fl-kit-tab:hover { color: var(--fl-teal-dark); }
.fl-kit-tab--active, .fl-kit-tab[aria-selected="true"] {
  color: var(--fl-teal-vivid);
  border-bottom-color: var(--fl-teal-vivid);
}
/* Kit Pane */
.fl-kit-pane { display: none; }
.fl-kit-pane--active,
.fl-kit-pane:not([hidden]) { display: grid; }
.fl-kit-pane__image {
  border-radius: var(--fl-radius-xl);
  overflow: hidden;
  background: var(--fl-teal-light);
  min-height: 300px;
}
.fl-kit-pane__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.fl-kit-pane__image:hover img { transform: scale(1.04); }
.fl-kit-pane__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

/* §5.3 — Video Section */
.fl-video-section .fl-split {
  align-items: center;
  gap: var(--fl-sp-12);
}
/* Supporting utility for the eyebrow inside the dark video section */
.fl-text-teal { color: var(--fl-teal-vivid); }
.fl-video-section__player {
  position: relative;
  border-radius: var(--fl-radius-xl);
  overflow: hidden;
  background: rgba(0,0,0,0.3);
}
.fl-video-section__video {
  width: 100%;
  display: block;
  border-radius: var(--fl-radius-xl);
}
.fl-video-section__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s;
}
.fl-video-section__player:has(video:not([controls]):not([data-playing])) .fl-video-section__play-overlay {
  opacity: 1;
}
.fl-video-section__play-btn {
  width: 60px; height: 60px;
  background: var(--fl-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--fl-teal-dark);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.fl-video-section__points {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fl-video-section__points li {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.fl-video-section__points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--fl-teal-vivid);
  font-weight: 700;
}
.fl-video-section__placeholder {
  background: rgba(255,255,255,0.05);
  border-radius: var(--fl-radius-xl);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255,255,255,0.15);
}

/* §5.4 — Photo Gallery Grid */
.fl-photo-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 10px;
  border-radius: var(--fl-radius-xl);
  overflow: hidden;
}
@media (min-width: 768px) {
  .fl-photo-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 220px);
  }
  .fl-photo-gallery__cell--featured {
    grid-column: 1;
    grid-row: 1 / 3;
  }
}
.fl-photo-gallery__cell {
  overflow: hidden;
  background: var(--fl-teal-light);
}
.fl-photo-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.fl-photo-gallery__cell:hover img {
  transform: scale(1.04);
}

/* §5.5 — Reviews Photo Strip */
.fl-reviews-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  height: 200px;
  margin: 0 0 48px;
  border-radius: var(--fl-radius-xl);
  overflow: hidden;
}
@media (max-width: 639px) {
  .fl-reviews-photo-strip {
    grid-template-columns: repeat(2, 1fr);
    height: 280px;
  }
}
.fl-reviews-photo-strip__cell {
  overflow: hidden;
}
.fl-reviews-photo-strip__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.fl-reviews-photo-strip__cell:hover img {
  transform: scale(1.04);
}

/* §5.6 — Hero second floating chip */
.fl-hero__location-chip {
  position: absolute;
  top: var(--fl-sp-5);
  left: var(--fl-sp-5);
  z-index: 2;
  background: rgba(43,179,163,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(43,179,163,0.35);
  border-radius: var(--fl-radius-pill);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fl-font-heading);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.fl-hero__location-chip__icon { font-size: 14px; }

/* §5.7 — Looping hero video */
.fl-hero__loop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}
/* Tighten overlay so badge and chip remain legible */
.fl-hero__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(47,79,87,0.35) 0%,
    rgba(47,79,87,0.55) 100%
  );
  z-index: 0;
  pointer-events: none;
}
/* Ensure panel image and floating elements stay above overlay */
.fl-hero__panel-image,
.fl-hero__badge,
.fl-hero__location-chip { position: relative; z-index: 1; }

/* §5.8 — Parent Workshop Spotlight */
.fl-parent-spotlight {
  background: rgba(212,175,55,0.07);
  border-top: 1px solid rgba(212,175,55,0.20);
  border-bottom: 1px solid rgba(212,175,55,0.20);
  padding: 32px 0;
}
.fl-parent-spotlight__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.fl-parent-spotlight__icon {
  font-size: 44px;
  flex-shrink: 0;
}
.fl-parent-spotlight__content { flex: 1; min-width: 260px; }
.fl-parent-spotlight__badge {
  display: inline-block;
  font-family: var(--fl-font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fl-gold-dark, #B8942B);
  margin-bottom: 8px;
}
.fl-parent-spotlight__title {
  font-family: var(--fl-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fl-teal-dark);
  margin-bottom: 6px;
}
.fl-parent-spotlight__body {
  font-size: 14px;
  color: var(--fl-gray-500);
  margin-bottom: 0;
}
.fl-parent-spotlight__cta { flex-shrink: 0; }
@media (max-width: 639px) {
  .fl-parent-spotlight__cta { width: 100%; text-align: center; }
}

/* §5.9 — Mobile Sticky CTA */
.fl-sticky-cta {
  display: none; /* shown by JS on mobile only */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--fl-teal-vivid);
  z-index: 98;
  padding: 0;
  box-shadow: 0 -2px 12px rgba(47,79,87,0.20);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.fl-sticky-cta.is-visible {
  transform: translateY(0);
}
.fl-sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  color: white;
  font-family: var(--fl-font-heading);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 767px) {
  .fl-sticky-cta { display: block; }
}

/* §5.10 — Image Hover Zoom (Global Enhancement) */
.fl-program-section__image-wrap img,
.fl-split__image img,
.fl-audience-section .fl-split__image img {
  transition: transform 0.45s ease;
}
.fl-program-section__image-wrap:hover img,
.fl-split__image:hover img,
.fl-audience-section .fl-split__image:hover img {
  transform: scale(1.04);
}

/* Gradient overlay on program section images for outcome card legibility */
.fl-program-section__image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(47,79,87,0.45), transparent);
  border-radius: 0 0 var(--fl-radius-xl) var(--fl-radius-xl);
  pointer-events: none;
}
