@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;400&family=Inter:wght@300;400;500&display=swap');

.saam-video-showcase {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 145px 40px 115px;
  background-image: var(--saam-vs-bg, none);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.saam-video-showcase__heading {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(25px);
  animation: saamVideoFadeUp 500ms ease-out forwards;
}

.saam-video-showcase__heading img {
  display: block;
  width: auto;
  max-width: 150px;
  height: 55px;
  object-fit: contain;
}

.saam-video-showcase__heading h2 {
  margin: 0;
  color: #c89a58;
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  white-space: nowrap;
}

@keyframes saamVideoFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.saam-video-showcase__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.saam-video-showcase__card:nth-child(1),
.saam-video-showcase__card:nth-child(3) { margin-top: 35px; }
.saam-video-showcase__card:nth-child(2),
.saam-video-showcase__card:nth-child(4) { margin-top: 0; }

.saam-video-showcase__video-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  line-height: 0;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(0,0,0,.14);
}

.saam-video-showcase__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  pointer-events: none;
}

.saam-video-showcase__sound {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 14px;
  color: #fff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 50px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background .25s ease, transform .25s ease;
}

.saam-video-showcase__sound:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.saam-video-showcase__sound svg { width:17px; height:17px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.saam-video-showcase__sound .saam-icon--on { display:none; }
.saam-video-showcase__sound.is-unmuted .saam-icon--on { display:block; }
.saam-video-showcase__sound.is-unmuted .saam-icon--off { display:none; }

@media (max-width: 1024px) {
  .saam-video-showcase { padding: 120px 22px 100px; }
  .saam-video-showcase__heading { margin-bottom:55px; }
  .saam-video-showcase__grid { gap:12px; }
  .saam-video-showcase__sound { right:8px; bottom:8px; gap:4px; min-height:30px; padding:6px 9px; font-size:10px; }
  .saam-video-showcase__sound svg { width:13px; height:13px; }
}

@media (max-width: 767px) {
  .saam-video-showcase { padding: 95px 8px 75px; background-position:center top; }
  .saam-video-showcase__heading { gap:10px; margin-bottom:45px; }
  .saam-video-showcase__heading img { max-width:75px; height:34px; }
  .saam-video-showcase__heading h2 { font-size:clamp(18px, 5.5vw, 24px); }
  .saam-video-showcase__grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; }
  .saam-video-showcase__card:nth-child(1), .saam-video-showcase__card:nth-child(3) { margin-top:35px; }
  .saam-video-showcase__video-wrap, .saam-video-showcase__video { border-radius:5px; }
  .saam-video-showcase__sound { right:4px; bottom:4px; gap:0; min-width:23px; min-height:23px; padding:5px; border-radius:50%; }
  .saam-video-showcase__sound svg { width:11px; height:11px; }
  .saam-video-showcase__sound span { display:none; }
  .saam-video-showcase__sound:hover { transform:none; }
}

@media (max-width: 420px) {
  .saam-video-showcase { padding-top:85px; }
  .saam-video-showcase__heading { gap:8px; margin-bottom:38px; }
  .saam-video-showcase__heading img { max-width:68px; height:30px; }
  .saam-video-showcase__heading h2 { font-size:18px; }
}

@media (prefers-reduced-motion: reduce) {
  .saam-video-showcase__heading { opacity:1; transform:none; animation:none; }
}
