/* Videos viajeros — testimonios en video */

.page-videos-viajeros {
  background:
    radial-gradient(circle at 10% 0%, rgba(24, 119, 242, 0.12), transparent 35%),
    linear-gradient(180deg, #f4f8fb 0%, #eef2f6 100%);
  min-height: 100vh;
}

.c-videos-page {
  padding: 28px 0 72px;
}

.c-videos-page__hero {
  margin-bottom: 28px;
  text-align: left;
  max-width: 72ch;
}

.c-videos-page__eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1877f2;
}

.c-videos-page__hero h1 {
  margin: 0 0 10px;
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: #0f2744;
  line-height: 1.15;
}

.c-videos-page__hero p {
  margin: 0;
  color: #4b6074;
  font-size: 1.02rem;
  line-height: 1.5;
}

.c-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.c-video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.08);
  box-shadow: 0 14px 34px rgba(15, 39, 68, 0.08);
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.c-video-card:hover,
.c-video-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 39, 68, 0.14);
  outline: none;
}

.c-video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.c-video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.c-video-card--facebook .c-video-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 23, 0.05) 35%, rgba(2, 8, 23, 0.42) 100%);
  pointer-events: none;
}

.c-video-card__media--fb {
  display: grid;
  place-items: center;
  place-content: center;
  gap: 10px;
  background:
    linear-gradient(145deg, #1877f2 0%, #0d65d9 48%, #073b63 100%);
}

.c-video-card__fb-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 1.7rem;
}

.c-video-card__fb-hint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.c-video-card__cta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #1877f2;
  font-size: 0.86rem;
  font-weight: 700;
}

a.c-video-card {
  text-decoration: none;
  color: inherit;
}

.c-video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(2, 8, 23, 0.28);
}

.c-video-card__play span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1877f2;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.4);
}

.c-video-card__body {
  padding: 14px 16px 16px;
  display: grid;
  gap: 6px;
}

.c-video-card__platform {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1877f2;
}

.c-video-card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
  color: #0f2744;
  font-family: "Syne", "Segoe UI", sans-serif;
}

.c-video-card__caption {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #5b6b7c;
}

/* Lightbox */
.c-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.c-video-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.video-lightbox-open {
  overflow: hidden;
}

.c-video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.82);
  backdrop-filter: blur(6px);
}

.c-video-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 96vw);
  max-height: min(92vh, 860px);
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.c-video-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.c-video-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.c-video-lightbox__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.c-video-lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.c-video-lightbox__fb-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 50% 20%, rgba(24, 119, 242, 0.35), transparent 55%),
    #0b1220;
}

.c-video-lightbox__fb-fallback i.fab {
  font-size: 2.4rem;
  color: #1877f2;
}

.c-video-lightbox__fb-fallback strong {
  font-size: 1.15rem;
  font-family: "Syne", "Segoe UI", sans-serif;
}

.c-video-lightbox__fb-fallback span {
  max-width: 36ch;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.45;
}

.c-video-lightbox__fb-fallback .c-button {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.c-video-lightbox__eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #60a5fa;
}

.c-video-lightbox__unavailable {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0b1220;
  overflow: hidden;
}

.c-video-lightbox__unavailable img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.c-video-lightbox__unavailable-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-width: 42ch;
  padding: 20px;
  text-align: center;
  color: #e2e8f0;
}

.c-video-lightbox__unavailable-copy strong {
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: 1.15rem;
}

.c-video-lightbox__unavailable-copy span {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.45;
}

.c-video-lightbox__meta {
  padding: 16px 18px 18px;
  color: #e2e8f0;
  background: #0f172a;
}

.c-video-lightbox__meta h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-family: "Syne", "Segoe UI", sans-serif;
}

.c-video-lightbox__meta p {
  margin: 0 0 12px;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.45;
}

.c-video-lightbox__meta a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
}

.c-video-lightbox__meta a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .c-videos-page {
    padding: 18px 0 56px;
  }

  .c-video-lightbox {
    padding: 0;
  }

  .c-video-lightbox__dialog {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
}
