/* Keep the native layer mounted while its captions animate. */
#layerslider_1[data-current-slide="2"] .ls-in-out:has(> .dfc-dev-layer) {
  display: block !important;
  opacity: 1 !important;
}

#layerslider_1 .dfc-pc-gamer {
  display: flex !important;
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: none;
}

#top #layerslider_1 .dfc-pc-gamer > span {
  flex: none;
  padding: .27em .68em;
  background: #fff;
  color: #171717;
  font: 600 clamp(9.5px, 1.3vw, 17px)/1.2 "Open Sans", Arial, sans-serif;
  white-space: nowrap;
}

#layerslider_1 .dfc-dev-layer {
  display: flex !important;
  align-items: center;
  box-sizing: border-box;
  container-type: inline-size;
  pointer-events: none;
}

#layerslider_1 .dfc-dev-caption {
  width: 38%;
  margin-inline-start: 4.6%;
  color: #f7f6f4;
  font-family: "Open Sans", Arial, sans-serif;
}

#top #layerslider_1 .dfc-dev-title {
  margin: 0;
  background: rgba(11, 10, 10, .81);
  color: inherit;
  font: 400 clamp(10px, 2.22cqw, 25.4px)/1.21 "Open Sans", Arial, sans-serif;
  letter-spacing: normal;
  text-transform: uppercase;
  white-space: normal;
}

#top #layerslider_1 .dfc-dev-title a {
  display: block;
  padding: clamp(5px, 1.18cqw, 13.5px) clamp(6px, 1.34cqw, 15.5px);
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

#top #layerslider_1 .dfc-dev-title a:hover {
  background: rgba(255, 255, 255, .075);
}

#top #layerslider_1 .dfc-dev-title a:focus-visible {
  outline: 2px solid #f4c99f;
  outline-offset: -2px;
}

#top #layerslider_1 .dfc-dev-services {
  box-sizing: border-box;
  width: 65%;
  margin: 0 0 0 auto;
  padding: 0;
  color: inherit;
  font: 400 clamp(9.1px, 1.46cqw, 16.7px)/1.27 "Open Sans", Arial, sans-serif;
  list-style: none;
  text-align: right;
  white-space: normal;
}

#top #layerslider_1 .dfc-dev-services > li {
  margin: 0;
  padding: clamp(2px, .67cqw, 7.8px) clamp(5px, 1.34cqw, 15.5px);
  background: rgba(11, 10, 10, .69);
  border-top: 1px solid rgba(0, 0, 0, .36);
  list-style: none;
}

#layerslider_1 .ls-bg-wrap:has(.dfc-dev-photo) {
  overflow: hidden;
  background: #1e1d21;
}

/* Extend the same photo softly past its edges while retaining the device proportions. */
#layerslider_1 .ls-bg-wrap:has(.dfc-dev-photo)::before {
  position: absolute;
  inset: -18px;
  background: linear-gradient(#19182094, #19182094), url("desarrollo-foto-v4.webp") center / cover;
  filter: blur(18px);
  content: "";
}

#layerslider_1 .dfc-dev-photo {
  /* LayerSlider normally positions its static image with an inline transform. */
  --dfc-photo-x: 0%;
  position: absolute !important;
  top: 50% !important;
  right: 0;
  left: auto !important;
  width: 92% !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  translate: var(--dfc-photo-x) -52%;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 99%, transparent),
    linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect;
}

@media (min-width: 1141px) {
  #layerslider_1 .dfc-dev-caption {
    margin-inline-start: clamp(0px, calc(228px - 12vw), 4.6%);
  }
}

@media (min-width: 1675px) {
  #layerslider_1 .dfc-dev-photo {
    --dfc-photo-x: -50%;
    right: auto;
    left: calc(50% + 42px) !important;
    width: 1540px !important;
  }
}

@media (max-width: 767px) {
  #layerslider_1 .dfc-dev-caption {
    width: 41%;
    margin-inline-start: 3%;
  }

  #top #layerslider_1 .dfc-dev-title {
    font-size: clamp(9.4px, 2.47cqw, 19px);
  }

  #top #layerslider_1 .dfc-dev-services { width: 86%; }
}

@media (max-width: 360px) {
  #top #layerslider_1 .dfc-dev-title a { padding-block: 4px; }
  #top #layerslider_1 .dfc-dev-services { width: 91%; line-height: 1.2; }
  #top #layerslider_1 .dfc-dev-services > li { padding: 2px 4px; }
}

@media (prefers-reduced-motion: no-preference) {
  #layerslider_1[data-current-slide="2"] .dfc-dev-photo {
    animation: dfc-dev-photo-in 1.2s cubic-bezier(.24, .64, .36, 1) both;
  }

  #layerslider_1[data-current-slide="2"] :is(.dfc-dev-title, .dfc-dev-services > li) {
    animation: dfc-dev-row-in 720ms cubic-bezier(.22, .65, .36, 1) both;
    animation-delay: calc(190ms + var(--dfc-dev-row, 0) * 165ms);
  }

  #layerslider_1 .dfc-dev-services > li:nth-child(1) { --dfc-dev-row: 1; }
  #layerslider_1 .dfc-dev-services > li:nth-child(2) { --dfc-dev-row: 2; }
  #layerslider_1 .dfc-dev-services > li:nth-child(3) { --dfc-dev-row: 3; }
  #layerslider_1 .dfc-dev-services > li:nth-child(4) { --dfc-dev-row: 4; }
  #layerslider_1 .dfc-dev-services > li:nth-child(5) { --dfc-dev-row: 5; }
  #layerslider_1[data-current-slide="2"] .dfc-dev-title:focus-within { animation: none; }
}

@keyframes dfc-dev-photo-in {
  from { translate: calc(var(--dfc-photo-x) + clamp(8px, 1.7vw, 26px)) -52%; }
  to { translate: var(--dfc-photo-x) -52%; }
}

@keyframes dfc-dev-row-in {
  from { opacity: 0; translate: 0 clamp(9px, 1.4vw, 20px); }
  to { opacity: 1; translate: 0 0; }
}
