/* A dedicated, full-size company video section with a client-outcome message. */
.home-video-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2.75rem, 8vw, 9rem);
  overflow: hidden;
  margin: clamp(3.5rem, 8vw, 8rem) 3vw;
  padding: clamp(3.2rem, 7vw, 7rem);
  border: 1px solid #d3e8fc;
  border-radius: 30px;
  background: radial-gradient(circle at 4% 18%, rgba(43, 141, 255, .16), transparent 20rem), linear-gradient(135deg, #f9fcff, #e8f5ff);
}

.home-video-section::before {
  position: absolute;
  inset: 0;
  opacity: .54;
  background-image: linear-gradient(rgba(18, 108, 240, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 108, 240, .055) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(105deg, #000, transparent 75%);
  content: "";
}

.home-video-section__copy { position: relative; z-index: 1; }
.home-video-section .section-label { display: flex; align-items: center; gap: .75rem; color: #126cf0; font: 800 .68rem "DM Mono", monospace; letter-spacing: .14em; }
.home-video-section .section-label::after { display: block; width: 4.1rem; height: 2px; background: currentColor; content: ""; }
.home-video-section h2 { max-width: 9.5ch; margin: 1.1rem 0 0; color: #0a1935; font-size: clamp(3rem, 5.6vw, 6.1rem); line-height: .9; letter-spacing: -.09em; }
.home-video-section h2 em { color: #126cf0; font-family: Manrope, Arial, sans-serif; font-style: normal; }
.home-video-section p { max-width: 35rem; margin: 1.45rem 0 0; color: #56738f; font-size: 1rem; line-height: 1.78; }
.home-video-section__outcomes { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 1.8rem; }
.home-video-section__outcomes span { display: inline-flex; align-items: center; gap: .45rem; padding: .56rem .7rem; border: 1px solid #cbe4fa; border-radius: 999px; background: rgba(255,255,255,.78); color: #315b88; font-size: .72rem; font-weight: 800; }
.home-video-section__outcomes i { color: #126cf0; font-style: normal; }

.home-video-frame { position: relative; z-index: 1; aspect-ratio: 16 / 10; min-height: 25rem; overflow: hidden; border: 1px solid rgba(114, 191, 255, .58); border-radius: 23px; background: #071d47; box-shadow: 0 24px 48px rgba(11, 71, 150, .22), inset 0 1px 0 rgba(255,255,255,.17); }
.home-video-frame::before { position: absolute; top: 0; right: 0; left: 0; z-index: 2; height: 3px; background: linear-gradient(90deg, #63b8ff, #ffe36b, #63e0ae); content: ""; pointer-events: none; }
.home-video-frame__top { position: absolute; z-index: 3; top: 1rem; right: 1rem; left: 1rem; display: flex; justify-content: space-between; gap: 1rem; color: #d9efff; font: 800 .57rem "DM Mono", monospace; letter-spacing: .1em; pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.home-video-frame__top i { color: #ffe36b; font-style: normal; }
.home-video-frame video { display: block; width: 100%; height: 100%; background: #071d47; object-fit: contain; }

@media (max-width: 900px) { .home-video-section { grid-template-columns: 1fr; }.home-video-frame { width: min(100%, 42rem); min-height: 0; } }
@media (max-width: 700px) { .home-video-section { margin: 2.5rem 1rem; padding: 3.2rem 1.3rem; border-radius: 22px; }.home-video-section h2 { font-size: clamp(3rem, 13.5vw, 4.8rem); }.home-video-section p { font-size: .94rem; }.home-video-frame { aspect-ratio: 1 / 1; border-radius: 18px; }.home-video-section__outcomes { margin-bottom: 1.5rem; } }

/* Prominent placement beneath the trusted brands strip. */
.home-video-section--featured {
  grid-template-columns: 1fr;
  gap: 2.3rem;
}

.home-video-section--featured .home-video-section__copy {
  max-width: 62rem;
}

.home-video-section--featured h2 {
  max-width: 13ch;
}

.home-video-section--featured .home-video-frame {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.home-video-section--featured .home-video-frame video {
  object-fit: cover;
}

.home-video-section--featured .home-video-frame__top {
  display: none;
}

@media (max-width: 700px) {
  .home-video-section--featured .home-video-frame {
    aspect-ratio: 16 / 10;
  }
}
