/* ===================================================
   Testimonials Video Page — PanhandleSites
   =================================================== */

/* ---- Hero ---- */
.vt-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.vt-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(0, 102, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(77, 201, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.vt-hero .container { position: relative; z-index: 1; }

.vt-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 16px 0 20px;
  line-height: 1.05;
}

.vt-hero p {
  font-size: 1.15rem;
  color: var(--white-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- Grid ---- */
.vt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ---- Card ---- */
.vt-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.3s;
}

.vt-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.vt-card:hover {
  border-color: var(--border-hover);
}

/* stagger reveal */
.vt-card:nth-child(1) { transition-delay: 0ms; }
.vt-card:nth-child(2) { transition-delay: 80ms; }
.vt-card:nth-child(3) { transition-delay: 160ms; }
.vt-card:nth-child(4) { transition-delay: 240ms; }
.vt-card:nth-child(5) { transition-delay: 320ms; }

/* ---- Video Placeholder (16:9) ---- */
.vt-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  cursor: pointer;
  background: var(--bg-deep);
}

.vt-thumb {
  position: absolute;
  inset: 0;
}

.vt-thumb-bg {
  position: absolute;
  inset: 0;
  /* Cinematic gradient placeholder for video thumbnail */
  background: linear-gradient(135deg, #0d1f3c 0%, #060e1a 50%, #0a1528 100%);
}

.vt-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(6, 12, 26, 0.45);
  transition: background 0.3s var(--ease);
}

.vt-video-wrap:hover .vt-thumb-overlay {
  background: rgba(0, 102, 255, 0.2);
}

.vt-play-btn {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 20px rgba(77, 201, 255, 0.4));
  transition: transform 0.3s var(--ease);
}

.vt-video-wrap:hover .vt-play-btn {
  transform: scale(1.1);
}

.vt-play-btn svg {
  width: 100%;
  height: 100%;
}

.vt-play-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: color 0.3s;
}

.vt-video-wrap:hover .vt-play-label {
  color: var(--cyan);
}

/* ---- Card Info ---- */
.vt-info {
  padding: 24px 28px 28px;
}

.vt-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.vt-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  -webkit-text-stroke: 0.5px #000;
}

.vt-business {
  font-size: 0.95rem;
  color: var(--cyan);
  font-weight: 500;
}

.vt-city {
  font-size: 0.85rem;
  color: var(--white-dim);
}

.vt-tagline {
  font-size: 1rem;
  color: var(--white-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 18px;
  padding-left: 16px;
  border-left: 2px solid var(--blue);
}

.vt-takeaways {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vt-takeaways li {
  font-size: 0.9rem;
  color: var(--white-soft);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.vt-takeaways li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan-dim);
}

/* ---- Modal ---- */
.vt-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.vt-modal.open {
  display: flex;
}

.vt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.vt-modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 480px;
  width: calc(100% - 40px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: vt-modal-in 0.35s var(--ease);
  box-shadow: 0 0 80px rgba(0, 102, 255, 0.15), 0 40px 80px rgba(0, 0, 0, 0.4);
}

@keyframes vt-modal-in {
  from { opacity: 0; transform: scale(0.9) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.vt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 4px;
  border-radius: 50%;
  transition: background 0.2s;
}

.vt-modal-close:hover { background: rgba(255,255,255,0.08); }

.vt-modal-icon { margin-bottom: 4px; }

.vt-modal-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  -webkit-text-stroke: 0.5px #000;
}

.vt-modal-body {
  color: var(--white-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .vt-grid { grid-template-columns: 1fr; }
  .vt-card:nth-child(2),
  .vt-card:nth-child(4) { transition-delay: 0ms; }
}

@media (max-width: 480px) {
  .vt-info { padding: 20px 20px 24px; }
  .vt-modal-content { padding: 36px 28px; }
  .vt-hero { padding: 80px 0 60px; }
}