/* Staged customer-review cards. Vertical 9:16 inside existing design slots. */

.mambo-review-card {
  margin: 0;
  width: min(100%, 20.5rem);
}

.mambo-review-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #18130f;
  box-shadow: 0 18px 55px rgba(25, 16, 9, 0.12);
}

.mambo-review-video,
.mambo-review-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mambo-review-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #18130f;
}

.mambo-review-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.mambo-review-card.is-loaded .mambo-review-poster {
  opacity: 0;
  transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mambo-review-play,
.mambo-review-unmute {
  position: absolute;
  z-index: 3;
  border: 0;
  cursor: pointer;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.mambo-review-play {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(18, 16, 15, 0.78);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.mambo-review-play-icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  border-radius: 50%;
  background: #f47a20;
  color: #fff;
  font-size: 0.75rem;
}

.mambo-review-play:focus-visible,
.mambo-review-unmute:focus-visible,
.mambo-review-lang:focus-visible {
  outline: 3px solid #f6b73c;
  outline-offset: 3px;
}

.mambo-review-card.is-playing .mambo-review-play {
  display: none;
}

.mambo-review-unmute {
  left: 50%;
  bottom: 4.25rem;
  transform: translateX(-50%);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(18, 16, 15, 0.82);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.mambo-review-captions-toggle {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(18, 16, 15, 0.7);
}

.mambo-review-lang {
  border: 0;
  background: transparent;
  color: #fff;
  font: 650 0.6875rem/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
}

.mambo-review-lang[aria-pressed="true"] {
  background: #f6b73c;
  color: #12100f;
}

.mambo-review-caption {
  padding: 0.9rem 0.15rem 0;
}

.mambo-review-quote {
  margin: 0 0 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #12100f;
}

.mambo-review-credit {
  margin: 0;
  font-size: 0.8125rem;
  color: #6d655e;
}

/* -------------------------------------------------------------------------
   Home Social Proof: James replaces the large organizer card (CM-009),
   Dodgers replaces the guest/event card (CM-011). Review wall unchanged.
   Override the live landscape 360px thumb so 9:16 media is not cropped.
   ------------------------------------------------------------------------- */

body.home .mambo-home-replica .proof-video-card:has(.mambo-review-card),
.proof-video-card:has(.mambo-review-card) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 18px 16px;
  background: #2c2724;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
}

body.home .mambo-home-replica .proof-video-card:has(.mambo-review-card) .proof-video-thumb,
.proof-video-card:has(.mambo-review-card) .proof-video-thumb {
  height: auto;
  min-height: 0;
  background: none;
  overflow: visible;
  border-radius: 0;
}

body.home .mambo-home-replica .proof-video-card:has(.mambo-review-card) .proof-video-thumb:before,
.proof-video-card:has(.mambo-review-card) .proof-video-thumb:before {
  content: none;
  animation: none;
}

.proof-video-card .mambo-review-card,
.proof-event-card .mambo-review-card {
  width: min(100%, 20.5rem);
  margin-inline: auto;
}

.proof-video-card .mambo-review-quote,
.proof-event-card .mambo-review-quote {
  color: #fff8ef;
}

.proof-video-card .mambo-review-credit,
.proof-event-card .mambo-review-credit {
  color: #ded4cd;
}

.proof-slot-label {
  width: min(100%, 20.5rem);
  margin: 0 auto 10px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd47e;
}

body.home .mambo-home-replica .proof-side:has(.mambo-review-card),
.proof-side:has(.mambo-review-card) {
  grid-template-rows: auto auto;
  align-content: start;
  align-items: stretch;
}

body.home .mambo-home-replica .proof-event-card:has(.mambo-review-card),
.proof-event-card:has(.mambo-review-card) {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

body.home .mambo-home-replica .proof-event-card:has(.mambo-review-card) > .badge-line,
.proof-event-card:has(.mambo-review-card) > .badge-line {
  position: static;
  pointer-events: auto;
  margin: 0 auto 10px;
  width: min(100%, 18rem);
}

.proof-event-card .mambo-review-card {
  width: min(100%, 18rem);
}

@media (max-width: 900px) {
  body.home .mambo-home-replica .proof-feature-grid:has(.mambo-review-card),
  .proof-feature-grid:has(.mambo-review-card) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .proof-video-card .mambo-review-card,
  .proof-slot-label {
    width: min(100%, 17.5rem);
  }

  .proof-event-card .mambo-review-card,
  .proof-event-card:has(.mambo-review-card) > .badge-line {
    width: min(100%, 17.5rem);
  }
}

/* -------------------------------------------------------------------------
   Cuban kitchen #testimonials .video-proof: Wrangler replaces reused att 80.
   The Cuban kitchen-prep card (att 147) stays a landscape thumb.
   ------------------------------------------------------------------------- */

.mambo-kitchen-reference .video-card:has(.mambo-review-card) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mambo-kitchen-reference .video-card .mambo-review-card {
  width: min(100%, 18rem);
}

.mambo-kitchen-reference .video-card .mambo-review-quote {
  color: #12100f;
}

.mambo-kitchen-reference .video-card .mambo-review-credit {
  color: #6d655e;
}

.mambo-kitchen-reference .video-card:has(.mambo-review-card) > b,
.mambo-kitchen-reference .video-card:has(.mambo-review-card) > span {
  width: min(100%, 18rem);
}

@media (prefers-reduced-motion: reduce) {
  .mambo-review-card.is-loaded .mambo-review-poster {
    transition: none;
  }
}

/* Keep the 2-column proof grid from stretching a tall empty well under James. */
body.home .mambo-home-replica .proof-feature-grid:has(.mambo-review-card),
.proof-feature-grid:has(.mambo-review-card) {
  align-items: start;
}

/* Slightly tighter 9:16 frames so the reserved cards stay closer to the
   original section height and spend less time under the sticky home nav. */
@media (min-width: 901px) {
  .proof-video-card .mambo-review-card,
  .proof-slot-label {
    width: min(100%, 16.75rem);
  }
  .proof-event-card .mambo-review-card,
  .proof-event-card:has(.mambo-review-card) > .badge-line {
    width: min(100%, 15.75rem);
  }
}

body.home .mambo-home-replica .proof-video-card .mambo-review-quote,
body.home .mambo-home-replica .proof-event-card .mambo-review-quote,
.proof-video-card .mambo-review-quote,
.proof-event-card .mambo-review-quote {
  color: #fff8ef;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Extra clearance so sticky header / mobile Text-Call-Chat bar
   do not cover tall 9:16 review cards or their captions. */
.mambo-review-card {
  scroll-margin-top: 6rem;
  scroll-margin-bottom: 6.5rem;
}

@media (max-width: 620px) {
  body.home .mambo-home-replica .social-proof-section:has(.mambo-review-card) {
    padding-bottom: 7rem;
  }
  .mambo-kitchen-reference section#testimonials:has(.mambo-review-card) {
    padding-bottom: 7rem;
  }
}
