.taller-movimiento {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2.2rem) 1.25rem .8rem;
  overflow: hidden;
}

.taller-movimiento-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.taller-movimiento-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 0 clamp(1.4rem, 2.8vw, 2.35rem);
}

.taller-movimiento .eyebrow {
  margin: 0 0 .65rem;
  color: #147f94;
}

.taller-movimiento h2 {
  max-width: 11ch;
  margin: 0;
  color: #0b2a3d;
  font-size: clamp(2.45rem, 5vw, 5.5rem);
  line-height: .88;
  letter-spacing: -.075em;
}

.taller-movimiento h2 em {
  color: #21bad7;
  font-style: normal;
}

.taller-movimiento-heading > p {
  max-width: 32rem;
  margin: 0 0 .35rem;
  color: #4a6670;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  line-height: 1.55;
}

.taller-movimiento-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.55rem, 1.1vw, 1rem);
}

.taller-movimiento figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 59, 69, .13);
  border-radius: 1rem;
  background: #f7fbfb;
  box-shadow: 0 .8rem 2rem rgba(6, 39, 49, .08);
}

.taller-movimiento figure:first-child {
  border-color: rgba(20, 180, 209, .44);
}

.taller-movimiento img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: #e8eeee;
  transition: transform .6s cubic-bezier(.2,.75,.25,1);
}

.taller-movimiento figure:hover img {
  transform: none;
}

.taller-movimiento figcaption {
  display: flex;
  align-items: baseline;
  gap: .42rem;
  min-height: 3.25rem;
  padding: .75rem .8rem .85rem;
  color: #143341;
  font-size: clamp(.66rem, .8vw, .78rem);
  font-weight: 700;
  line-height: 1.22;
}

.taller-movimiento figcaption span {
  flex: 0 0 auto;
  color: #20b9d4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .65rem;
  letter-spacing: .05em;
}

@media (max-width: 720px) {
  .taller-movimiento {
    padding: 1.7rem 0 .65rem;
  }

  .taller-movimiento-inner {
    padding: 1.5rem 1rem 0;
  }

  .taller-movimiento-heading {
    display: block;
    margin-bottom: 1.4rem;
  }

  .taller-movimiento h2 {
    font-size: clamp(2.75rem, 14vw, 4.35rem);
  }

  .taller-movimiento-heading > p {
    margin-top: 1rem;
  }

  .taller-movimiento-rail {
    width: auto;
    margin: 0 -1rem;
    padding: 0 1rem .8rem;
    grid-auto-columns: minmax(15rem, 72vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .taller-movimiento figure {
    scroll-snap-align: start;
  }

}

#taller-movimiento + .services.section {
  padding-top: clamp(1.85rem, 3vw, 2.8rem) !important;
}

@media (prefers-reduced-motion: reduce) {
  .taller-movimiento img { transition: none; }
}
