.botmer-testimonials {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1128px;
  width: 100%;
}

.botmer-testimonials *,
.botmer-video-modal * {
  box-sizing: border-box;
}

.botmer-testimonials__heading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.botmer-testimonials__eyebrow {
  background: #fff;
  border-radius: 999px;
  color: #111;
  font: 600 14px/1 "Inter", "Inter Placeholder", sans-serif;
  padding: 10px 15px;
}

.botmer-testimonials__title {
  color: #000;
  font-family: "Inter", "Inter Placeholder", sans-serif;
  font-size: clamp(40px, 4.7vw, 56px);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: 1.1;
  margin: 0;
  max-width: 760px;
}

.botmer-testimonials__title em {
  font-family: "Source Serif 4", "Source Serif 4 Placeholder", serif;
  font-style: italic;
  letter-spacing: -.08em;
}

.botmer-testimonials__track {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 2px 2px 18px;
}

@media (min-width: 1200px) {
  .botmer-testimonials {
    max-width: 1360px;
    width: calc(100vw - 72px);
  }
}

.botmer-testimonial {
  background: #fff;
  border: 6px solid #f8f8f8;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(108,113,128,.08), 0 7px 7px rgba(108,113,128,.07), 0 17px 10px rgba(108,113,128,.04);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 288px;
  padding: 22px;
}

.botmer-testimonial__person {
  align-items: center;
  display: grid;
  gap: 13px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
}

.botmer-testimonial__portrait-frame {
  border-radius: 50%;
  display: block;
  flex: none;
  height: 58px;
  overflow: hidden;
  position: relative;
  width: 58px;
}

.botmer-testimonial__portrait {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.28);
  transform-origin: center 30%;
  width: 100%;
}

.botmer-testimonial__identity { min-width: 0; }

.botmer-testimonial__name {
  color: #111;
  font: 600 17px/1.2 "Inter", "Inter Placeholder", sans-serif;
  letter-spacing: -.03em;
  margin: 0 0 5px;
}

.botmer-testimonial__role {
  color: #8a8a8a;
  font: 500 13px/1.3 "Inter", "Inter Placeholder", sans-serif;
  margin: 0;
}

.botmer-testimonial__play {
  align-items: center;
  appearance: none;
  background: #0b0b0b;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: transform .2s ease, background-color .2s ease;
  width: 42px;
}

.botmer-testimonial__play:hover { background: #1c1c1c; transform: translateY(-2px); }
.botmer-testimonial__play:focus-visible { box-shadow: 0 0 0 2px #fff; outline: 3px solid #050601; outline-offset: 3px; }
.botmer-testimonial__play svg { height: 15px; margin-left: 2px; width: 15px; }

.botmer-testimonial__review {
  color: #666;
  font: 400 16px/1.55 "Inter", "Inter Placeholder", sans-serif;
  margin: 0;
}

.botmer-video-modal {
  align-items: center;
  background: rgba(5, 16, 26, .76);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity .2s ease;
  z-index: 100000;
}

.botmer-video-modal.is-open { opacity: 1; pointer-events: auto; }

.botmer-video-modal__dialog {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  position: relative;
  width: min(390px, 100%);
}

.botmer-video-modal__frame {
  aspect-ratio: 9 / 16;
  background: #000;
  border: 0;
  display: block;
  max-height: calc(100vh - 48px);
  width: 100%;
}

.botmer-video-modal__close {
  align-items: center;
  appearance: none;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: 400 25px/1 "Inter", sans-serif;
  height: 40px;
  justify-content: center;
  padding: 0 0 3px;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  z-index: 2;
}

.botmer-video-modal__close:focus-visible { box-shadow: 0 0 0 2px #050601; outline: 3px solid #fff; outline-offset: 2px; }
body.botmer-modal-open { overflow: hidden; }

@media (max-width: 1199.98px) {
  .botmer-testimonials__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 809.98px) {
  .botmer-testimonials { gap: 40px; }
  .botmer-testimonials__heading { gap: 22px; }
  .botmer-testimonials__title { font-size: clamp(36px, 11vw, 48px); }
  .botmer-testimonials__track {
    grid-template-columns: 1fr;
  }
  .botmer-testimonial { min-height: 310px; padding: 18px; }
  .botmer-testimonial__person { gap: 10px; grid-template-columns: 52px minmax(0, 1fr) auto; }
  .botmer-testimonial__portrait-frame { height: 52px; width: 52px; }
  .botmer-testimonial__review { font-size: 15px; }
  .botmer-video-modal { padding: 14px; }
  .botmer-video-modal__dialog { max-height: calc(100vh - 28px); }
  .botmer-video-modal__frame { max-height: calc(100vh - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  .botmer-testimonial__play,
  .botmer-video-modal { transition: none; }
}
