/* Video testimonials: shared styles for the $2,500 page, audit page,
   audit thank-you page, and testimonials page. */

.vt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.vt-card { background: var(--white); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 6px 24px rgba(28,27,26,0.10); display: flex; flex-direction: column; }
.section-dark .vt-card { box-shadow: none; }

.vt-media { position: relative; aspect-ratio: 9 / 16; background: var(--dark); cursor: pointer; }
.vt-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--dark); }
.vt-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--orange); box-shadow: 0 6px 20px rgba(0,0,0,0.35); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.15s ease; }
.vt-play:hover { transform: scale(1.06); }
.vt-play svg { width: 26px; height: 26px; margin-left: 4px; }
.vt-length { position: absolute; top: 0.75rem; right: 0.75rem; background: rgba(28,27,26,0.8); color: var(--white); font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 999px; }
.vt-media.is-playing .vt-play, .vt-media.is-playing .vt-length { display: none; }

.vt-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.vt-card .vt-quote { font-family: var(--font-head); font-weight: 700; color: var(--dark); font-size: 1.1rem; line-height: 1.35; margin: 0; }
.vt-card .vt-name { font-family: var(--font-body); font-weight: 600; color: var(--dark); font-size: 0.95rem; margin: auto 0 0; }
.vt-card .vt-role { display: block; font-weight: 400; color: var(--gray); font-size: 0.85rem; margin-top: 0.1rem; }

/* Single featured video beside text (audit page, audit thank-you page) */
.vt-feature { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: center; }
.vt-feature .vt-media { border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 10px 34px rgba(28,27,26,0.18); }
.vt-feature-quote { font-family: var(--font-head); font-weight: 700; color: var(--dark); font-size: 1.9rem; line-height: 1.25; margin: 0 0 1rem; }
.section-dark .vt-feature-quote { color: var(--white); }
.vt-feature-name { font-family: var(--font-body); font-weight: 600; color: var(--dark); margin: 0 0 1.5rem; }
.section-dark .vt-feature-name { color: var(--white); }
.vt-feature-name span { display: block; font-weight: 400; color: var(--gray); font-size: 0.9rem; margin-top: 0.15rem; }
.section-dark .vt-feature-name span { color: #B9B1A7; }

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

@media (max-width: 640px) {
  /* Swipeable row on phones so three videos don't stretch the page */
  .vt-grid.vt-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.9rem; margin: 1.5rem -1.25rem 0; padding: 0 1.25rem 0.5rem; scroll-padding-inline: 1.25rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .vt-grid.vt-row::-webkit-scrollbar { display: none; }
  .vt-grid.vt-row .vt-card { flex: 0 0 72%; scroll-snap-align: start; }
  .vt-swipe { display: block; }
  .vt-grid:not(.vt-row) { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .vt-grid:not(.vt-row) .vt-body { padding: 0.8rem 0.8rem 1rem; }
  .vt-grid:not(.vt-row) .vt-card .vt-quote { font-size: 0.95rem; }
  .vt-grid:not(.vt-row) .vt-play { width: 54px; height: 54px; }
  .vt-card .vt-quote { font-size: 1rem; }
  .vt-feature { grid-template-columns: 1fr; gap: 1.25rem; }
  .vt-feature .vt-media { max-width: 260px; margin: 0 auto; width: 100%; }
  .vt-feature-quote { font-size: 1.4rem; text-align: center; }
  .vt-feature-name { text-align: center; }
  .vt-feature .btn { display: block; text-align: center; }
}
.vt-swipe { display: none; font-family: var(--font-body); font-size: 0.85rem; color: var(--gray); margin-top: 0.75rem; }
.section-dark .vt-swipe { color: #B9B1A7; }
@media (max-width: 640px) { .vt-swipe { display: block; } }
