/* ─── VR SOLUTIONS PAGE ──────────────────────────────
   Video-forward layout per client brief: full-bleed hero
   video, then four alternating left/right feature blocks
   (video one side, heading + sub-line + paragraph + CTA
   the other), a device-compatibility logo row, and a
   closing CTA band. Modelled on the 3DVista home pattern.
   Layout via Bootstrap .container; brand styling here.  */

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.vr-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.vr-hero__bg { position: absolute; inset: 0; z-index: 0; }
.vr-hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.vr-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(8,12,20,.78) 0%, rgba(8,12,20,.32) 55%, rgba(8,12,20,.52) 100%),
    linear-gradient(135deg, rgba(11,30,78,.35) 0%, rgba(22,56,131,.15) 100%);
}
.vr-hero__inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding-block: 60px;
}
.vr-hero__inner h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.vr-hero__inner > p {
  color: rgba(255,255,255,.75);
  font-size: var(--tx-lg);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}
.vr-hero .btn-row { justify-content: center; }

/* ── Reduced-motion play-button fallback, shared by every
     autoplaying video on the page ─────────────────────── */
.vr-auto-video__play {
  position: absolute; top: 50%; left: 50%;
  z-index: 3;
  display: none; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(5,16,37,.78);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background .2s, transform .2s;
}
.vr-auto-video__play:not([hidden]) { display: flex; }
.vr-auto-video__play:hover { background: var(--c-accent); transform: translate(-50%, -50%) scale(1.05); }

/* ══════════════════════════════════════════════════
   FEATURE BLOCKS — alternating left/right
══════════════════════════════════════════════════ */
.vr-feature { padding-block: var(--sp); background: var(--c-white); }
.vr-feature--alt { background: #f3f5fb; }

.vr-feature__wrap {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.vr-feature--reverse .vr-feature__wrap { direction: rtl; }
.vr-feature--reverse .vr-feature__media,
.vr-feature--reverse .vr-feature__content { direction: ltr; }

.vr-feature__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--c-bg-soft);
}
.vr-feature__frame img,
.vr-feature__frame video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Digital Tour hotspot overlay */
.vr-feature__hotspot {
  position: absolute;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
  animation: vrHotspotPulse 2.4s ease-in-out infinite;
  z-index: 2;
}
@keyframes vrHotspotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.4); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .vr-feature__hotspot { animation: none; }
}

/* Digital Twin capability tags */
.vr-feature__tag {
  position: absolute;
  font-size: var(--tx-xs);
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(22,56,131,.85);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}

/* Walkable Video path indicator */
.vr-feature__path {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent) 0%, rgba(255,255,255,.35) 100%);
}

.vr-feature__content h2 { margin-bottom: 8px; }
.vr-feature__sub {
  font-size: var(--tx-lg);
  font-weight: 600;
  color: var(--c-ink2);
  margin-bottom: 20px;
}
.vr-feature__text {
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════════════
   VR HEADSET COMPATIBILITY — DEVICE STRIP
══════════════════════════════════════════════════ */
.vr-devices { padding-block: var(--sp); background: var(--c-white); }
.vr-devices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.vr-device-group__label {
  font-size: var(--tx-sm);
  font-weight: 700;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.vr-device-list { display: flex; flex-direction: column; gap: 12px; }
.vr-device-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line);
  color: var(--c-faint);
  font-size: var(--tx-sm);
  font-weight: 600;
  filter: grayscale(1);
  transition: color .2s, border-color .2s, filter .2s, background .2s;
}
.vr-device-chip i { font-size: 15px; color: currentColor; }
.vr-device-chip:hover {
  color: var(--c-primary);
  border-color: var(--c-accent);
  background: rgba(22,56,131,.05);
  filter: grayscale(0);
}
.vr-devices__note {
  text-align: center;
  margin-top: 40px;
  color: var(--c-muted);
  font-size: var(--tx-sm);
  font-style: italic;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .vr-feature__wrap { grid-template-columns: 1fr; }
  .vr-feature--reverse .vr-feature__wrap { direction: ltr; }
  .vr-feature__media { order: -1; }
  .vr-devices__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .vr-hero { min-height: 82vh; }
}
@media (max-width: 480px) {
  .vr-hero__inner h1 { letter-spacing: -1px; }
}
