/* Editable, progressively loaded banner video behind the homepage title/form. */
.iae-design .iae-home > .iae-hero {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
}
.iae-design .iae-home > .iae-hero > .iae-hero__inner {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.iae-design .iae-home > .iae-hero > .iae-trust { flex: 0 0 auto; }
.iae-design .iae-hero__image {
  object-fit: cover;
  object-position: center 48%;
  opacity: 1;
}
.iae-hero-motion__video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.iae-design .iae-hero.is-hero-video-ready .iae-hero-motion__video { opacity: 1; }
.iae-design .iae-hero__shade {
  background: linear-gradient(180deg, #0d0b1257 0%, #0d0b1270 38%, #0d0b12c4 76%, #0d0b12 100%), linear-gradient(90deg, #160e2052, transparent 80%);
}
.iae-hero-motion__toggle {
  position: absolute;
  z-index: 3;
  top: 102px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid #c5b3e36b;
  border-radius: 7px;
  background: #17101fe0;
  color: #f4edf9;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}
.iae-hero-motion__toggle[hidden] { display: none; }
.iae-hero-motion__toggle:hover { border-color: #c5b3e3; background: #2a1b3a; }
.iae-hero-motion__toggle:focus-visible { outline: 2px solid #e5d2ff; outline-offset: 4px; }
.iae-hero-motion__toggle svg { flex: none; }
.iae-hero-motion__toggle .iae-hero-motion__play-icon,
.iae-hero-motion__toggle[data-paused="true"] .iae-hero-motion__pause-icon { display: none; }
.iae-hero-motion__toggle[data-paused="true"] .iae-hero-motion__play-icon { display: block; }
@media (max-width: 600px) {
  .iae-design .iae-hero__image, .iae-hero-motion__video { object-position: 56% center; }
  .iae-hero-motion__toggle { top: 86px; right: 16px; min-height: 36px; padding: 8px 10px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .iae-hero-motion__video { transition: none; }
}

/* Preserve the supplied custom-tour portrait without cropping its subjects. */
.ds-service-card[href*="/tours-personalizados/"] > img,
.ds-service--tours-personalizados .ds-feature > img {
  object-fit: contain;
  background: #1b1325;
}
.ds-tour-index > .ds-custom-cta--tour-photo {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 28px;
}
.ds-custom-cta--tour-photo > .ds-custom-cta__tour-photo {
  display: block;
  width: 160px;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
  background: #1b1325;
}
@media (max-width: 900px) {
  .ds-tour-index > .ds-custom-cta--tour-photo { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
  .ds-custom-cta--tour-photo > .ds-custom-cta__tour-photo { width: 112px; height: 140px; }
  .ds-custom-cta--tour-photo > .ds-button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 420px) {
  .ds-tour-index > .ds-custom-cta--tour-photo { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .ds-custom-cta--tour-photo > .ds-custom-cta__tour-photo { width: 88px; height: 110px; }
}
