:where(
  a[href],
  button,
  [role="button"],
  label[for],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="checkbox"],
  input[type="radio"],
  select,
  summary
) {
  cursor: pointer;
}

:where(
  button:disabled,
  input:disabled,
  select:disabled,
  [aria-disabled="true"]
) {
  cursor: not-allowed;
}

header img {
  width: 157px;
  height: 71px;
  max-width: none;
}

footer img {
  width: 217px;
  height: 98px;
  max-width: none;
}

.videre-photo-rail {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 180, 255, 0.12), transparent 48%),
    oklch(0.06 0.02 260);
}

.videre-photo-rail__intro {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto 28px;
}

.videre-photo-rail__eyebrow {
  margin: 0 0 10px;
  color: oklch(0.76 0.16 228);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.videre-photo-rail__title {
  margin: 0;
  color: white;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.videre-photo-rail__copy {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.65;
}

.videre-photo-rail__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.videre-photo-rail__track {
  display: flex;
  width: max-content;
  animation: videre-photo-scroll 42s linear infinite;
}

.videre-photo-rail__viewport:hover .videre-photo-rail__track {
  animation-play-state: paused;
}

.videre-photo-rail__group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.videre-photo-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(240px, 27vw, 340px);
  height: clamp(160px, 18vw, 220px);
  overflow: hidden;
  border: 1px solid rgba(91, 194, 255, 0.18);
  border-radius: 18px;
  background: #06101d;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.videre-photo-card:first-child {
  margin-left: 24px;
}

.videre-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 600ms ease, filter 600ms ease;
}

.videre-photo-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(1, 7, 15, 0.88));
  pointer-events: none;
}

.videre-photo-card figcaption {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 14px;
  left: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.videre-photo-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.05);
}

#agendar.videre-photo-cta {
  background-color: #030913;
  background-image:
    linear-gradient(90deg, rgba(2, 7, 15, 0.97) 0%, rgba(2, 9, 20, 0.84) 48%, rgba(2, 10, 22, 0.62) 100%),
    linear-gradient(0deg, rgba(1, 5, 12, 0.84) 0%, transparent 60%),
    url("/assets/photos/equipo-videre.jpg");
  background-position: center, center, center 72px;
  background-repeat: no-repeat;
  background-size: cover;
}

#agendar.videre-photo-cta > [aria-hidden="true"]:first-child {
  opacity: 0.62;
}

@keyframes videre-photo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .videre-photo-rail {
    padding: 44px 0 52px;
  }

  .videre-photo-rail__intro {
    width: calc(100% - 48px);
    margin-bottom: 22px;
  }

  .videre-photo-card {
    width: 260px;
    height: 174px;
  }

  #agendar.videre-photo-cta {
    background-image:
      linear-gradient(90deg, rgba(2, 7, 15, 0.92), rgba(2, 9, 20, 0.72)),
      linear-gradient(0deg, rgba(1, 5, 12, 0.88) 0%, transparent 70%),
      url("/assets/photos/equipo-videre.jpg");
    background-position: center, center, 46% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .videre-photo-rail__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .videre-photo-rail__track {
    animation: none;
  }

  .videre-photo-rail__group[aria-hidden="true"] {
    display: none;
  }
}
