/* ============================================================
   VIDEO TESTIMONIALS PAGE — Page-specific CSS
   Premium editorial. Matches global design system.
   ============================================================ */

/* --- PAGE HERO --- */
.vt-hero {
  padding: clamp(140px, 14vw, 180px) 0 clamp(32px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.vt-hero-label {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}

.vt-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 24px;
}

.vt-hero-heading em {
  font-style: normal;
  color: var(--accent);
}

.vt-hero-subtext {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- DIVIDER --- */
.vt-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 32px;
  opacity: 0.6;
}

/* --- GALLERY SECTION --- */
.vt-gallery {
  padding: clamp(8px, 1.5vw, 20px) 0 clamp(80px, 10vw, 140px);
}

/* --- CATEGORY LABEL --- */
.vt-category-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}

/* --- GRID --- */
.vt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

@media (max-width: 1024px) {
  .vt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vt-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- VIDEO CARD --- */
.vt-card {
  position: relative;
  background: #111111;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), box-shadow 0.32s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.vt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,168,83,0.18);
}

.vt-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- THUMBNAIL --- */
.vt-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
}

.vt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when no thumbnail image is available */
.vt-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}

.vt-placeholder-initials {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 200;
  letter-spacing: 0.25em;
  color: rgba(212,168,83,0.35);
  user-select: none;
}

.vt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
  filter: brightness(1.0) saturate(1.0);
}

.vt-card:hover .vt-thumb img {
  transform: scale(1.04);
  filter: brightness(0.88) saturate(0.9);
}

/* --- OVERLAY GRADIENT --- */
.vt-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.08) 35%,
    transparent 60%
  );
  transition: opacity 0.3s ease;
}

.vt-card:hover .vt-thumb-overlay {
  opacity: 0.9;
}

/* --- PLAY BUTTON --- */
.vt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212,168,83,0.18);
  border: 1.5px solid rgba(212,168,83,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1),
              background 0.28s ease,
              border-color 0.28s ease;
  backdrop-filter: blur(8px);
}

.vt-card:hover .vt-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(212,168,83,0.28);
  border-color: var(--accent);
}

.vt-play-icon {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent var(--accent);
  margin-left: 3px;
}

/* --- CARD BODY --- */
.vt-card-body {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.vt-card-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 5px;
  line-height: 1.3;
}

.vt-card-title {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* --- FEATURED CARD (first in grid - full width) --- */
.vt-card--featured {
  grid-column: 1 / -1;
  margin-bottom: clamp(8px, 1.5vw, 20px);
}

@media (max-width: 600px) {
  .vt-card--featured {
    grid-column: 1;
  }
}

.vt-card--featured .vt-play {
  width: 72px;
  height: 72px;
}

.vt-card--featured .vt-play-icon {
  border-width: 10px 0 10px 20px;
}

.vt-card--featured .vt-card-name {
  font-size: 16px;
}

.vt-card--featured .vt-card-title {
  font-size: 13px;
}

/* --- VIDEO MODAL (native video variant) --- */
.vt-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.vt-video-modal.open {
  opacity: 1;
  pointer-events: all;
}

.vt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(12px);
}

.vt-modal-inner {
  position: relative;
  width: min(90vw, 1100px);
  z-index: 1;
}

.vt-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s ease;
}

.vt-modal-close:hover {
  color: var(--white);
}

.vt-modal-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.vt-modal-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
}

.vt-modal-meta {
  margin-top: 16px;
  padding: 0 4px;
}

.vt-modal-name {
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.vt-modal-title {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* --- SCROLL REVEAL --- */
.vt-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.vt-reveal-delay-1 { transition-delay: 0.08s; }
.vt-reveal-delay-2 { transition-delay: 0.16s; }
.vt-reveal-delay-3 { transition-delay: 0.24s; }

/* Safety fallback */
.vt-reveal.always-visible {
  opacity: 1;
  transform: none;
}

/* --- COUNT BAR --- */
.vt-count-bar {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.vt-count-bar-inner {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.vt-count-bar-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.vt-count-text {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* --- CTA SECTION --- */
.vt-cta-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: #111111;
  text-align: center;
  border-top: 1px solid rgba(212,168,83,0.15);
  position: relative;
  overflow: hidden;
}
.vt-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212,168,83,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.vt-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}
.vt-cta-label {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.vt-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.vt-cta-heading em {
  font-style: normal;
  color: var(--accent);
}
.vt-cta-body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 40px;
}
.vt-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #000000;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 48px;
  border-radius: 4px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(212,168,83,0.25);
}
.vt-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,168,83,0.35);
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  .vt-card,
  .vt-thumb img,
  .vt-play,
  .vt-reveal,
  .vt-video-modal {
    transition: none !important;
    animation: none !important;
  }
  .vt-reveal {
    opacity: 1;
    transform: none;
  }
}
